Hi Hans-Jürgen,
Attempt #1
I added to the config file .basex the line: XINCLUDE = false
XINCLUDE is a local option. Did you specify it below the "# Local Options" comment? If yes, I am pretty you are using an older version of BaseX.
Attempt #2
I inserted into the query this initial line: declare option db:XINCLUDE 'false';
How does your full query look like?
With the latest snapshot, it should also be possible to specify 'xinclude' with functions like fetch:xml or db:add:
fetch:xml('input.xml', map { 'xinclude': false() })
Hope this helps, Christian
[1] http://files.basex.org/releases/latest/
So I'm at a loss. I need to switch off xinclude because my input files use xinclude in combination with xpointer attributes, like this:
<xi:include href="../../../globals/notifications.xml" xpointer="xpointer(/config/*)" parse="xml" />
Applying doc(...) to such a file, yields this result:
[FODC0002] "file:///C:/projects/otds/otds-config/branches/path/to/bar.xml" (Line 11): "include" mit href "../../../globals/notifications.xml" nicht erfolgreich, und es wurde kein "fallback"-Element gefunden.
Can you help me?
Hans-Jürgen
PS: Using version: BaseX 8.3 beta 474994c [Standalone]