[wsf-c-dev] External dependencies
Samisa Abeysinghe
samisa at wso2.com
Fri Dec 8 01:02:46 PST 2006
James Clark wrote:
>
> I don't think that's quite what's going on. The lowest level of the
> parser has a SAX-like interface. The pull parser is built on top of
> this. It runs the SAX parser over the input chunk, with the SAX parser
> calling callbacks installed by the pull parser. These callbacks store
> events that are later progressively returned by the pull parser. There's
> no tree-building involved that I can see. In effect, the pull parser is
> building events in batches rather than one at a time. I don't think
> that's inherently less efficient.
>
Hmm, I missed the callback registering part. Anyway, I have seen that,
when using libxml2, if there is an XML error in SOAP envelope payload,
the parser fails, before we start pulling the stuff form engine. So I
was under the impression that it was not pure pull.
Samisa...
More information about the Wsf-c-dev
mailing list