I haven’t been able to debug this or test it on other special characters.
If I have to parse an xml which contains “&” in it’s Decimal form i.e.
"&" parsing goes smoothly but if i my xml contains “&” in it’s Entity Reference form i.e. “&” it doesn’t parse properly.
If my xml has an entry <xdoc><name> hot & cold</name></xdoc> it would return only "cold" am using xmlElement "getAllSubText()". Is there any thing am doing wrong?? Here is the list of other special characters.