Skip to content Skip to sidebar Skip to footer

Error Parsing Xml Using Saxparser

I have a problem when parsing xml from the internet. The parser doesn't return all the data correctly. Three are three errors: correct result -->return result 161:1:161-->1:1

Solution 1:

According to the SAX definition characters() method can be called multiple times per elements. So it should accumulate the text; if this is happening then your code will not work.


Post a Comment for "Error Parsing Xml Using Saxparser"