[uf-discuss] using namespace
Frances Berriman
fberriman at gmail.com
Fri Nov 23 06:29:28 PST 2007
On 23/11/2007, Tatsuya Noyori <nojorin at gmail.com> wrote:
> Hello,
>
> I would like to suggest that microformats use namespace like the
> following example.
>
> <span xmlns="http://www.w3.org/1999/xhtml"
> xmlns:mf="http://microformats.org/2007">
> <span mf:term="tel" mf:scheme="http://microformats.org/2007/hcard.rng">
> <span mf:term="type">home</span>
> <span mf:term="value">+1.415.555.1212</span>
> </span>
> </span>
>
> This example is just using @mf:scheme and @mf:term instead of
> @xhtml:class or @xhtml:rel.
>
> Therefore, this example is human readable and machine readable. And, by using
> namespace and a link to schema(@mf:scheme), This example is able to be
> valid by using validator and
> schema(http://microformats.org/2007/hcard.rnc).
>
> I think microformats need namespace to ensure interoperability.
>
> How do you think about the suggestion?
You might like to take a look at
http://microformats.org/wiki/namespaces for some of the reasons why we
discourage their usage.
--
Frances Berriman
http://fberriman.com
More information about the microformats-discuss
mailing list