[
https://issues.apache.org/jira/browse/JCR-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger closed JCR-1343.
----------------------------------
Resolution: Fixed
Replaced the use of Xerces by JAXP, which causes the following changes:
* ImportContentHandler constructor throws a RepositoryException if JAXP is
not able to
provide a transform DocumentHandler. Likewise the extended
constructors forward
this exception. This is ok, since the calling methods within the
library are declared to
throw a RepositoryException.
* Add a very simple testcase to ensure JAXP is used correctly to setup the
DocumentHandler.
Implemented in Rev. 614859.
> Replace xerces for serialization by JAXP
> ----------------------------------------
>
> Key: JCR-1343
> URL: https://issues.apache.org/jira/browse/JCR-1343
> Project: Jackrabbit
> Issue Type: Improvement
> Components: jackrabbit-jcr-rmi
> Affects Versions: 1.4
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: 1.5
>
>
> The org.apache.jackrabbit.rmi.xml.ImportContentHandler class currently uses
> Xerces to implement the SAX DocumentHandler and serialize XML into a byte[].
> This dependency should be dropped and JAXP be used instead for this
> functionality.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.