HTML Standard Tracker

Diff (omit for latest revision)

Short URL:

File a bug

SVNBugCommentTime (UTC)
2122[Authors] [Conformance Checkers] Make empty unquoted attribute values not allowed (and some editorial fixes). (credit: sp)2008-08-29 09:10
Index: source
--- source	(revision 2121)
+++ source	(revision 2122)
@@ -5845,7 +5845,7 @@
   <h5>The <dfn title="attr-lang"><code>lang</code></dfn> and <dfn
-  title="attr-xml-lang"><code>xml:lang</code></dfn> (XML only)
+  title="attr-xml-lang"><code>xml:lang</code></dfn>
   <p>The <code title="attr-lang">lang</code> attribute specifies the
@@ -43031,10 +43031,11 @@
     title="syntax-attribute-value">attribute value</span>, which, in
     addition to the requirements given above for attribute values,
     must not contain any literal <span title="space character">space
-    characters</span>, a U+0022 QUOTATION MARK (<code>&#x22;</code>)
+    characters</span>, any U+0022 QUOTATION MARK (<code>&#x22;</code>)
     characters, U+0027 APOSTROPHE (<code>&#x27;</code>) characters,
     U+003D EQUALS SIGN (<code>=</code>) characters, or U+003E
-    GREATER-THAN SIGN (<code>&gt;</code>) characters.</p>
+    GREATER-THAN SIGN (<code>&gt;</code>) characters, and must not be
+    the empty string.</p>
     <div class="example">
@@ -45225,8 +45226,8 @@
    <dd>Switch to the <span>attribute value (single-quoted) state</span>.</dd>
    <dt>U+003E GREATER-THAN SIGN (&gt;)</dt>
-   <dd>Emit the current tag token. Switch to the <span>data
-   state</span>.</dd>
+   <dd><span>Parse error</span>. Emit the current tag token. Switch to
+   the <span>data state</span>.</dd>
    <dt>U+003D EQUALS SIGN (=)</dt>
    <dd><span>Parse error</span>. Treat it as per the "anything else"