W3C home > Mailing lists > Public > www-validator@w3.org > June 2005

Re: [VE][111] Error Message Feedback

From: Felix Miata <mrmazda@ij.net>
Date: Sat, 18 Jun 2005 07:32:03 -0400
Message-ID: <42B40633.5204@ij.net>
To: www-validator@w3.org

David Dorward wrote:
 
> On Sat, Jun 18, 2005 at 07:11:48AM -0400, Felix Miata wrote:
 
> > > The validator didn't say the problem was on line 40 - it said the
> > > error was on line 40, and it was.
 
> > There was nothing I could have changed on line 40 to solve the problem.
 
> So? The validator isn't an artificial intelligence, it can only
> compare a given document to the rules. It can't tell that you forgot a
> " character.
 
> <div style="font: 1.1em/1.2 Arial;><img src=" is perfectly OK under
> HTML DTD rules.  It can only report on where you deviate from the
> rules expressed in the DTD, it can't tell you when you've made a
> mistake which isn't (and couldn't be) expressed in the DTD.

Seems to me it could respond more helpfully when an error is closely
preceded by

	="...><
or
	="...>
	<

I never use < or > except for tags. When I need to display them, I use
&lt; & &gt;. I'm suprised the DTD doesn't prohibit < & > for any use
except tagging.
-- 
"Love does not demand its own way."                1 Corinthians 13:5

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://members.ij.net/mrmazda/
Received on Saturday, 18 June 2005 11:32:25 GMT

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