err:XQST0070: Namespace predefined prefix 'xml' can not be bound
Hi all,
When i do a xquery in orbeon with the processor "oxf:xmldb-query" i am getting
the following exception: err:XQST0070: Namespace predefined prefix 'xml' can not be bound.
This is only when i use the embedded exists database, using the config below:
<datasource>
<driver-class-name>org.exist.xmldb.DatabaseImpl</driver-class-name>
<uri>xmldb:exist:///</uri>
<username>admin</username>
<password>admin</password>
</datasource>
When i use the string "xmldb:exist://localhost:8180/tenderned/exist/xmlrpc" as uri the xquery runs perfectly.
I am using the following query:
<xdb:query collection="/db/orbeon" xmlns:xdb="http://orbeon.org/oxf/xml/xmldb">
xquery version "1.0" encoding "UTF-8";
<ok>
{for $r in . return <help>{name($r)}</help>}
</ok>
</xdb:query>
I am using orbeon 3.7.0-beta1 version.
Why do i get this error when using the embedded exist? How can i fix this?
Thanks in advance,
Cheers
Mark Dijkstra
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws