XML Exception: Invalid Character(s)

前端 未结 7 1540
醉梦人生
醉梦人生 2020-12-10 03:55

I am working on a small project that is receiving XML data in string form from a long running application. I am trying to load this string data into an XDocument

相关标签:
7条回答
  • 2020-12-10 04:36

    Garbage In, Garbage Out. If the remote application is sending you garbage, then that's all you'll get. If they think they're sending XML, then they need to be fixed. In this case, you're not doing them any favors by working around their bug.

    You should also make sure of what they think they're sending. What did the %1C mean to them? What did they want it to be?

    0 讨论(0)
提交回复
热议问题