W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2006

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

From: <bugzilla@wiggum.w3.org>
Date: Thu, 31 Aug 2006 01:58:27 +0000
CC:
To: www-validator-cvs@w3.org
Message-Id: <E1GIbp5-0005eT-Sb@wiggum.w3.org>

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





------- Comment #10 from ot@w3.org  2006-08-31 01:58 -------
(In reply to comment #9)
> I guess relying on Content-Type alone for the SGML/XML mode decision may not
> work too well with uploaded documents and/or markup submitted through a
> textarea.  
> Maybe require the user to set the mode in those cases?  

Upload should not be much of a problem, should it? Only for .html documents
which would probably be treated as html even if they are XHTML 1.0, but it may
just push more people to use .xhtml and serve as application/xhtml+xml.

Direct input is an issue indeed, however, and I suppose we could have a "treat
as HTML | treat as XML" radio choice. Similar in a way to what valet does, but
probably more accessible to the layman than a choice of parsers.

> This would however have
> an effect on the CGI "API" (think 3rd party tools 
> submitting docs to the validator).

True. That means we need a default for the direct input mode.
Received on Thursday, 31 August 2006 01:58:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:26 UTC