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

The "text" output method should output comment node?

           Summary: The "text" output method should output comment node?
           Product: XalanJ2
           Version: 2.3
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


"http://www.w3.org/TR/xslt"; says at "16.3 Text Output Method",
"The text output method outputs the result tree by outputting the string-value 
of every text node in the result tree in document order ..." .
So I think it's good that comment node is not outputed.

[sample XSLT file]
----- =-8 ---------- =-8 ---------- =-8 ---------- =-8 -----
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

<xsl:output method="text"/>

<xsl:template match="/">
<result>This is not comment.<xsl:comment>This is comment.</xsl:comment></result>
</xsl:template>

</xsl:stylesheet>
----- =-8 ---------- =-8 ---------- =-8 ---------- =-8 -----

Reply via email to