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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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

Reply via email to