Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Grammar problems introduced by #1732 #1737

Open
GuntherRademacher opened this issue Jan 28, 2025 · 1 comment
Open

Grammar problems introduced by #1732 #1737

GuntherRademacher opened this issue Jan 28, 2025 · 1 comment
Labels
Bug Something that doesn't work in the current specification PR Pending A PR has been raised to resolve this issue XQuery An issue related to XQuery

Comments

@GuntherRademacher
Copy link
Contributor

Today's merge of #1732 has introduced two problems to the grammar as now shown in the spec:

  • ValueExpr has changed from

    ValueExpr ::= ValidateExpr | ExtensionExpr | SimpleMapExpr
    

    to

    ValueExpr ::= SimpleMapExpr
    

    This disconnects ValidateExpr and ExtensionExpr from the rest of the grammar.

  • AnnotatedDecl has been added without being referenced. Also it describes something that would look like

    declare declare variable $x external
@ChristianGruen ChristianGruen added Bug Something that doesn't work in the current specification XQuery An issue related to XQuery labels Jan 31, 2025
@michaelhkay
Copy link
Contributor

This was caused by not correctly carrying through the differences between XPath and XQuery grammar.

@michaelhkay michaelhkay added the PR Pending A PR has been raised to resolve this issue label Feb 5, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Bug Something that doesn't work in the current specification PR Pending A PR has been raised to resolve this issue XQuery An issue related to XQuery
Projects
None yet
Development

No branches or pull requests

3 participants