Hi all,
i`m using eXist
database and trying to delete an elemet with
xmldb:delete processor from a collection in my
"db/orbeon/mydocs" and then i get the following error
:
"db/9339a72.xml" is
not found.
it works only
if i move the file into the "/db" path. so it seems te
be getting wrong path.
i tried it within
orbeon3.7 BETA and orbeon Nightly
Build but it doesnt work.
any body with a
solution ?
thanx.
<?xml
version="1.0" encoding="utf-8"?>
<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:xdb="http://orbeon.org/oxf/xml/xmldb" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > <p:processor name="oxf:xmldb-delete"> <p:input name="datasource" href="datasource.xml"/> <p:input name="query"> <xdb:delete collection="/db/orbeon/mydocs"> for $d in collection('/db/orbeon/mydocs') //mail[id='1'] </xdb:delete> </p:input> </p:processor> </p:config> -- 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 |
Hi Mehmet, Not sure if there has been any reply.... The "/db" seems to be embedded in eXist, at least in the default/standard configuration. Also, the orbeon.war file will be given the servlet context "orbeon" If you have not tried to use the eXist gui, or even pointed your browser to the eXist context, that will give us a hint to your collection layout. E.g. or, in this case where the war context is "ops" and the guest accessible content is accessible. In any case, I think the "/db" path is assumed with the eXist Rest interface, and perhaps the eXist list would provide more details, Regards, Hank On Apr 10, 2009, at 4:02 AM, Mehmet Gocer wrote:
Hank Ratzesberger NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- 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 |
In reply to this post by Mehmet Gocer
Hi,
To be sure I have also changed
the permissions (r-w-u) via eXist Gui but it doesn`t worked.
the following works fine
and orbeon gets correct path;
- save a new document (thus;
/db/orbeon/mycollection/12333e3r.xml)
- delete a child in a document
(12333e3r.xml)
- update in the same
document.
is this information usefull
?
Thanx!
Van: Hank Ratzesberger
[mailto:[hidden email]]
Verzonden: dinsdag 14 april 2009 18:43 Aan: [hidden email] Onderwerp: [ops-users] Re: xmldb:delete getting wrong path ? Hi Mehmet,
Not sure if there has been any reply....
The "/db" seems to be embedded in eXist, at least in the
default/standard
configuration. Also, the orbeon.war file will be given the servlet
context "orbeon"
If you have not tried to use the eXist gui, or even pointed your browser to
the
eXist context, that will give us a hint to your collection layout.
E.g.
or, in this case where the war context is "ops"
and the guest accessible content is accessible.
In any case, I think the "/db" path is assumed with the eXist Rest
interface,
and perhaps the eXist list would provide more details,
Regards,
Hank On Apr 10, 2009, at 4:02 AM, Mehmet Gocer wrote:
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042
-- 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 |
In reply to this post by Mehmet Gocer
Hi
all,
Nobody is able to
answer on my question?
Regards,
Mehmet
Van: Mehmet Gocer Verzonden: woensdag 15 april 2009 12:12 Aan: '[hidden email]' Onderwerp: RE: [ops-users] Re: xmldb:delete getting wrong path ? Hi,
To be sure I have also changed
the permissions (r-w-u) via eXist Gui but it doesn`t worked.
the following works fine
and orbeon gets correct path;
- save a new document (thus;
/db/orbeon/mycollection/12333e3r.xml)
- delete a child in a document
(12333e3r.xml)
- update in the same
document.
is this information usefull
?
Thanx!
Van: Hank Ratzesberger
[mailto:[hidden email]]
Verzonden: dinsdag 14 april 2009 18:43 Aan: [hidden email] Onderwerp: [ops-users] Re: xmldb:delete getting wrong path ? Hi Mehmet,
Not sure if there has been any reply....
The "/db" seems to be embedded in eXist, at least in the
default/standard
configuration. Also, the orbeon.war file will be given the servlet
context "orbeon"
If you have not tried to use the eXist gui, or even pointed your browser to
the
eXist context, that will give us a hint to your collection layout.
E.g.
or, in this case where the war context is "ops"
and the guest accessible content is accessible.
In any case, I think the "/db" path is assumed with the eXist Rest
interface,
and perhaps the eXist list would provide more details,
Regards,
Hank On Apr 10, 2009, at 4:02 AM, Mehmet Gocer wrote:
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042
-- 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 |
Administrator
|
In reply to this post by Mehmet Gocer
This is an old thread, but we just committed a fix related to a similar issue:
Bug http://forge.ow2.org/tracker/index.php?func=detail&aid=314418&group_id=168&atid=350207 Commit http://github.com/orbeon/orbeon-forms/commit/f91a5e560bd85d14fe2fa822977b39b6bc8a04de -Erik
|
Free forum by Nabble | Edit this page |