Hi Ben,
Everywhere where you use 'input', It is unclear what is valid input, a file or a document?
Thanks for the pointer. Further above in the documentation, it says:
“The create(), add(), replace() and store() methods pass on input streams to the corresponding database commands.”
I have added an explanatory string to that, I hope that helps:
“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.”
(Writing a test took half an hour ;-()
Good tests are sometimes more valuable than the implementation itself ;)
Cheers, Christian