Op 31 mei 2011, om 13:00 heeft Dimitar Popov het volgende geschreven:
could you try the POST request, but without specifying the namespace of the query element:
url -i -X POST -H "Content-Type: application/query+xml" -d "<query><text>count(/user)</text></query>" "admin:admin@localhost:8984/basex/jax-rx/lexus/"
Sure.
$ curl -i -X POST -H "Content-Type: application/query+xml" -d "<query><text>count(/user)</text></query>" "admin:admin@localhost:8984/basex/jax-rx/lexus/" HTTP/1.1 400 Bad Request Content-Type: text/plain Transfer-Encoding: chunked Server: Jetty(6.1.26)
cvc-elt.1: Cannot find the declaration of element 'query'.
Same result unfortunately.
Hartelijke groet,
Huib Verweij.