[Mono-bugs] [Bug 497017] New: XPath ancestor set order is incorrect on mono. Correct on .NET
    bugzilla_noreply at novell.com 
    bugzilla_noreply at novell.com
       
    Tue Apr 21 14:57:19 EDT 2009
    
    
  
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: atsushi at ximian.com
        ReportedBy: tom_hindle at sil.org
         QAContact: mono-bugs at lists.ximian.com
          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.
    
    
More information about the mono-bugs
mailing list