W3C home > Mailing lists > Public > www-validator@w3.org > March 2003

Re: validator-bug

From: David Bryant <davidbryant@att.net>
Date: Mon, 17 Mar 2003 09:16:44 -0700
Message-ID: <3E75F4EC.1050201@att.net>
To: Aubrey Jaffer <agj@alum.mit.edu>
CC: www-validator@w3.org

Bjoern Hoehrmann wrote:

>* Aubrey Jaffer wrote:
>  
>
>>My reading of HTML-3.2 is that <A NAME="cindex_>">
>>must instead be <A NAME="cindex_&#62;">.
>>    
>>
Maybe this will make it clearer ... the html parser
"sees" the < sign, starts looking for a > sign to go
with it, but then sees a ", so starts looking for
another ", doesn't even notice the next > because
it's in search of a ", finds the ", and then switches
back to looking for a >, which it finds immediately.

The standards here are effectively just syntax rules
to make certain every "valid" string can be
interpreted unambiguously.  dcb

PS Notice, in the paragraph you cited, that neither
< nor > may occur in an attribute value unless the
value is enclosed in quotes. Again, this rule is
intended to make the html unambiguous.
Received on Monday, 17 March 2003 11:19:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:06 GMT