W3C home > Mailing lists > Public > www-validator@w3.org > December 2002

XHTML validation error

From: Brant Langer Gurganus <brantgurganus2001@cherokeescouting.org>
Date: Mon, 23 Dec 2002 15:02:30 -0500
Message-ID: <3E076BD6.1070404@cherokeescouting.org>
To: www-validator@w3.org
I validated a XHTML file that had a space before the XML prolog.  This 
is not well-formed according to the XML specification since no 
whitespace comes before the XML prolog.  Mozilla is the only browser I 
have found to correctly capture this error although I think its error 
message is misleading.  Its message is:

XML Parsing Error: xml processing instruction not at start of external 
Line Number 1, Column 2: <?xml version="1.0" encoding="UTF-8"?>

Let me know if you need a test case or anything.
Brant Langer Gurganus

Received on Monday, 23 December 2002 15:03:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:31 UTC