Tuesday, August 25, 2015

2 ways To Fix XML Parsing Errors in Blogger

2 ways To Fix XML Parsing Errors in Blogger

Link to My Blogger Tricks

2 ways To Fix XML Parsing Errors in Blogger

Posted: 25 Aug 2015 05:27 AM PDT

fix XML errors in blogger editorMost often when you insert a Facebook JavaScript or AdSense JavaScript in your blogger template editor, you often come across XML Parsing errors that prompts and says "The reference to entity "version" must end with the ';' delimiter." Blogger blogs are coded in XHTML and  XML is quite strict in following correct syntax formatting than HTML. XML is surely unforgiving in this case. Blogger interprets all your document as XML rather than as HTML. XML is PCDATA (Parsed Character Data) by default which means that XML parsers will normally parse all the text in a document. As a result when we insert JavaScript inside blogspot templates, all script inside the JavaScript tags is treated as a text and due to the presence of some illegal special characters like "<" , ">" and "&" , you often face the following error:

Read more »
Share:

0 comments:

Post a Comment