W3C home > Mailing lists > Public > public-html@w3.org > January 2009

Re: ISSUE-54: doctype-legacy-compat

From: Julian Reschke <julian.reschke@gmx.de>
Date: Sat, 17 Jan 2009 18:15:42 +0100
Message-ID: <4972123E.6080101@gmx.de>
To: Philip Taylor <pjt47@cam.ac.uk>
CC: Sam Ruby <rubys@us.ibm.com>, HTML WG <public-html@w3.org>

Hi Philip,

Philip Taylor wrote:
> ...
> Which tools are "all known tools"?

That's indeed a good question. Of course there's no way no please *all* 
these tools, in particular if their doctype output is hardwired.

> There are tools which have an HTML4 or XHTML1.0 doctype hardcoded, and 
> we can't do anything about them, so I assume they must be excluded.


> Looking at the source code for TagSoup 
> (<http://home.ccil.org/~cowan/XML/tagsoup/>), I believe its "XMLWriter" 
> (actually an XML-incompatible HTML writer) can only output:
>   <!DOCTYPE html SYSTEM "">
> or
>   <!DOCTYPE html PUBLIC "x" "">
> (where "x" means at least one character, and "" is at least zero).

Do people use it for generating HTML5? If yes, then they must have 
encountered that problem.

Also, TagSoup is open-source, so fixing it seems to be easy (in contrast 
to changing JAXP or XSLT behavior in exising JDK 1.4..6.0 installations).

> ...
> <!DOCTYPE html PUBLIC ""> would only help XSLT.

Incorrect, and that has been pointed out multiple times by now.

> ...

BR, Julian
Received on Saturday, 17 January 2009 17:16:28 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:41 UTC