[html5] r2122 - [ac] (0) Make empty unquoted attribute values not allowed (and some editorial fi [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Aug 29 02:10:38 PDT 2008


Author: ianh
Date: 2008-08-29 02:10:36 -0700 (Fri, 29 Aug 2008)
New Revision: 2122

Modified:
   index
   source
Log:
[ac] (0) Make empty unquoted attribute values not allowed (and some editorial fixes). (credit: sp)

Modified: index
===================================================================
--- index	2008-08-28 22:33:17 UTC (rev 2121)
+++ index	2008-08-29 09:10:36 UTC (rev 2122)
@@ -28,7 +28,7 @@
 
    <h1 id=html-5>HTML 5</h1>
 
-   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 28 August
+   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 29 August
     2008</h2>
 
    <p>You can take part in this work. <a
@@ -472,8 +472,7 @@
           <code>title</code> attribute</a>
 
          <li><a href="#the-lang"><span class=secno>3.3.3.3. </span>The
-          <code>lang</code> and <code>xml:lang</code> (XML only)
-          attributes</a>
+          <code>lang</code> and <code>xml:lang</code> attributes</a>
 
          <li><a href="#the-xmlbase"><span class=secno>3.3.3.4. </span>The
           <code>xml:base</code> attribute (XML only)</a>
@@ -8018,7 +8017,7 @@
 
   <h5 id=the-lang><span class=secno>3.3.3.3. </span>The <dfn id=lang
    title=attr-lang><code>lang</code></dfn> and <dfn id=xmllang
-   title=attr-xml-lang><code>xml:lang</code></dfn> (XML only) attributes</h5>
+   title=attr-xml-lang><code>xml:lang</code></dfn> attributes</h5>
 
   <p>The <code title=attr-lang><a href="#lang">lang</a></code> attribute
    specifies the primary <dfn id=language>language</dfn> for the element's
@@ -45608,11 +45607,11 @@
      character">space characters</a>, followed by the <a href="#attribute4"
      title=syntax-attribute-value>attribute value</a>, which, in addition to
      the requirements given above for attribute values, must not contain any
-     literal <a href="#space" title="space character">space characters</a>, a
-     U+0022 QUOTATION MARK (<code>&#x22;</code>) characters, U+0027
+     literal <a href="#space" title="space character">space characters</a>,
+     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>></code>) characters.</p>
+     (<code>></code>) characters, and must not be the empty string.</p>
 
     <div class=example>
      <p>In the following example, the <code
@@ -47894,8 +47893,8 @@
 
    <dt>U+003E GREATER-THAN SIGN (>)
 
-   <dd>Emit the current tag token. Switch to the <a href="#data-state0">data
-    state</a>.
+   <dd><a href="#parse2">Parse error</a>. Emit the current tag token. Switch
+    to the <a href="#data-state0">data state</a>.
 
    <dt>U+003D EQUALS SIGN (=)
 

Modified: source
===================================================================
--- source	2008-08-28 22:33:17 UTC (rev 2121)
+++ source	2008-08-29 09:10:36 UTC (rev 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>
   attributes</h5>
 
   <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>></code>) characters.</p>
+    GREATER-THAN SIGN (<code>></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 (>)</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"




More information about the Commit-Watchers mailing list