commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lenz <>
Subject Re: [Digester] XML Pull
Date Wed, 18 Sep 2002 08:22:30 GMT
The architecture of Digester is very close to the SAX push parse model. 
SAX events are simply dispatched to matching rules. Using a lower-level 
API like XMLPULL would just complicate the code, because Digester would 
have to translate between the pull and the push model. Not to speak 
about API compatibility ;-)

BTW, I *highly* doubt that the SAX parsing is a performance bottleneck 
in Digester. I assume that performance is most affected by the 
relection/introspection routines that are used to create objects, set 
properties, call methods, etc.

Tal Lev-Ami wrote:
> Performance. Parsers like XPP are much faster than any available SAX parser
> (at least that I know of). 
> See
> The performance comes at the expense of full standard compliance but for
> most documents that isn't really important. I don't think that XML Pull
> should replace SAX, just be another usage option.
> I haven't done a benchmark of the Digester it self, maybe the XML parsing
> part is not the main problem, but I have a feeling it is.
> Tal Lev-Ami
> Trivnet Ltd.
> -----Original Message-----
> From: Scott Sanders []
> Sent: Wed, September 18, 2002 1:27 AM
> To: Jakarta Commons Developers List
> Subject: RE: [Digester] XML Pull
> Would there be a good reason for it, other than because we can?
> Scott
>>-----Original Message-----
>>From: Tal Lev-Ami [] 
>>Sent: Tuesday, September 17, 2002 5:13 AM
>>To: Jakarta Commons Developers List (E-mail)
>>Subject: [Digester] XML Pull
>>Anybody tried to adapt the Digester to work with XML Pull 
>>It should be fairly easy to do and there are pretty fast 
>>parsers out there.
>>Tal Lev-Ami
>>Trivnet Ltd.

Christopher Lenz
/=/ cmlenz at

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message