Closed
Description
Description
I'm not sure if this is more like feature request or bug report. It seems to me that $(script)
is being replaced by output file when is set as last in the argument array.
"xmlTools.xqueryExecutionArguments": [
"-i", "$(input)",
"-o", "$(input).output.xml",
"-c", "$(script)"
],
When I try to execute query with setup above, I will receive error message:
Stopped at ./, 1/15:
Unknown command: abraed.output.xml. Try 'help'.
Reason why I'm reporting this instead of just reordering argument array is the fact that BaseX seems to require fixed position of arguments: -i file.xml -o file.output.xml -c query.xq
.
I have also tried this query in command line and everything worked fine, when I change position of the output file nothing is written into it.
Extension Version
2.3.1
VS Code Version
1.24.1
Operating System
Windows 10 (1803)