You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Henry Zongaro (JIRA)" <xa...@xml.apache.org> on 2006/03/28 22:19:30 UTC
[jira] Created: (XALANJ-2285) count function applied to union as
test of node identity is broken
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
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; 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Commented: (XALANJ-2285) count function applied to union as
test of node identity is broken
Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
[ 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Commented: (XALANJ-2285) count function applied to union as
test of node identity is broken
Posted by "Christine Li (JIRA)" <xa...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XALANJ-2285?page=comments#action_12414238 ]
Christine Li commented on XALANJ-2285:
--------------------------------------
The patch looks good to me. It resolves the described problem.
> 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, patch.j2285.txt
>
> 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Closed: (XALANJ-2285) count function applied to union as
test of node identity is broken
Posted by "Henry Zongaro (JIRA)" <xa...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XALANJ-2285?page=all ]
Henry Zongaro closed XALANJ-2285.
---------------------------------
I've confirmed that the problem is fixed in the current source repository.
> 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
> Issue Type: Bug
> Components: XSLTC
> Affects Versions: Latest Development Code
> Reporter: Henry Zongaro
> Assigned To: Henry Zongaro
> Priority: Critical
> Fix For: Latest Development Code
>
> Attachments: j2285.out, j2285.xml, j2285.xsl, patch.j2285.txt
>
>
> 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Assigned: (XALANJ-2285) count function applied to union as
test of node identity is broken
Posted by "Henry Zongaro (JIRA)" <xa...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XALANJ-2285?page=all ]
Henry Zongaro reassigned XALANJ-2285:
-------------------------------------
Assign To: Henry Zongaro
> 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Commented: (XALANJ-2285) count function applied to union as
test of node identity is broken
Posted by "Henry Zongaro (JIRA)" <xa...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XALANJ-2285?page=comments#action_12372147 ]
Henry Zongaro commented on XALANJ-2285:
---------------------------------------
This is an issue against XSLTC. See XALANJ-2286 for a bug in Xalan-J Interpretive with the same test case.
> 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
> 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Resolved: (XALANJ-2285) count function applied to union as
test of node identity is broken
Posted by "Henry Zongaro (JIRA)" <xa...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XALANJ-2285?page=all ]
Henry Zongaro resolved XALANJ-2285:
-----------------------------------
Fix Version: Latest Development Code
Resolution: Fixed
Applied patch in source repository.
> 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
> Fix For: Latest Development Code
> Attachments: j2285.out, j2285.xml, j2285.xsl, patch.j2285.txt
>
> 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org