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 
entity
Location: 
file:///F:/Documents%20and%20Settings/Brant%20Gurganus/My%20Documents/Personal/brant.xhtml
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
http://troop545.cjb.net/brant.xhtml

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

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