NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 602 - Make '<' in unquoted attribute values non-conforming.
Make '<' in unquoted attribute values non-conforming.
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Nobody
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-14 14:59 CEST by Henri Sivonen
Modified: 2009-11-23 17:17 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2009-07-14 14:59:44 CEST
Index: source
===================================================================
--- source	(revision 3205)
+++ source	(revision 3206)
@@ -72268,9 +72268,10 @@
     must not contain any literal <span title="space character">space
     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, and must not be
-    the empty string.</p>
+    U+003D EQUALS SIGN (<code>=</code>) characters, U+003C LESS-THAN
+    SIGN (<code>&lt;</code>) characters, or U+003E GREATER-THAN SIGN
+    (<code>&gt;</code>) characters, and must not be the empty
+    string.</p>
 
     <div class="example">
 
@@ -74453,6 +74454,7 @@
    <dd><span>Parse error</span>. Emit the current tag token. Switch to
    the <span>data state</span>.</dd>
 
+   <dt>U+003C LESS-THAN SIGN (&lt;)</dt>
    <dt>U+003D EQUALS SIGN (=)</dt>
    <dd><span>Parse error</span>. Treat it as per the "anything else"
    entry below.</dd>
@@ -74462,8 +74464,8 @@
    <span>data state</span>.</dd>
 
    <dt>Anything else</dt>
-   <dd>Append the <span>current input character</span> to the current attribute's
-   value. Switch to the <span>attribute value (unquoted)
+   <dd>Append the <span>current input character</span> to the current
+   attribute's value. Switch to the <span>attribute value (unquoted)
    state</span>.</dd>
 
   </dl>
@@ -74547,6 +74549,7 @@
 
    <dt>U+0022 QUOTATION MARK (&quot;)</dt>
    <dt>U+0027 APOSTROPHE (')</dt>
+   <dt>U+003C LESS-THAN SIGN (&lt;)</dt>
    <dt>U+003D EQUALS SIGN (=)</dt>
    <dd><span>Parse error</span>. Treat it as per the "anything else"
    entry below.</dd>