XHTML validation bug (false pass)

Hi,

I just thought I'd note a problem in the XHTML validator.

Basically, it accepts blank lines before XML/text declarations,
which are explicitly not permitted in the grammar:  no whitespace
before either of those, and the same syntax elsewhere in the
document body (e.g. after the newline) counts as an illegal
processing instruction which _must_ cause a fatal error.

I noticed this when trying to use several XML parsers with some
pages that were passed by this validator ... and of course they
gave fatal errors (as required by the XML spec).

- Dave

p.s. Please CC me on any responses, I'm not on this validator list.

Received on Sunday, 20 February 2000 02:36:37 UTC