Hi,
May be a new bug relative to the previous one:
My database "db" stores a "mydoc.xml" document. I get 2 differents response with those 2 supposed equivalent queries (unless I am mistaken)http://dictionary.reverso.net/english-french/unless%20I%20am%20mistaken:
1 - http://localhost:8080/BaseX80/rest?*query=doc(%27db/mydoc.xml%27)//*:person* -> these one returns the expected result
2- http://localhost:8080/BaseX80/rest/*db?query=doc(%27mydoc.xml%27)//*:person* -> Returns an error: Stopped at /var/lib/tomcat7/webapps/BaseX80, 1/5: [FODC0002] Resource '/var/lib/tomcat7/webapps/BaseX80/mydoc.xml' does not exist.
Is it a bug?
I am working with the snasphot BaseX80-20141117.211706
Thank you.
Jérôme
Le 18/11/2014 15:34, Christian Grün a écrit :
Hi Jérôme,
Do you know when the next BaseX official released will be available?
Our plan is to align the 8.0 release with the XMLPrague 2015 conference (Feb 13-15).
Keeping our fingers crossed… Christian
On Tue, Nov 18, 2014 at 10:23 AM, Jérôme Chauveau jerome.chauveau@unicaen.fr wrote:
Hi Christian,
Perfectly fixed apparently! Thank you so much for your responsiveness.
Regards, Jérôme. Le 17/11/2014 21:23, Christian Grün a écrit :
Hi Jérôme,
the strange behavior you encountered should be fixed in the latest snapshot [1].
Looking forward to your feedback, Christian
[1] http://files.basex.org/releases/latest/
On Mon, Nov 17, 2014 at 6:46 PM, Christian Grün christian.gruen@gmail.com wrote:
Dear Jérôme,
I solved my problem with a new tomcat + basex installation/deployment.
Good news!
I always get a "read permission needed" with this kind of query (my db contains xml-tei documents):
[A] = http://localhost:8080/BaseX79/rest/mydb/mydoc.xml?query=//*:p%5B1]
Thanks for reporting this. I did some testing, and you are completely right, this is a bug. I will give you a note once this is fixed.
Christian
-- Jérôme Chauveau - SAIC-CERTIC - Campus 4 Université de Caen Basse-Normandie