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?
Asked
Active
Viewed 119 times
-1
-
2Can you give the *full* details of the exception? I'd expect the message - and the stack trace - to give more hints. – Jon Skeet Jan 15 '14 at 06:55
1 Answers
0
Oh, I just found why it wasn't able to parse. I had to replace all the '&' signs I used with 'and'.

bytestorm
- 1,411
- 3
- 20
- 36