You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/03/06 17:49:48 UTC

DO NOT REPLY [Bug 6927] New: - contents not escaped

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=6927>.
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=6927

<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.serialize
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: ville.skytta@iki.fi


XalanJ2 seems to have the same problem as XSLTC, as described in
bug #6925.  I tried to fix it in Xalan too, but the patch I'll
attach doesn't affect transformation from the command line.

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

--- sample xml ---
<?xml version="1.0"?>
<dummy/>