[html5] r4008 - [] (0) Add some more cases that lead to unserializable DOMs. Fixing http://www.w [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Sep 28 12:50:02 PDT 2009


Author: ianh
Date: 2009-09-28 12:50:01 -0700 (Mon, 28 Sep 2009)
New Revision: 4008

Modified:
   index
   source
Log:
[] (0) Add some more cases that lead to unserializable DOMs.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7488

Modified: index
===================================================================
--- index	2009-09-28 19:34:49 UTC (rev 4007)
+++ index	2009-09-28 19:50:01 UTC (rev 4008)
@@ -71266,7 +71266,8 @@
 
    <li>A <code>DocumentType</code> node that has an external subset
    system identifier that contains both a U+0022 QUOTATION MARK ('"')
-   and a U+0027 APOSTROPHE ("'").</li>
+   and a U+0027 APOSTROPHE ("'") or that contains characters that are
+   not matched by the XML <code title="">Char</code> production. <a href=#refsXML>[XML]</a></li>
 
    <li>A node with a <!--prefix or--> local name containing a U+003A
    COLON (":").</li> <!--(prefixes can get adjusted, so this isn't an
@@ -71276,6 +71277,12 @@
    the XML <code title="">Name</code> production. <a href=#refsXML>[XML]</a></li> <!--(again, prefixes can get
    adjusted, so this isn't an excuse) -->
 
+   <li>An <code>Attr</code> node with no namespace whose local name is
+   the lowercase string "<code title="">xmlns</code>". <a href=#refsXMLNS>[XMLNS]</a></li>
+
+   <li>An <code>Element</code> node with two or more attributes with
+   the same local name and namespace.</li>
+
    <li>An <code>Attr</code> node, <code>Text</code> node,
    <code>CDATASection</code> node, <code>Comment</code> node, or
    <code>ProcessingInstruction</code> node whose data contains

Modified: source
===================================================================
--- source	2009-09-28 19:34:49 UTC (rev 4007)
+++ source	2009-09-28 19:50:01 UTC (rev 4008)
@@ -84653,7 +84653,9 @@
 
    <li>A <code>DocumentType</code> node that has an external subset
    system identifier that contains both a U+0022 QUOTATION MARK ('"')
-   and a U+0027 APOSTROPHE ("'").</li>
+   and a U+0027 APOSTROPHE ("'") or that contains characters that are
+   not matched by the XML <code title="">Char</code> production. <a
+   href="#refsXML">[XML]</a></li>
 
    <li>A node with a <!--prefix or--> local name containing a U+003A
    COLON (":").</li> <!--(prefixes can get adjusted, so this isn't an
@@ -84664,6 +84666,13 @@
    href="#refsXML">[XML]</a></li> <!--(again, prefixes can get
    adjusted, so this isn't an excuse) -->
 
+   <li>An <code>Attr</code> node with no namespace whose local name is
+   the lowercase string "<code title="">xmlns</code>". <a
+   href="#refsXMLNS">[XMLNS]</a></li>
+
+   <li>An <code>Element</code> node with two or more attributes with
+   the same local name and namespace.</li>
+
    <li>An <code>Attr</code> node, <code>Text</code> node,
    <code>CDATASection</code> node, <code>Comment</code> node, or
    <code>ProcessingInstruction</code> node whose data contains




More information about the Commit-Watchers mailing list