Skip to content

Fix parsing of validate - #2803

Merged
ChristianGruen merged 1 commit into
BaseXdb:mainfrom
GuntherRademacher:parse-validate
Nov 11, 2026
Merged

ChristianGruen merged 1 commit into
BaseXdb:mainfrom
GuntherRademacher:parse-validate

Conversation

@GuntherRademacher

Copy link
Copy Markdown
Member

The query parser reports a syntax error for this one:

validate type xs:integer {<e>2026</e>}

This is caused by its failure to skip the whitespace between type and the following EQName. This is fixed here. With the fix it correctly reports

[XQST0075] Validation not supported.

@ChristianGruen
ChristianGruen merged commit f2e5e94 into BaseXdb:main Nov 11, 2026
3 of 4 checks passed
@ChristianGruen
ChristianGruen deleted the parse-validate branch November 11, 2026 22:56
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