W3C home > Mailing lists > Public > www-validator@w3.org > October 2006

Re: Error Message Feedback

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Wed, 4 Oct 2006 21:06:48 +0300 (EEST)
To: David Håsäther <hasather@gmail.com>
cc: Rick Stanley <rstanley@rsiny.com>, www-validator@w3.org
Message-ID: <Pine.GSO.4.64.0610042104440.8671@mustatilhi.cs.tut.fi>
On Wed, 4 Oct 2006, David Håsäther wrote:

>>> character "<" is the first character of a delimiter but occurred as data.
>>>  <meta name="revised" content="Time-stamp: <2006-10-03 22:54:38 rick> " />
>> 
>> The warning is misleading. The character "<" is just a data character when 
>> it appears inside an attribute value. There it is not a delimiter of any 
>> kind.
>
> In XML, '<' must be escaped when used in attribute values.

I stand corrected. This was about XML apparently, due to the magic "/" 
before ">", so what the validator _should_ have issued is an _error_ 
message (with a better text). But I'm afraid this is yet another part of 
the story that the validator is really an SGML validator with some quick 
and dirty tricks for kind-of dealing with XML too.y

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Wednesday, 4 October 2006 18:07:03 GMT

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