From: BADJAKSEZIAN C. (DSIT-EX) <cha...@sn...> - 2004-04-28 13:54:13
|
When I try to remove a document, I always have an exception thrown... I'm working with Cocoon 2.1.4 Tomcat 4.1.29 JDK 1.4.2_03 and eXist-1.0b1 Here is a query which fails : xquery version "1.0"; declare namespace xmldb="http://exist-db.org/xquery/xmldb"; declare namespace util="http://exist-db.org/xquery/util"; xmldb:register-database("org.exist.xmldb.DatabaseImpl", true()), let $root:=xmldb:collection("xmldb:exist:///db/queries","admin","") let $result := xmldb:store($root,"query.xml",<test>Test</test>) let $suppr := xmldb:remove-resource($root, "query.xml") return $suppr I've got the same error doing the same actions separately, I mean the storage (which is OK) and then the removing. Thanks, Charles |