Skip to content

Align validate parsing with the specification - #2806

Merged
ChristianGruen merged 1 commit into
BaseXdb:mainfrom
GuntherRademacher:validate
Nov 18, 2026
Merged

ChristianGruen merged 1 commit into
BaseXdb:mainfrom
GuntherRademacher:validate

Conversation

@GuntherRademacher

@GuntherRademacher GuntherRademacher commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

This one is not important, and maybe not even useful, except for aligning the parser with the specification, thus removing noise when comparing results with those of other parsers.

Per the spec, a validate expression is not valid syntactically, when the Expr in the curly braces is empty. This is thus now rejected with XPST0003, which is checked before eventually issuing XQST0075.

@ChristianGruen
ChristianGruen merged commit 7d68576 into BaseXdb:main Nov 18, 2026
2 checks passed
@ChristianGruen
ChristianGruen deleted the validate branch November 18, 2026 14:05
@ChristianGruen

Copy link
Copy Markdown
Member

(bringd’ nix, schad’ nix ;·)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants