Вопрос

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?

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top