geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Remove Stax API or wstx-asl ?
Date Thu, 25 Mar 2010 07:32:15 GMT

On Mar 24, 2010, at 8:44 PM, Daniel Kulp wrote:

> On Wednesday 24 March 2010 9:44:12 pm Ivan wrote:
>> Hi,
>>    Just trying the latest Geronimo 3.0 build, get a CNF exception for the
>> XMLInputFactory, seems that wstx-asl shipped is not a bundle.
>>    I am thinking that since JRE 1.6 contains the API and the default
>> implementation, do we still need to ship another one ?
> 
> Well, I would say get rid of stax-api, but keep wstx.   I think the 4.x 
> versions of woodstox are bundles.  If not, ServiceMix has bundles for them.
> 
> The parser in the JDK sucks from a performance standpoint.   We recently tried 
> to use the JDK parser in CXF and the complete test run took nearly 25% longer.   
> Adding woodstox back in brought it right back down to the normal times.   
> Testing on "real" web services backed that up.   
> 
> Basically, the in JDK Stax parser will work, but woodstox is so much faster.  
> If you aren't doing anything performance critical with XML, not using woodstox 
> might be OK.   
> 

I'd prefer to use our spec api jar although I won't insist on it.

We should be using the servicemix woodstox bundle already -- if wstx-asl is still getting
pulled in we need to find out how and add a maven exclusion for it.  If v4 is out an already
a bundle, even better :-)

thanks
david jencks

> 
> -- 
> Daniel Kulp
> dkulp@apache.org
> http://dankulp.com/blog


Mime
View raw message