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
To: www-validator-cvs@w3.org
Message-Id: <E1GIbp5-0005eT-Sb@wiggum.w3.org>


------- 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.4.0 : Friday, 17 January 2020 23:02:18 UTC