Re: Dumb Question

Elias Torres wrote:
> If I have a default xmlns declaration xmlns="http://xhtml" as opposed to
> xmlns:xhtml="http://xhtml", how do we emulate default prefix in RDFa?

RDFa follows the normal XMLNS rules.

> Meaning if I have a property <span rel="foo"> does it resolve to the
> default prefix or to the current page? Is there such a thing as <span
> rel=":foo">

So far, rel="foo" does nothing, because it's not prefixed, and we've
gotten too much pushback on generating spurious triples (though I should
note that this issue is not resolved, IIRC.) So RDFa triggers only on
actively prefixed attribute values.

It sounds like a good idea to have rel=":foo" trigger the default XMLNS.

-Ben

Received on Thursday, 24 May 2007 01:58:04 UTC