[ 
https://issues.apache.org/jira/browse/JCR-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558417#action_12558417
 ] 

Felix Meschberger commented on JCR-1261:
----------------------------------------

First of all the implementation proposed in the patch is very simple.
Second, I absolutely agree, that when going away from Xerces, we should 
probably also dump the DOM.

But, now comes number three: For a quick and easy and most failsafe migration 
away from Xerces, we should keep as much code as possible, which means keeping 
the use of DOM. Hence the really very simple DocumentBuilder implementation.

> Replace Xerces/JAXP based (un)marshalling by KXml2 based implementation
> -----------------------------------------------------------------------
>
>                 Key: JCR-1261
>                 URL: https://issues.apache.org/jira/browse/JCR-1261
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-webdav
>    Affects Versions: 1.3.3
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>         Attachments: JCR-1261.patch, JCR-1261_2.patch
>
>
> Proposing to replace the current Xerces/JAXP based implementation of XML data 
> unmarshalling and marshalling to be replaced by a MXP ([1]) based 
> implementation. MXP is an implementation of the XML PullParser API [2] and 
> provides a very mall footprint (120KB) and far better performance than Xerces 
> (my tests showed around 50% performance increase over Xerces for both 
> unmarshalling and marshalling, see also [3]).
> Why do I care ? I would like to include WebDAV functionality into Sling and 
> bundle is with as little dependencies as possible ( the xpp3 lib might even 
> be bundled into this project to minimize dependencies). In addition, I think 
> XML (un)marshalling performance is crucial in any WebDAV solution. For this 
> reason, this project can only win if we add a more performing library.
> [1] http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/
> [2] http://www.xmlpull.org
> [3] http://www.extreme.indiana.edu/~aslom/xpp_sax2bench/results.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to