[ http://issues.apache.org/jira/browse/XALANJ-2286?page=comments#action_12373170 ]
Brian Minchau commented on XALANJ-2286: --------------------------------------- Comments from Xalan-J triage on April 4, 2006: > This XSLTC bug has a different breakage than XALANJ-2285 > Henry has a fix for this one and will attach a patch. > This worked for 2.7.0 but has broken during development. > Currently the count() function in the testcase always returns 1, regardless of what it should return. > This is a commonly used way of testing identity in XSLT 1.0 > The fix for XALANJ-2097 may have further exposed this problem, > not that XALANJ-2097 was itself a regression > 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 > Type: Bug > Components: Xalan-interpretive > Versions: Latest Development Code > Reporter: Henry Zongaro > 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]
