There are many XML parsers out there.So here I am going to give some pros and cons of those.SAX,StAX,DOM,JAXB are the XML parsers that I took into consideration.
Parsing Mechanism
Features
JAXB
High memory usage
DOM
High memory usage
StAX
XML schema can not be validated. Low memory usage
SAX
XML schema can be validated Low memory usage
Hope this will give you some hints about what to choose.Thank you.
No comments:
Post a Comment