Hugh McFadden wrote:
Yes, you're right, I get this exception:
System.IndexOutOfRangeException:
Index was outside the bounds of the array.
at System.Xml.XmlTextReader.SetElementValues()
at System.Xml.XmlTextReader.ParseElement()
at System.Xml.XmlTextReader.Read()
at GetXMLFragment.CountXMLElements.getCounts()
Hmmm, it's too few info. In Rotor sources I don't see nothing in
SetElementValues method which could cause IndexOutOfRangeException, probably
it happens deeper in XmlScanner.
It's tempting to debug it under Rotor, but the file is so huge I cannot
download it at work, only at home in the evening.
Which .NET version are you using?
--
Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel