W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2005

[whatwg] [WA1] XML Namespaces

From: Christian Biesinger <cbiesinger@web.de>
Date: Tue, 19 Jul 2005 13:11:46 +0200
Message-ID: <42DCDFF2.4030506@web.de>
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.bin>
Received on Tuesday, 19 July 2005 04:11:46 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:42 UTC