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=8322>.
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=8322

XPath position and last functions

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2002-04-22 04:56 -------
Xalan is producing the correct output.  You are misunderstanding the XPath data 
model, and how the position() function works.  There are whitespace text nodes 
between the elements nodes in your document, and there are also children, and 
thus affect the result of the position() function.  You can verify this using 
another XSLT processor, such as MSXSL, Saxon, or Xalan-J.

See also the XSL FAQ:

http://www.dpawson.co.uk/xsl/sect2/N6099.html

By the way, both the sample XML (even the "corrected" one), and the stylesheet 
you submitted are ill-formed.  Please verify the examples you post in bug 
reports before you post them.

Reply via email to