While parsing the error in my mobile application ..i'm getting the following error..
"parser error xmlparseentityref no name" and that is because of "&". I have also tried the "&" but it escapes the "&". Please suggest.
This kind of XML parsing error's occurs due to the special characters. Follow the given steps to solve it..
To handle these kind of characters "& , < , >" with escaping or parsing LIKE :
Solution 1: Remove the ampersand..
Solution 2: Use CDATA sections (text inside a CDATA section will be ignored by the parser.) eg.
Solution 3: Encode the ampersand (that is replace the ?&? character with ?&? ). Remember to Decode when reading the XML text.
Solution 4 : Check character inclding whatever u used utf 8, ascii or whatever.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.