http://bugzilla.novell.com/show_bug.cgi?id=497017


           Summary: XPath ancestor set order is incorrect on mono. Correct
                    on .NET
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


Created an attachment (id=287249)
 --> (http://bugzilla.novell.com/attachment.cgi?id=287249)
Test case for xpath functionancestor - resulting set order

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8)
Gecko/2009032711 Ubuntu/8.04 (hardy) Firefox/3.0.8

I believe that ancestor set order should be reverse, currently on mono it seems
to be in document order.

<quote>Thus, the ancestor, ancestor-or-self, preceding, and preceding-sibling
axes are reverse axes</quote> from:
http://www.w3.org/TR/xpath#predicates

Attached simple test case showing problem. 
NET returns the Expected result.



Reproducible: Always

Steps to Reproduce:
1. Compile and run attached test case.
2.
3.
Actual Results:  
1

Expected Results:  
2

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to