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

User [email protected] added comment
https://bugzilla.novell.com/show_bug.cgi?id=442102#c2


Miguel de Icaza <[email protected]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                
|[email protected]




--- Comment #2 from Miguel de Icaza <[email protected]>  2008-12-18 16:14:56 
MST ---
With the following program things work in trunk, but I do not know if it works
with 2.2.   This is a full test case, since you did not provide the test case.

using System;
using System.Xml;

class X {

        static void Main ()
        {
                XmlDocument _x = new XmlDocument();
                _x.LoadXml("<?xml version=\"1.0\"?><response>
<query>search</query> <totalresults>28705</totalresults>  <start>1</start>
<end>10</end> <results> <result/> <result/>  </results> </response>");

                string _total =
_x.SelectSingleNode("/response/totalresults").InnerText;
                Console.WriteLine ("1: " + _total);

                XmlNode total = _x.SelectSingleNode("//totalresults");
                string total2 = total.InnerText;

                Console.WriteLine ("2: " + total2);
        }
}


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

Reply via email to