W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2010

[Bug 11338] Elliott Sprehn suggests a note here saying something like "In the HTML serialization, namespace prefixes and namespace declarations are non-conforming and are do not have the same effect as in XML. In particular, the colon has no special meaning in HTML

From: <bugzilla@jessica.w3.org>
Date: Thu, 18 Nov 2010 22:17:29 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PJCnJ-0005Zg-6B@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11338

Aryeh Gregor <Simetrical+w3cbug@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Simetrical+w3cbug@gmail.com

--- Comment #2 from Aryeh Gregor <Simetrical+w3cbug@gmail.com> 2010-11-18 22:17:28 UTC ---
Namespace prefixes and namespace declarations don't have the same effect in
text/html as in XML, but they're conforming in some cases, e.g.,

<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml">
<title lang=en xml:lang=en>...</title>

validates as HTML5.  The DOM produced here would of course differ between XML
and text/html (although this particular example doesn't parse at all as XML).

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 18 November 2010 22:17:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 18 November 2010 22:17:46 GMT