You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2006/04/04 21:41:45 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_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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org