Just had the problem that Rest Query's on File/Path in a database not Working anymore (don't know right but i think it is since 7.8).

A few Versions before there was the possibility to directly query on a path / file in a database

e.g. http://basex:8984/rest/mydata/210/?query=<q>.....

throws

[BXDB0005] Query must yield database nodes.


now i need to define path in query and start on Database

e.g. http://basex:8984/rest/mydata/?query=<q>{ for $i in db:open('mydata',"210")/record .....

btw.

e.g. http://basex:8984/rest/mydata/210/?query=<q>{ for $i in db:open('mydata',"210")/record .....

would also throw

[BXDB0005] Query must yield database nodes.

 

Is it a bug?


Greetings Marcus