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=6925>. 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=6925 <xsl:comment> contents not escaped Summary: <xsl:comment> contents not escaped Product: XalanJ2 Version: CurrentCVS Platform: PC URL: http://www.w3.org/TR/xslt#section-Creating-Comments OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: org.apache.xalan.xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The contents of <xsl:comment> are not escaped, see http://www.w3.org/TR/xslt#section-Creating-Comments This may result in malformed XML. I'll attach a patch for this (which also comments out a couple of private methods obsoleted by the fix). --- sample xsl --- <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> <xsl:comment>-- A - test --- comment -</xsl:comment> </xsl:template> </xsl:stylesheet>
