jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhubin Salehi" <zsal...@tirawireless.com>
Subject RE: Problem with importing repository from XML
Date Wed, 26 Sep 2007 15:13:38 GMT
I noticed xercesImpl-2.8.1.jar and xerces-1.2.3.jar were in WEB-INF\lib directory of my WAR
file, they have probability been added as a dependency of some other library because I don't
have them in my Maven dependencies. I removed them and not it works fine. But I'm wondering
why Xerces 2.8.1 does not support http://xml.org/sax/features/namespace-prefixes

Zhubin

-----Original Message-----
From: Jukka Zitting [mailto:jukka.zitting@gmail.com]
Sent: Wednesday, September 26, 2007 10:37 AM
To: users@jackrabbit.apache.org
Subject: Re: Problem with importing repository from XML


Hi,

On 9/26/07, Zhubin Salehi <zsalehi@tirawireless.com> wrote:
> I'm trying to export part of my repository and import it agaion. I get the
> following exception when I try to import:
>
> Caused by: javax.jcr.InvalidSerializedDataException: failed to parse XML
> stream: [...]
> Caused by: org.xml.sax.SAXNotRecognizedException: Feature:
> http://xml.org/sax/features/namespace-prefixes
> [...]
>
> I was wondering if anyone has see this error before. Does i mean that it
> can't resolve http://xml.org/sax/features/namespace-prefixes?

Which version of Xerces are you using? Jackrabbit is trying to enable
namespace prefix reporting in the XML parser, but it seems like in
your case the XML parser (Xerces) doesn't support or recognize that
option.

BR,

Jukka Zitting

Mime
View raw message