[wsf-c-dev] External dependencies
Samisa Abeysinghe
samisa at wso2.com
Thu Dec 7 16:22:50 PST 2006
>> As far as I know, libxml2 is not the right choice for pull model.
>>
>
> Why not?
>
libxml2 pull parser, xmlTextReader, uses a method named xmlParseChunk()
in pulling. xmlParseChunk() progressively builds an XML tree.
xmlTextReader uses a chunk size of 512, when parsing chunks. So it is
kind of progressively builds the tree and lets us walk the tree. Is it a
good enough pull model for the SOAP engine? As far as I know, Guththila
is written to pull element by element compared to this.
> I would see the SOAP engine still working just on AXIOM, but the AXIOM
> would be a bit different. In particular the interface would be designed
> so that it can be implemented efficiently using a wide variety of
> underlying representations, whether as string, an array of events,
> something DOM-like or a mixture of all of these.
>
Let me understand this more clearly. So what you mean is that we should
be able to serialize/de-serialize AXIOM to and from any of sting, event
array, DOM etc. formats.
>
>
>> So eventually, we would have a considerable amount of code that would be
>> platform specific?
>>
>
> Yes.
>
And given the level of deep platform integration we are talking about,
it would be of little benefit to use a portable runtime I suppose.
I hope we would be better off to write those platform specific stuff
focusing on only that platform.
Samisa...
More information about the Wsf-c-dev
mailing list