[whatwg] [WA1] XML Namespaces

Christian Biesinger cbiesinger at web.de
Tue Jul 19 04:11:46 PDT 2005

http://whatwg.org/specs/web-apps/current-work/#the-dom says:
"To ease migration from HTML to XHTML, UAs must assign the 
http://www.w3.org/1999/xhtml namespace to elements in that are parsed in 
documents labelled as text/html, at least for the purposes of the DOM 
and CSS."

This does not seem to be what currently happens. Neither Mozilla nor 
Opera (checked in 7.54) do that, document.body.namespaceURI returns null 
for HTML documents. (MSIE does not seem to support that attribute)

If that's not what that paragraph meant, then I think it needs some 
clarification what it did mean with "for the purposes of the DOM".

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4792 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20050719/a59ca303/attachment-0001.bin>

More information about the whatwg mailing list