An error occurred while parsing EntityName. Line1, position 844

前端 未结 5 1496
星月不相逢
星月不相逢 2020-12-25 10:22

I have got the following exception from the below code block.

An error occurred while parsing EntityName. Line1, position 844.

I was trying

5条回答
  •  悲&欢浪女
    2020-12-25 11:00

    As the data comes from some data base, the problem can be hot-fixed in the context you described, but I would strongly recommend a different approach. The ampersand symbol should not have occured in the xml in the first place, as discussed here. Please clarify how the xml is generated and address the problem there.

提交回复
热议问题