[Mono-list] System.XML bug in 2.4 ???

Mario De Clippeleir mariodc at sydec.be
Tue May 19 07:45:27 EDT 2009


Hi,

I was wondering if someone else has the same problem as me... I recently 
upgraded to Mono 2.4. but all of a sudden, i have problem when reading 
XML files using Xpath.
There is also a difference between .NET and Mono.
This is the problem code :
XPathNodeIterator secondIterator = 
anIterator.Current.SelectChildren(XPathNodeType.Element);

Now in .NET anIterator.Current is never null, but when i run this code 
in the Mono 2.4 runtime, it is null, causing an exception. If i run it 
in Mono 2.2 it works fine....

Does anyonde know about this ? Is there a solution ?

Br,

Mario


More information about the Mono-list mailing list