[ http://issues.apache.org/jira/browse/XALANJ-1871?page=all ]
Brian Minchau updated XALANJ-1871:
----------------------------------
Fix Version: 2.7
> copy-of select="node() | text()" wrong result
> ---------------------------------------------
>
> Key: XALANJ-1871
> URL: http://issues.apache.org/jira/browse/XALANJ-1871
> Project: XalanJ2
> Type: Bug
> Components: XPath
> Versions: 2.6
> Environment: Operating System: Other
> Platform: Other
> Reporter: Jose Alberto Fernandez
> Assignee: Xalan Developers Mailing List
> Fix For: 2.7
> Attachments: d28879.out, d28879.xml, d28879.xsl, patch.txt
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]