Dear BaseX people,
there is a serializatioin parameter for adding a byte-order-mark when serializing. Such a document cannot be parsed using fn:doc() - error message:
[FODC0002] "C:/projects/ofx-works/work/test-bom.xml" (Line 1): Content ist nicht zulässig in Prolog.
This message is rather unspecific. My question: is there a way how to determine if a byte-order-mark is used in a given file?
Kind regards,Hans-Jürgen