https://bugzilla.novell.com/show_bug.cgi?id=456103
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=456103#c2 --- Comment #2 from Atsushi Enomoto <[EMAIL PROTECTED]> 2008-12-09 00:49:49 MST --- Simplified: using System; using System.Xml; namespace Matmlbug { class Program { static void Main (string[] args) { XmlDocument doc = new XmlDocument (); doc.LoadXml ("<root><X/></root>"); XmlElement el = doc.DocumentElement; string concat = "descendant::X"; XmlNodeList nl = el.SelectNodes (concat); Console.WriteLine ("nl.Count = {0}", nl.Count); XmlNode n = nl [0]; Console.WriteLine (n != null ? n.Name : "(bug)"); } } } Replacing "descendant::X" with ".//X" workarounds the issue. -- Configure bugmail: https://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
