Hi Christian,
I have added “The input can be a UTF-8 encoded XML document, a binary resource, or any other data (such as JSON or CSV) that can be successfully converted to a resource by the server.” to my documentation. Create() add(), replace() and store() now all use exec <- c(as.raw(<BYTE>), addVoid(name), addVoid(input_to_raw(input))) as basic pattern. The 'Execute' command has been renamed to 'Execute' (better alignment with the server protocol)
Op 23-02-2022 om 11:18 schreef Christian Grün:
Hi Ben,
(Writing a test took half an hour ;-()
Good tests are sometimes more valuable than the implementation itself ;)
I have looked at QueryParser.java and probably it should not be that difficult to convert to an R-version (it is still a lot of work).
Do you have a test-set with xquery-statements?
Cheers, Ben