XML Parsing Error: not well-formed ? anyone can

2019-02-25 23:33发布

This is my first time creating a xml document but I am having problems with one line not working. can anyone tell me what I have done wrong.

http://www.ncerttext.in/flipkart.xml error is

7: 107 The entity "wgtid" was referenced, but not declared.

how should i do that.

1条回答
Luminary・发光体
2楼-- · 2019-02-25 23:52

As suggested by @Marco Forberg, the problematic character in your XML is "&". Simply change & to &.

By the way: Modern browsers tell you something about XML files even if they are malformed. For example, if you open your file with a recent version of Firefox, hit Ctrl+U and hover over the red character, it informs you that & is not allowed and should most probably be changed to &.

查看更多
登录 后发表回答