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:[EMAIL PROTECTED]
Sent: Wednesday, September 26, 2007 10:37 AM
To: [email protected]
Subject: Re: Problem with importing repository from XML


Hi,

On 9/26/07, Zhubin Salehi <[EMAIL PROTECTED]> 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

Reply via email to