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

Re: Possible bug in XHTML 1.1 validator?

From: Terje Bless <link@pobox.com>
Date: Mon, 3 Mar 2003 03:14:40 +0100
To: Ville Skyttä <ville.skytta@iki.fi>
cc: Vincenzo Della Mea <dellamea@dimi.uniud.it>, www-validator@w3.org
Message-ID: <a0106000b-1024-E43C99C94D1D11D795A30030657B83E8@[193.157.66.23]>

Ville Skyttä <ville.skytta@iki.fi> wrote:

>On Fri, 2003-02-28 at 11:29, Vincenzo Della Mea wrote:
>
>>I'm teaching Web Technologies to graduate students, One of my students
>>tried to validate the  following XHTML 1.1 document, without success
>>but even without errors explained:
>
>Ooh, this is a nice one:
>
>><!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.1//EN"
>
>The error is caused by missing whitespace after PUBLIC, after adding it,
>the document validates fine.  Need to see if it's a Validator or OpenSP
>bug...

It's a Validator bug; OpenSP parses that just fine, but the Validator in
it's preparse pass failes to detect the XML DOCTYPE and so attempts to
parse it in SGML mode (which causes all kinds of problems).


>Something should be done to the validator output anyway.

Yes, but not for this specifically. We need to do something about the
output when XML is parsed in SGML mode and to add smarts to our SGML vs.
XML detection.


-- 
Now Playing "Shake a Leg" by "AC/DC"",
 from the album "Back In Black".
Received on Sunday, 2 March 2003 21:14:53 GMT

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