Hi guys,
in the new basex 8.4.2 version I cannot write on the db via restxq.
For example if you create an empty 'testdb',
set in the .basex conf file the option MIXUPDATES = true,
and call the '/dbaddtest' restxq implemented as in the following:
---
module namespace o = "test";
declare
%rest:path("/dbaddtest")
%rest:GET
function o:dbaddtest() {
let $o := db:add('testdb', <aaa/>, '111.xml')
return <ok/>
};
---
it will not work in the basex 8.4.2 i.e. the document is not added to the
db, but it will return <ok/> without errors.
On the contrary the db:add executed in the BaseX.jar client is working well.
And also the above restxq code is working as expected in the basex 8.3.1
version.
Thank you in advance.
Regards,
Vincenzo