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

> (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.

Olivier Thereaux - W3C
http://www.w3.org/People/olivier | http://yoda.zoy.org
Received on Monday, 16 September 2002 16:53:02 UTC

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