XML Parsing Error: not well-formed ? anyone can

前端 未结 1 966
旧时难觅i
旧时难觅i 2021-01-22 16:29

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/flip

1条回答
  •  自闭症患者
    2021-01-22 17:18

    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 &.

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