You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Kevin Cormier (JIRA)" <xa...@xml.apache.org> on 2006/10/11 22:38:36 UTC

[jira] Commented: (XALANJ-2286) count function applied to union as test of node identity is broken

    [ http://issues.apache.org/jira/browse/XALANJ-2286?page=comments#action_12441550 ] 
            
Kevin Cormier commented on XALANJ-2286:
---------------------------------------

I've found a fix for this issue.  The clone() method in FilterExprWalker should call m_exprObj.clone() rather than m_exprObj.cloneWithReset().

This problem has been identified as the cause of XALANJ-2324, and was originally introduced by the fix for XALANJ-2204.

> count function applied to union as test of node identity is broken
> ------------------------------------------------------------------
>
>                 Key: XALANJ-2286
>                 URL: http://issues.apache.org/jira/browse/XALANJ-2286
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: Xalan-interpretive
>    Affects Versions: Latest Development Code
>            Reporter: Henry Zongaro
>         Assigned To: Kevin Cormier
>            Priority: Critical
>
> Using "count(.|$foo) = 1", where $foo is a node set consisting of one node, to test for node identity appears to be broken with Xalan-J Interpretive; it's always returning the value two or three.  It worked in Xalan-J 2.7.0.
> See XALANJ-2285 for a test case.  That issue reports a bug in XSLTC with the same test case.

-- 
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org