@YaronNaveh
Recently I was parsing Xml in c# from an XmlReader to an XElement:
The last line threw this exception:
In MSDN
ReadState.Interactive state is described as:
But why should I call read? It is the XElement responsibility to do it.
The solution is pretty simple though:
@YaronNaveh
What's next? get this blog
rss updates or register for
mail updates!
1 comments:
For me the solution was to use XElement.Load instead of XElement.ReadFrom.
Post a Comment