[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

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 UTC