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 <fm...@gmail.com> on 2008/01/24 14:28:26 UTC

Re: [jira] Reopened: (JCR-1343) Replace xerces for serialization by JAXP

Hi,

<rant>
Hmpf, I like XML in Java - it is more than complicated ....
</rant>

Is this still an issue with today's Java 1.4.2 ? What is the exact
dependency on Java 1.4.x of Jackrabbit ?

If we still require this workaround, then this should probably be
located in a well visible location such as jackrabbit-jcr-commons for
all to be accessible.

Regards
Felix

Am Donnerstag, den 24.01.2008, 04:59 -0800 schrieb Jukka Zitting (JIRA):
> [ https://issues.apache.org/jira/browse/JCR-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Jukka Zitting reopened JCR-1343:
> --------------------------------
> 
> 
> We probably need to do something similar to what's being discussed in JCR-1310 to avoid losing namespace declarations in the serialized XML document.
> 
> > 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.
> 


Re: [jira] Reopened: (JCR-1343) Replace xerces for serialization by JAXP

Posted by Felix Meschberger <fm...@gmail.com>.
Hi,

Am Donnerstag, den 24.01.2008, 14:58 +0100 schrieb Julian Reschke:
> Felix Meschberger wrote:
> > Hi,
> > 
> > <rant>
> > Hmpf, I like XML in Java - it is more than complicated ....
> > </rant>
> 
> ...it is, in particular when older versions need to be supported.
> 
> > Is this still an issue with today's Java 1.4.2 ? What is the exact
> > dependency on Java 1.4.x of Jackrabbit ?
> 
> 1) Yes, I think that is the case.
> 
> 2) Dunno -- I'd love to simply state that Jackrabbit requires JDK5 :-).

So do I ;-)

Regards
Felix


Re: [jira] Reopened: (JCR-1343) Replace xerces for serialization by JAXP

Posted by Julian Reschke <ju...@gmx.de>.
Felix Meschberger wrote:
> Hi,
> 
> <rant>
> Hmpf, I like XML in Java - it is more than complicated ....
> </rant>

...it is, in particular when older versions need to be supported.

> Is this still an issue with today's Java 1.4.2 ? What is the exact
> dependency on Java 1.4.x of Jackrabbit ?

1) Yes, I think that is the case.

2) Dunno -- I'd love to simply state that Jackrabbit requires JDK5 :-).

> ...

BR, Julian