Hello Florent, I can't replicate this. It did work for my in a short test (using the latest Snapshot). Which version did you use? Cheers, Dirk On 11/24/2014 09:12 AM, Florent Gallaire wrote:
Same question: http://stackoverflow.com/questions/22676574/why-cant-you-query-database-path...
/rest/xml/path/test.xml returns the content of the XML file, but if you try a query like: /rest/xml/path/test.xml?query=//element you have the error: [BXDB0005] Query must yield database nodes.
What's wrong here ?
Best regards
Florent
-- Dirk Kirsten, BaseX GmbH, http://basex.org |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 28 28 676, Fax: 0049 7531 20 05 22