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/07/10 23:24:09 UTC

DO NOT REPLY [Bug 10663] New: - preceding-sibling axis incorrect

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

preceding-sibling axis incorrect

           Summary: preceding-sibling axis incorrect
           Product: XalanC
           Version: 1.3.x
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XalanC
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: eknoll@sf-inc.com


I have a situation where I select all nodes with a specified element name into a
variable.  Later I do an <xsl:apply-template...> on a subset of those elements
selected from that variable using a range of position()s.   Within the template
which processes some of these elements, the "preceding-sibling::" axis appears
to only ever consist of the first of these elements.  Output shows that this
template processes the 2nd and 4th elements in this list (by position()), which
is expected.  However, the preceding-sibling:: axis appears to only contain a
single element (the one at position() = 1).