Jonas Sicking wrote:
The problem is that the way HTML parsing works, markup like:

<div xmlns:foo="http://namespace.example.org";>

Does not parse the xmlns:foo attribute into something that "declare
[an] XML Namespace mapping". Specifically, it does not create an
attribute in the "http://www.w3.org/2000/xmlns/"; namespace. Or an
attribute with a "xmlns" prefix and "foo" localName. It creates an
attribute in the null namespace, with a localName that is "xmlns:foo".

So *an* attribute shows up in the DOM. Just not an attribute that
declares a XML Namespace.

Now, we can argue if that is how HTML5 should define parsing. But that
is how it currently defines it. And as far as I can see the HTML+RDFa
spec does not seem to change that.

Andy that's fine. We don't care. RDFa doesn't use namespaces. RDFa uses vocabularies and prefix mappings. As long as an implementation can discover the prefix mappings and transl;ate vocabulary item references into those mappings, we are good. As far as I can tell, that means we are good everywhere.

--
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: sh...@aptest.com



Reply via email to