[ http://issues.apache.org/jira/browse/XALANJ-2285?page=comments#action_12373172 ]
Brian Minchau commented on XALANJ-2285: --------------------------------------- Comments from Xalan-J triage April 4, 2006: > This Xalan-J interpretive bug has different breakage than > This worked for 2.7.0 but has broken during development. > Currently the count() function in the testcase always returns 2 or 3 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-2285 > URL: http://issues.apache.org/jira/browse/XALANJ-2285 > Project: XalanJ2 > Type: Bug > Components: XSLTC > Versions: Latest Development Code > Reporter: Henry Zongaro > Assignee: Henry Zongaro > Priority: Critical > Attachments: j2285.out, j2285.xml, j2285.xsl > > Using "count(.|$foo) = 1", where $foo is a node set consisting of one node, > to test for node identity appears to be broken; it's always returning the > value one. It worked in Xalan-J 2.7.0. It appears to have been broken with > the patch for XALANJ-2097. -- 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]
