Skip to content

XQuery’s Arrow Operator is not recognised #395

@CedricTarbouriech

Description

@CedricTarbouriech

Description
It seems like the Arrow Operator is not recognised by the extension. It messes up the analysis of the code that follows the first occurrence of the operator. The error I get is the following:

lexical analysis failed
while expecting [Wildcard, EQName, IntegerLiteral, DecimalLiteral, DoubleLiteral, StringLiteral, S, '$', '%', '(', '(#', '(:', '+', '-', '.', '..', '/', '//', '<', '<!--', '<?', '@', '[', 'after', 'allowing', 'ancestor', 'ancestor-or-self', 'and', 'append', 'array', 'as', 'ascending', 'at', 'attribute', 'base-uri', 'before', 'boundary-space', 'break', 'case', 'cast', 'castable', 'catch', 'child', 'collation', 'comment', 'constraint', 'construction', 'context', 'continue', 'copy', 'copy-namespaces', 'count', 'decimal-format', 'declare', 'default', 'delete', 'descendant', 'descendant-or-self', 'descending', 'div', 'document', 'document-node', 'element', 'else', 'empty', 'empty-sequence', 'encoding', 'end', 'eq', 'every', 'except', 'exit', 'external', 'first', 'following', 'following-sibling', 'for', 'ft-option', 'function', 'ge', 'group', 'gt', 'idiv', 'if', 'import', 'in', 'index', 'insert', 'instance', 'integrity', 'intersect', 'into', 'is', 'item', 'json', 'json-item', 'last', 'lax', 'le', 'let', 'loop', 'lt', 'mod', 'modify', 'module', 'namespace', 'namespace-node', 'ne', 'node', 'nodes', 'object', 'only', 'option', 'or', 'order', 'ordered', 'ordering', 'parent', 'preceding', 'preceding-sibling', 'processing-instruction', 'rename', 'replace', 'return', 'returning', 'revalidation', 'satisfies', 'schema', 'schema-attribute', 'schema-element', 'score', 'self', 'sliding', 'some', 'stable', 'start', 'strict', 'structured-item', 'switch', 'text', 'to', 'treat', 'try', 'tumbling', 'type', 'typeswitch', 'union', 'unordered', 'updating', 'validate', 'value', 'variable', 'version', 'where', 'while', 'with', 'xquery', '{', '{|']
at line 51, column 10:
...> normalize-unicode("NFD") => replace("\p{IsCombiningDiacritical...

Screenshots
image

Extension Version
v2.5.1

VS Code Version
v1.93.1

Operating System
Windows 10

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