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/02/20 13:34:22 UTC

DO NOT REPLY [Bug 6572] New: - Examining not set attribute with != gives empty list

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

Examining not set attribute with != gives empty list

           Summary: Examining not set attribute with != gives empty list
           Product: XalanJ2
           Version: 2.2.0
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xpath
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: bernhard.maehr@gmx.at


I think there is a bug in the newest version of xalan 2.0:

     <xsl:for-each select="preceding-sibling::p[@class!='list']">

seems to return no itemes with this:


    <p>List 1</p>
    <p class="list">1</p>
    <p class="list">2</p>
    <p class="list">3</p>
    <p class="list">4</p>
    <p class="list">5</p> 
    <p class="list">6</p>
    <p>List 2</p>
    <p class="list">1</p>
    <p class="list">2</p>
    <p class="list">3</p>


If you need I can send the complete XML and XSL files


Thank you