Also, the root-element name specified in the DOCTYPE in HTMLSerializer is hardcoded to "HTML" (ie. upper-case). For XHTML it should be lower-case.

I know that I can get around the previous problem with SystemID by setting it using OutputFormat.setDoctype(), but I don't see a way to workaround this.

Michael Smith.

Michael Smith wrote:

I have noticed that the DOCTYPE used when serializing XHTML using XHTMLSerializer is not the same as that specified on the w3c site - http://www.w3.org/TR/xhtml1/#dtds .

It is using a systemID of "http://www.w3.org/TR/WD-html-in-xml/DTD/xhtml1-strict.dtd";
when it should be
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";
in org.apache.xml.serialize.HTMLdtd.java.


Would it be possible for someone to change this, or is there a reason for keeping it as-is ?

Thanks in advance
Michael Smith.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to