You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Johannes Koch <ko...@pixelpark.com> on 2001/01/17 15:17:37 UTC
Bug in xerces-j-dev: wrong root element type in DOCTYPE
Hi there,
When I create XHTML output with Cocoon 1.8 using Xerces-j-1.2.3, I get
"<!DOCTYPE HTML ..." instead of
"<!DOCTYPE html ..."
I think there's a bug in
org.apache.xml.serialize.HTMLSerializer.java
in startDocument():
The lines
"<!DOCTYPE HTML PUBLIC " and
"<!DOCTYPE HTML SYSTEM "
are hard-coded, though there is the rootTagName parameter, which could
be used when output is HTML and which must be used when output is XHTML
(case-sensitivity of XML!).
--
Johannes Koch . IT Developer
Pixelpark AG . http://www.pixelpark.com
Rotherstraße 8 . 10553 Berlin . Germany
phone: +49 30 5058 - 1288 . fax: - 1355