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

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=347768#c4


Augusto Righetto <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]
             Status|NEEDINFO                                        |ASSIGNED
      Info Provider|[EMAIL PROTECTED]                           |
           Priority|P5 - None                                       |P3 - Medium




--- Comment #4 from Augusto Righetto <[EMAIL PROTECTED]>  2008-01-24 16:29:11 
MST ---
I have the same problem.
Here is the files for reproduce this bug.
This source code works in MS .Net but hangs in Mono.
-----------------
test.xml
<?xml version="1.0" encoding="utf-8"?>
<books>
  <book>
    <name>Happy C Sharp</name>
  </book>
</books>
----------------
using System;
using System.Xml;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            XmlReader reader =
XmlReader.Create("/home/augusto/bugMono/test.xml");

            reader.MoveToContent();
            Console.WriteLine(reader.Name.ToString());

            while (reader.Read())
            {
                // BUG 347768: Here bug happens
                reader.ReadToNextSibling("book");
                Console.WriteLine(reader.Name.ToString());
            }

            Console.WriteLine("Press any key.");
            Console.ReadKey();
        }
    }
}


-- 
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  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to