Dear BaseX team,
I'm a little confused by the behavior of the fn:doc function:
doc('/c:/projects/foo.xml')
yields this error msg:
[FODC0002] Line 1: No text allowed before root element.
Whereas these work:
doc('c:/projects/foo.xml')
doc('file://c:/projects/foo.xml')
Is this a bug or a feature? At any rate the error msg is confusing.
I've used the latest snapshot (20131211.173706).
Kind regards,
Hans-Juergen