Skip to content

Bug: Missing Semicolon in output Parameter Breaks XQuery Execution #66

@allanc007

Description

@allanc007

🐛

Image

Description

When executing an XQuery script from VS Code using CTRL + ALT + ENTER, the request sent to the eXist-db Atom Editor endpoint fails unless the output parameter ends with a semicolon (;).

The plugin correctly extracts the serialization method (e.g., "xml"), but the Atom Editor endpoint requires:

output=xml;

Without the trailing semicolon, the query execution fails.

Environment

VS Code

eXist-db (tested with 7.0.0-SNAPSHOT)

Multi-workspace setup

Endpoint:

/exist/apps/atom-editor/execute
Steps to Reproduce

Open an .xql file in VS Code.

Include serialization options such as:

declare option output:method "xml";

Press CTRL + ALT + ENTER.

Observe failed execution unless output includes a trailing semicolon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions