Bug in XMLDBDeleteProcessor?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug in XMLDBDeleteProcessor?

Mike Ahlers
Hi,

The processor assumes the file is located at the root:

2008-06-25 14:38:52,038 ERROR ProcessorService  - Exception at line 10, column 39 of oxf:/apps/visum-country-data/list/delete-country.xpl (executing processor: name='{http://www.orbeon.com/oxf/processors}xmldb-delete')
org.apache.xmlrpc.XmlRpcException: org.exist.EXistException: Document /db/xx.xml not found

While it is not:

<p:processor name="oxf:xmldb-delete">
    <p:input name="datasource" href="../exist-datasource.xml"/>
    <p:input name="query">
        <xdb:delete collection="/db/visum-online/countries">
            /country-profile[@id = 'xx']
        </xdb:delete>
    </p:input>
</p:processor>

Unless, I am doing something entirely wrong here...

- Mike