Re: Validator says non-well-formed document is well-formed

2001-09-05 20:40:06, Karl Ove Hufthammer <huftis@bigfoot.com>:

> According to the W3C Validator, the following piece of XHTML
> is well-formed (and valid):

The validator also accepts white space before the XML declaration, 
which is (as far as I can see from the XML specification, 2nd ed.) 
not correct.

(MSXML 4 does this too, but Ælfred does not. I haven't tested 
Expat or any other XML parser.)

-- 
Karl Ove Hufthammer

Received on Wednesday, 5 September 2001 18:00:26 UTC