Allow href='http://example.com/demo?id=hello&copy=1&world=fun' experimentally. (whatwg r3146)

Allow href='http://example.com/demo?id=hello&copy=1&world=fun'
experimentally. (whatwg r3146)

Diffs for this change per section: 
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2302.html#syntax-ambiguous-ampersand
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2302.html#additional-allowed-character
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2302.html#cdata-sections

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2301&r2=1.2302&f=h
http://html5.org/tools/web-apps-tracker?from=3145&to=3146

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2301
retrieving revision 1.2302
diff -u -d -r1.2301 -r1.2302
--- Overview.html 28 May 2009 07:01:45 -0000 1.2301
+++ Overview.html 29 May 2009 00:02:44 -0000 1.2302
@@ -52836,8 +52836,12 @@
   ampersand</dfn> is a U+0026 AMPERSAND (<code>&amp;</code>) character
   that is followed by some <a href="#syntax-text" title="syntax-text">text</a> other
   than a <a href="#space-character">space character</a>, a U+003C LESS-THAN SIGN
-  character ('&lt;'), or another U+0026 AMPERSAND (<code>&amp;</code>)
-  character.<h4 id="cdata-sections"><span class="secno">9.1.5 </span>CDATA sections</h4><p><dfn id="syntax-cdata" title="syntax-cdata">CDATA sections</dfn> must start with
+  character ('&lt;'), another U+0026 AMPERSAND (<code>&amp;</code>)
+  character, or, if the character is in an <a href="#syntax-attribute-value" title="syntax-attribute-value">attribute value</a>, one or more
+  characters in the ranges U+0030 DIGIT ZERO ..  U+0039 DIGIT NINE,
+  U+0041 LATIN CAPITAL LETTER A .. U+005A LATIN CAPITAL LETTER Z, and
+  U+0061 LATIN SMALL LETTER A .. U+007A LATIN SMALL LETTER Z, followed
+  by a U+003D EQUALS SIGN character (=).<h4 id="cdata-sections"><span class="secno">9.1.5 </span>CDATA sections</h4><p><dfn id="syntax-cdata" title="syntax-cdata">CDATA sections</dfn> must start with
   the character sequence U+003C LESS-THAN SIGN, U+0021 EXCLAMATION
   MARK, U+005B LEFT SQUARE BRACKET, U+0043 LATIN CAPITAL LETTER C,
   U+0044 LATIN CAPITAL LETTER D, U+0041 LATIN CAPITAL LETTER A, U+0054
@@ -55182,9 +55186,15 @@
     column of the <a href="#named-character-references">named character references</a> table (in a
     <a href="#case-sensitive">case-sensitive</a> manner).</p>
 
-    <p>If no match can be made, then this is a <a href="#parse-error">parse
-    error</a>. No characters are consumed, and nothing is
-    returned.</p>
+    <p>If no match can be made, then no characters are consumed, and
+    nothing is returned. If the current state is not the
+    <a href="#character-reference-in-attribute-value-state">character reference in attribute value state</a>, or the
+    U+0026 AMPERSAND character is not followed by one or more
+    characters in the ranges U+0030 DIGIT ZERO to U+0039 DIGIT NINE,
+    U+0041 LATIN CAPITAL LETTER A to U+005A LATIN CAPITAL LETTER Z,
+    and U+0061 LATIN SMALL LETTER A to U+007A LATIN SMALL LETTER Z,
+    followed by a U+003D EQUALS SIGN character (=), then this is also
+    a <a href="#parse-error">parse error</a>.</p>
 
     <p>If the last character matched is not a U+003B SEMICOLON (<code title="">;</code>), there is a <a href="#parse-error">parse error</a>.</p>

Received on Friday, 29 May 2009 00:05:04 UTC