[Mono-list] Incompatibility in MONO SelectNodes method
robertj at gmx.net
Sat Dec 1 21:29:12 EST 2007
> In bug #343960
> I presented code which works OK in .NET but crashes in MONO 1.2.6 pvw2.
> Probably SelectNodes() in .NET creates new list but in MONO it does not.
> Atsushi refuses to fix this and marks it INVALID several times.
He explained pretty well why he refused to fix it.
> This is fundamental incompatibility between .NET and MONO XML DOM
> Is it really reasonable not to fix this ?
> How to change this code so it works in MONO also ?
XmlNodeList list = xDoc.SelectNodes("//comment()");
ArrayList temp = new ArrayList ();
foreach (XmlNode node in list)
foreach (XmlNode node in temp)
More information about the Mono-list