Skip to content
This repository was archived by the owner on Sep 3, 2020. It is now read-only.
This repository was archived by the owner on Sep 3, 2020. It is now read-only.

Support XQuery 3.1 #34

@rhdunn

Description

@rhdunn

Running xquerydoc on a file that contains XQuery 3.1 constructs results in a lexical error when using the raw output, and an empty error module when using the xqdoc and html outputs. For example:

module  namespace array = "http://www.w3.org/2005/xpath-functions/array";
declare function array:sort($array as array(*)) as array(*) external;

This fails at:

declare function array:sort($array as array(*)) as array(*) external;
                                           ^

with:

lexical analysis failed while expecting '(:'
after successfully scanning 1 characters
at line 12, column 78 ...(*)) as array(*) ...

This is because it is missing the AnyArrayTest ebnf construct from the XQuery 3.1 grammar (and the other XQuery 3.1 constructs).

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