PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3357
*** shadow/3357 Tue Sep 4 07:57:49 2001
--- shadow/3357.tmp.24670 Tue Sep 4 09:59:10 2001
***************
*** 2,9 ****
| bug in position() |
+----------------------------------------------------------------------------+
| Bug #: 3357 Product: XalanJ2 |
! | Status: NEW Version: 2.2.x |
! | Resolution: Platform: Other |
| Severity: Normal OS/Version: Other |
| Priority: Other Component: Xalan |
+----------------------------------------------------------------------------+
--- 2,9 ----
| bug in position() |
+----------------------------------------------------------------------------+
| Bug #: 3357 Product: XalanJ2 |
! | Status: RESOLVED Version: 2.2.x |
! | Resolution: INVALID Platform: Other |
| Severity: Normal OS/Version: Other |
| Priority: Other Component: Xalan |
+----------------------------------------------------------------------------+
***************
*** 69,72 ****
ie a nodeset with "jix" and "package" (remember ancestor-or-self is reverse
order). That nodeset is what is passed in to xsl:value-of and the position of
the elements in that nodeset is jix:1 and package:2. Hope this makes sense. I
! won't close this yet until I hear back from you.
--- 69,88 ----
ie a nodeset with "jix" and "package" (remember ancestor-or-self is reverse
order). That nodeset is what is passed in to xsl:value-of and the position of
the elements in that nodeset is jix:1 and package:2. Hope this makes sense. I
! won't close this yet until I hear back from you.
!
! ------- Additional Comments From [EMAIL PROTECTED] 2001-09-04 09:59 -------
! Because it was very illogical to me, I read the spec. I found the following
! paragraph:
!
! 'NOTE: The meaning of a Predicate depends crucially on which axis applies. For
! example, preceding::foo[1] returns the first foo element in reverse document
! order, because the axis that applies to the [1] predicate is the preceding axis;
! by contrast, (preceding::foo)[1] returns the first foo element in document
! order, because the axis that applies to the [1] predicate is the child axis.'
!
! I think you are right, although I didn't understand it correctly. I tested my
! example with the brackets: (ancestor-or-self::*)[position() > 2]. It works. Then
! this was no bug, only a misreading the spec.
!
! Thanks, Joerg