On Sat, 2 Nov 2002 23:34:15 +0100
jmt <[EMAIL PROTECTED]> wrote:

> Trying to use xupdate, I get the following discrepancy :
> 
> This java code :
> 
> String xupdate="<xupdate:modifications version=\"1.0\" 
> xmlns:xupdate=\"http://www.xmldb.org/xupdate\";>"+
>                       "<xupdate:update select=\"/[EMAIL 
> PROTECTED]'"+login+"']/name/title\">"+title+
>                       "</xupdate:update>"+
>                       "</xupdate:modifications>";
> 
> try{
> XUpdateQueryService 
> service=(XUpdateQueryService)usersCollection.getService("XUpdateQueryService","1.0");
>                       service.update(xupdate);
> 
> etc.
> 
> produces the following error :
> 
> XUpdate error : Query error: java.lang.Exception: 
> java.lang.NoClassDefFoundError: org/apache/xerces/framework/XMLParser
> 
> But this class is a feature from xerces-1, and xindice-1.1 is supposed to use 
> xerces-2

Lexus 0.2.2 uses JAXP to locate an XML parser. Previous releases
included hardcoded dependencies on Apache Xerces. Regards, Lars.
--
______________________________________________________________________
Lars Martin                             mailto:[EMAIL PROTECTED]
SMB GmbH                                        http://www.smb-tec.com
Tel: +49-(0)341-699 46 04                    Fax: +49-(0)341-699 47 04
Product Management BusinessServer BS1

Reply via email to