Huib,
unfortunately, I didn't manage to reproduce the problem either. Attached you see what I get with the latest code base, a single "new JaxRxServer()" call and your POST request (on Windows 7).
Christian ______________
curl -i -X POST -H "Content-Type: application/query+xml" -d "<query xmlns='http://jax-rx.sourceforge.net'><text>count(/user)</text></query>" "admin:admin@localhost:8984/basex/jax-rx/lexus/"
HTTP/1.1 404 Not Found Content-Type: text/plain Transfer-Encoding: chunked Server: Jetty(6.1.25)
Database 'lexus' is niet gevonden. ______________
curl -i -X POST -H "Content-Type: application/query+xml" -d "<query xmlns='http://jax-rx.sourceforge.net'><text>count(/)</text></query>" "admin:admin@localhost:8984/basex/jax-rx/input/"
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: 110 Server: Jetty(6.1.25)
jax-rx:results xmlns:jax-rx="http://jax-rx.sourceforge.net"jax-rx:result1</jax-rx:result></jax-rx:results> ______________
On Fri, Jun 3, 2011 at 11:12 AM, Huib Verwey Huib.Verwey@mpi.nl wrote:
Hi Dimitar, I've just updated from the Git repository and am now running basex-6.6.3-SNAPSHOT. Unfortunately the problem persists, both for <query> with and without namespace. Hartelijke groet, Huib Verweij. -- Drs. Huib Verweij Senior software developer - The Language Archive Max Planck Institute for Psycholinguistics P.O. Box 310 6500 AH Nijmegen The Netherlands t +31-24-3521911 e huib.verwey@mpi.nl w http://www.mpi.nl/
Op 31 mei 2011, om 13:14 heeft Huib Verweij het volgende geschreven:
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/"
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk