Re: Possible bug in XHTML 1.1 validator?

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 UTC