DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28879>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28879

copy-of select="node() | text()" wrong result

           Summary: copy-of select="node() | text()" wrong result
           Product: XalanJ2
           Version: 2.5Dx
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xpath
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


This is a BUG against XALAN 2.6.0 (but that version is not configured in 
bugzilla).

The following:

  <xsl:copy-of select="node()|text()" />

only copies the FIRST node (if it is text) and nothing otherwise.
This worked as expected in previour versions of Xalan.

Notice that the expression above is redundant and should be equivalent 
to "node()". Changing it to:

 <xsl:copy-of select="node()" />

makes if behave as expected in XALAN 2.6.0.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to