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=16004>. 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=16004 incorrect script tags in xhtml (and missing newlines) [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[EMAIL PROTECTED] ------- Additional Comments From [EMAIL PROTECTED] 2003-06-07 10:18 ------- Hello Ralf, there is no XHTMLSerializer. It's simlpy the XMLSerializer with a few options set like DTD and encoding. And it behaves correctly: <script type="text/javascript"/> <style type="text/css"/> are serialized to <script type="text/javascript" /> <style type="text/css" /> what's absolutely ok. The last space is already for browser convenience IIRC. Mozilla has no problems with it (1.3.1, 20030425, but also older versions, I have been using XHTMLSerilaizer since a few months). That IE stumbles on it is not the problem of Cocoon or Xalan I guess. AFAIK IE does not really understand/know what XHTML is. It simply tries to read the input as HTML. So for example it knows nothing about the encoding specified in the XML declaration too and ignores it (IE 6.0). Newlines are not added by default. The behaviour should be configurable by the <indent>yes</indent> parameter in the serializer's configuration, but this doesn't work with XSLTC, but works nicely with Xalan. So this bug is INVALID for Cocoon, but more or less interesting for Xalan/XSLTC. I will move the bug to Xalan' buglist in the next days. Are you ok with this? Joerg