W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2007

[Bug 24] HTML::Parser in XML mode doesn't work with lowercase doctypes

From: <bugzilla@wiggum.w3.org>
Date: Tue, 27 Mar 2007 05:26:22 +0000
CC:
To: www-validator-cvs@w3.org
Message-Id: <E1HW4CM-0001kg-4y@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=24


ot@w3.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|1500                        |
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




------- Comment #14 from ot@w3.org  2007-03-27 05:26 -------
I think this precise bug was fixed by changing the behavior to the following:

* read content type, if any
* if content type gives parse mode of TBD, or no content type, use HTML::Parser
as SGML mode
else, preparse as XML.

(that is, switch the default to SGML mode, and use XML mode only when we are
sure)
This new default will probably cause some issues with direct input ( but that's
a question for Bug #1391 ) and some custom DTDs, but over all this behavior is
more sane.
Received on Tuesday, 27 March 2007 05:27:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:33:16 GMT