DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5992>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5992

Xalan XHTML output lacks space before the closing />





------- Additional Comments From [EMAIL PROTECTED]  2002-01-24 15:56 -------
>While XSLT 1.0 does not specify an XHTML output method, Xalan does support it 

... You're right, I was confused.

That being the case, I agree that an explicit XHTML output method should use the 
" />" formatting. And in faxt, SerializerToXML.java has such a hook, triggered 
by
       if (m_doctypePublic.startsWith("-//W3C//DTD XHTML"))

It looks like what's needed is to have the explicit XHTML output method force 
that same flag to true. Meanwhile, it looks like you ought to be able to get the 
output you want by making sure your xsl:output asserts an appropriate public 
doctype string.

Which brings up the question: If we're going have the doctype set this behavior 
automatically, _should_ we have a separate output mode for XHTML?

Reply via email to