XML Parsing Error: not well-formed ? anyone can

18,688

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

Share:
18,688
user3004639
Author by

user3004639

Updated on June 04, 2022

Comments

  • user3004639
    user3004639 almost 2 years

    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.