You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by jmt <jm...@dxdydz.net> on 2002/11/02 23:34:15 UTC
xupdate
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=\"/user[@login='"+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
Re: xupdate
Posted by Lars Martin <La...@smb-tec.com>.
On Sat, 2 Nov 2002 23:34:15 +0100
jmt <jm...@dxdydz.net> 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=\"/user[@login='"+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:Lars.Martin@smb-tec.com
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