XmlDocument.Load Vs XmlDocument.LoadXml

前端 未结 5 1407
面向向阳花
面向向阳花 2021-01-07 18:41

I just came across with a problem using XmlDocument.LoadXml.

The application was crashing, giving the following error:

\"Data at

5条回答
  •  北海茫月
    2021-01-07 19:16

    Assuming your using XmlDocument.Load and XmlDocument.LoadXml in the right way this problem may be caused by Byte Order Mark.

    This other question might be useful.

提交回复
热议问题