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 />

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Major                       |Enhancement



------- Additional Comments From [EMAIL PROTECTED]  2002-01-24 14:59 -------
XSLT 1.0 has no official "XHTML output method". You have your choice of HTML 
output mode (which doesn't generate the problematic syntax at all) XML output 
mode (where a space before the /> would be meaningless) or Text output mode. 

It might be a Very Good Thing if XSLT 2.0 _added_ explicit XHTML support, 
formatted in the way you suggest. But that's somethig to take up with the W3C's 
XSL Working Group. 

Meanwhile, we could prototype explicit XHTML support. Worth considering. But 
that gets you into the situation of writing nonportable stylesheets (if they 
explicitly ask for XHTML as their output mode) or non-interoperable stylesheets 
(if we switch into that mode implicitly or via a Processing Instruction; same 
stylesheet elsewhere will produce different results).

Alternatively... You know, it really would be pretty darned trivial to use SED 
or another text-processing tool as a postprocessor to globally replace '/>' with 
' />'. Do you really need Xalan to do this for you?


Definitely an interesting idea and worth considering as a possible Enhancement, 
but I can't justify calling it a bug.

Reply via email to