W3C home > Mailing lists > Public > www-validator@w3.org > February 2007

Re: Characters "<" and "&" incorrectly reported as warnings only

From: David Håsäther <hasather@gmail.com>
Date: Sat, 03 Feb 2007 12:37:22 +0100
Message-ID: <45C473F2.8000809@gmail.com>
To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>
CC: www-validator@w3.org

On 2007-02-03 12:22, Jukka K. Korpela wrote:

> The occurrence of the less than sign "<" or the ampersand "&" as 
> character data in an XHTML document causes the W3C Markup Validator to 
> issue a warning. The document is then reported as valid. For a trivial 
> demo, see
> http://validator.w3.org/check?uri=http%3A%2F%2Fwww.cs.tut.fi%2F%7Ejkorpela%2Ftest%2Ftest.xhtml 

Another limitation of SP in XML mode it seems.

The validator really should get an XML parser, the results simply cannot 
be trusted when validating XML documents.

-- 
David Håsäther
Received on Saturday, 3 February 2007 11:37:36 GMT

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