[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
