Anne Thomas Manes wrote:

Definitely valid points. I view pull parsing as application-specific
processing technique. As far as I know, there's no reason why you couldn't
implement a fully compliant XML processor that uses the pull parsing
technique. (Dennis, please correct me if I'm wrong.)
hi Anne,

that is correct and that is why there is XmlPull API that defines XML pull parsing API and set of implementations that have implemented API and allow to parse full XML 1.0 (like Xerces2 XNI based), or are optimized to parse XML infoset application defined by SOAP (XPP3) or optimized for small memory footprint and J2ME (kXML2)

It's just that XPP
hasn't done that.

yes (note there are different versions of XPP so your experience may vary depending if you use XPP1, XPP2 that are no longer developed and XPP3 that is current version)

As you say, pull parsing is a very efficient technique for processing SOAP
messages.

that is one of things that people expect most of pull parsing. i would actually put ease of use to parse structured XML documents by providing streaming cursor that is alternative to memory intensive DOM-like APIs as the reason number one.

thanks,

alek

--
"Mr. Pauli, we in the audience are all agreed that your theory is crazy. What divides us is whether it is crazy enough to be true." Niels H. D. Bohr


Reply via email to