[Mono-bugs] [Bug 365112] New: XPathNavigator.MoveToFollowing works differently from . NET

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 27 03:49:10 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=365112


           Summary: XPathNavigator.MoveToFollowing works differently from
                    .NET
           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: sanxiyn at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Testcase.

using System;
using System.Xml;
using System.Xml.XPath;

public class Test {
    public static void Main() {
        XmlDocument doc = new XmlDocument();
        doc.LoadXml("<root/>");
        XPathNavigator nav = doc.CreateNavigator();
        nav.MoveToFollowing(XPathNodeType.All);
        Console.WriteLine(nav.Name);
    }
}

Mono prints an empty string, .NET prints "root".


-- 
Configure bugmail: https://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