Re: Incorrect/Old XHTML SystemID in org.apache.xml.serialize.HTMLdtd.java

2003-12-09 Thread Michael Glavassevich
Hello Michael, The second bug [1] you mentioned is actually reported in Bugzilla. Now I remember that I fixed both of these bugs on a local copy of CVS back in the winter (before I was a Xerces committer). I'll see if I've still got those patches around. They were fairly straightforward fixes, so

Re: Incorrect/Old XHTML SystemID in org.apache.xml.serialize.HTMLdtd.java

2003-12-09 Thread Michael Smith
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

Incorrect/Old XHTML SystemID in org.apache.xml.serialize.HTMLdtd.java

2003-12-09 Thread Michael Smith
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/T