Transform creates invalid doctype statement

I'm creating xhtml pages from xml using xslt. The problem is that the Transformer is producing a DOCTYPE that is missing the required spaces between the publicID and systemID, so SAXParser operations I'm doing on the output fail.

xsl:output method="html" version="4.01" encoding="ISO-8859-1"

standalone="yes"

indent="yes"

doctype-public="-//W3C//DTD HTML 4.01//EN"

doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"

produces:

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"

Notice the two adjacent double quotes. That's not legal.

(Please assume all the appropriate angle brackets, I wasn't sure if they'd get through)

Is there any way to coerce this thing to put out a space there?

[822 byte] By [Nickersona] at [2007-11-26 22:44:36]
# 1
This bug has been reported here,https://jaxp.dev.java.net/issues/show_bug.cgi?id=2 It will be integrated in JDK 5.0 update 13. In the meantime, you can try downloading JAXP 1.4 from https://jaxp.dev.java.net and install it on top.
spericasa at 2007-7-10 12:01:31 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...