I have found that a few files are not txt, but binary ones. I can open them with file:read-binary. However, the reference to XML can be confusing because I am not dealing with XML.
On 12. Jan 2021, at 13:41, Martin Honnen martin.honnen@gmx.de wrote:
On 12.01.2021 13:33, Giuseppe G. A. Celano wrote:
Hi,
I am trying to open a bunch of files with file:read-text file:///read-text, but I get the error [file:io-error file:///io-error] invalid XML character: #0, even I am not dealing with XML. Any idea why this happens? Thanks!
Perhaps as XQuery strings impose XML rules for allowed characters? Can you read out the files as binary hex or base64?