You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/06/07 23:20:59 UTC
DO NOT REPLY [Bug 9575] -
count() returns wrong value on ancestor-or-self::node()
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9575>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9575
count() returns wrong value on ancestor-or-self::node()
David_Marston@lotus.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |TestID, XSLTBug
Priority|Other |High
Summary|count() returns wrong value |count() returns wrong value
| |on ancestor-or-self::node()
------- Additional Comments From David_Marston@lotus.com 2002-06-07 21:20 -------
New tests position98 through position101 confirm that we are double-counting
the root node. The node-type of the starting point is not a factor.
Our axes100 test didn't catch this because it walks ancestor-or-self::*,
which does not exhibit the bug.
This is a high-priority issue *if* people want to determine the nesting
depth via ancestor-or-self::node() but it can be circumvented by taking
ancestor-or-self::* and adjusting as necessary.