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

Re: Validator fails horribly on ill-formed XMLDecls

From: Olivier Thereaux <ot@w3.org>
Date: Tue, 17 Sep 2002 05:53:00 +0900
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: www-validator@w3.org
Message-ID: <20020916205300.GB26950@w3.mag.keio.ac.jp>

Hi Bjoern,

On Sun, Sep 15, 2002, Bjoern Hoehrmann wrote:
> The following example document will cause horrible results by the
> validator (note the missing trailing '?' in the XML declaration):

Hmm, indeed, I wonder why the "caveat" disclaimer about XML support is
gone.

> (online demo at http://www.bjoernsworld.de/temp/invalid-xmldecl.html) 
> 
> First, it doesn't warn about the ill-formed XML declaration, then it
> fails to detect the character encoding and prints out dozens of errors
>   Error: omitted tag minimization parameter can be omitted only if
>          "OMITTAG NO" is specified on the SGML declaration 

The dev instance does a "better job", i.e it can't find a charset
(probably because the XML declaration is incorrect), and stops there.
No explicit error about the XML decl, though.

http://validator.w3.org:8001/check?uri=http%3A%2F%2Fwww.bjoernsworld.de%2Ftemp%2Finvalid-xmldecl.html
 
-- 
Olivier Thereaux - W3C
http://www.w3.org/People/olivier | http://yoda.zoy.org
Received on Monday, 16 September 2002 16:53:02 GMT

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