I have a database like so
<rest:databases xmlns:rest="http://basex.org/rest"
name="xml"
resources="1">
<rest:resource type="xml"
content-type="application/xml"
size="33739"
>path/test.xml</rest:resource>
</rest:databases>
Queries like /rest/xml?query=//element
work
But
Queries like /rest/xml/path?query=//element
do not
Nor do queries like /rest/xml/path/test.xml?query=//element
Both return an error:
[BXDB0005] Query must yield database nodes.
What am I misunderstanding about the architecture?