Skip to content

Grammar doesn't handle comments in {} #4

Description

@ndw

This produces "lexical analysis fails..."

xquery version "1.0-ml";

declare function test(
  $name as xs:string
)
{
  <foo>
    <success>true</success>
    {(: This is a comment... :)}
    <something/>
  </foo>
};

"test"

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions