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

XHTML validation bug (false pass)

From: David Brownell <david-b@pacbell.net>
Date: Sat, 19 Feb 2000 20:10:45 -0500 (EST)
Message-ID: <38AF3F11.CDA115C2@pacbell.net>
To: www-validator@w3.org
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 GMT

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