I am getting following issues when XML file open in the browser:-
This page contains the following errors:
error on line 11 at column 16: xmlParseEntityRef: no name
Below is a rendering of the page up to the first error.
Problem: An XML parser returns the error "xmlParseEntityRef: noname"
Cause: There is a stray ‘&’ (ampersand character) somewhere in the XML text eg. some text & some more text
Remove the ampersand.
Encode the ampersand (replace the ampersand '&' character with '&', '<' with '<' and '>' with '>' ) Remember to Decode when reading the XML text.
Use CDATA sections (text inside a CDATA section will be ignored by the parser.) eg. <![CDATA[some text & some more text]]>