On 16/01/2014, Dirk Kirsten dk@basex.org wrote:
Given your configuration, you can access these functions using the following URLs:
- For %rest:path("{$x}") it can be anything like
http://localhost:8984/test or http://localhost:8984/test2 and test (or test2) will be bound to the variable $x
- For %rest:path("xmldatabasefile.xml/bookstore/book") it will be
The urls were enclosed in quotation marks:
... %rest:path("http://localhost:8984/test") ... %rest:path("http://localhost:8984/xmldatabasefile.xml/bookstore/book") ...
The server response:
HTTP ERROR 400
Problem accessing /. Reason: Stopped at /path/to/webapp/restxq.xqm, 17/10: [BASX0003] Variable $x is not assigned by the annotations.
Powered by Jetty://
What are these annotations please?