Question

I have been using XDocument in my windows phone app to load xml files.It never gave any problem reading .xml files. but recently I had to add more data to one of my xml files. It was of size 16kb and now it is of 76kb. After this change the load function started throwing a exception (NotSupportedException) . Is the size of the file the reason for this? How do I get rid of this?

Was it helpful?

Solution

Oh, I just found why it wasn't able to parse. I had to replace all the '&' signs I used with 'and'.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top