HTML Standard Tracker

Filter

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
@@ -5838,21 +5838,21 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
   define additional semantics for the <code
   title="attr-title">title</code> attribute beyond the semantics
   described above.</p>
 
   <p>The <dfn title="dom-title"><code>title</code></dfn> DOM attribute
   must <span>reflect</span> the <code title="attr-title">title</code>
   content attribute.</p>
 
 
   <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>
   attributes</h5>
 
   <p>The <code title="attr-lang">lang</code> attribute specifies the
   primary <dfn>language</dfn> for the element's contents and for any
   of the element's attributes that contain text. Its value must be a
   valid RFC 3066 language code, or the empty string. <a
   href="#refsRFC3066">[RFC3066]</a></p>
 
   <p>The <code title="attr-xml-lang">xml:lang</code> attribute (that
   is, the <code title="">lang</code> attribute with the <code
@@ -43024,24 +43024,25 @@ interface <dfn>MessageChannel</dfn> {
    <dd>
 
     <p>The <span title="syntax-attribute-name">attribute name</span>,
     followed by zero or more <span title="space character">space
     characters</span>, followed by a single U+003D EQUALS SIGN
     character, followed by zero or more <span title="space
     character">space characters</span>, followed by the <span
     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">
 
      <p>In the following example, the <code
      title="attr-input-value">value</code> attribute is given
      with the unquoted attribute value syntax:</p>
 
      <pre>&lt;input <em>value=yes</em>&gt;</pre>
 
     </div>
@@ -45218,22 +45219,22 @@ interface <dfn>MessageChannel</dfn> {
    <dd>Switch to the <span>attribute value (double-quoted) state</span>.</dd>
 
    <dt>U+0026 AMPERSAND (&amp;)</dt>
    <dd>Switch to the <span>attribute value (unquoted) state</span>
    and reconsume this input character.</dd>
 
    <dt>U+0027 APOSTROPHE (')</dt>
    <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"
    entry below.</dd>
 
    <dt>EOF</dt>
    <dd><span>Parse error</span>. Emit the current tag
    token. Reconsume the character in the <span>data
    state</span>.</dd>
 

|