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 2004/05/10 18:26:17 UTC
DO NOT REPLY [Bug 28879] New: -
copy-of select="node() | text()" wrong result
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: xalan-dev@xml.apache.org
ReportedBy: j_a_fernandez@yahoo.com
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org