DotJoshJohnson / vscode-xml

XML Tools for Visual Studio Code
MIT License
322 stars 86 forks source link

Missing ) in xmlTools.xqueryExecutionArguments #207

Closed tc-turner closed 6 years ago

tc-turner commented 6 years ago

Description The default settings for xmlTools.xqueryExecutionArguments are as follows

  "xmlTools.xqueryExecutionArguments": [
    "-xquery",
    "$(script)",
    "-in",
    "$(input)",
    "-out",
    "$(input.output.xml"
  ],

The last line is missing a closing parenthesis, I updated my user settings to

    "xmlTools.xqueryExecutionArguments": [
        "-xquery",
        "$(script)",
        "-in",
        "$(input)",
        "-out",
        "$(input.output.xml)"
    ], 

And now I am able to use the xpath/xquery tools.

Extension Version 2.3.1

VS Code Version 1.24.1

Operating System macOS 10.13.5

silencesys commented 6 years ago

I think based on the documentation and extension code it should be:

    "xmlTools.xqueryExecutionArguments": [
        "-xquery",
        "$(script)",
        "-in",
        "$(input)",
        "-out",
        "$(input).output.xml"
    ], 

so it's only part of the filename replaced.