You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2007/12/07 16:49:43 UTC

[jira] Updated: (JCR-1261) Replace Xerces/JAXP based (un)marshalling by XPP3 based implementation

     [ https://issues.apache.org/jira/browse/JCR-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated JCR-1261:
-----------------------------------

    Attachment: JCR-1261.patch

Patch implementing the required changes:

   * Add three new classes implementing a serializer, and DocumentBuilder[Factory] based on MXP1
   * Add MXP1 (xpp3) dependency
   * Remove Xerces dependency

Note: The DocumentBuilder[Factory] stuff is only included to not have to change the complete library.

> Replace Xerces/JAXP based (un)marshalling by XPP3 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
>         Attachments: JCR-1261.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.