I'm trying to REST POST a sequence of commands in accordance with
http://docs.basex.org/wiki/Commands#XML_Syntax
I get the error response:
*cvc-elt.1: Cannot find the declaration of element 'commands'.*
Is there a namespace for <commands> wrapper element? I'd expect it to be
but the same message is returned on the qualified name:
*cvc-elt.1: Cannot find the declaration of element 'basex:commands'.*
Using Basex 8.5.3
Thanks in advance,
Hi Arjan,
I agree it would be nice to have support for multiple commands in REST. As such an extension has been asked for more than once, I have now added a new GitHub issue for your request [1].
The REST API was defined some years before the introduction of XML command scripts; that’s the main reason why the syntax differs so much.
All the best, Christian
[1] https://github.com/BaseXdb/basex/issues/1393
2016-11-26 15:04 GMT+01:00 Arjan Loeffen arjan.loeffen@armatiek.nl:
I'm trying to REST POST a sequence of commands in accordance with
http://docs.basex.org/wiki/Commands#XML_Syntax
I get the error response:
cvc-elt.1: Cannot find the declaration of element 'commands'.
Is there a namespace for <commands> wrapper element? I'd expect it to be
but the same message is returned on the qualified name:
cvc-elt.1: Cannot find the declaration of element 'basex:commands'.
Using Basex 8.5.3
Thanks in advance,
-- Arjan Loeffen, Armatiek BV 06-12918997
basex-talk@mailman.uni-konstanz.de