-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Labels
EditorialMinor typos, wording clarifications, example fixes, etc.Minor typos, wording clarifications, example fixes, etc.XPathAn issue related to XPathAn issue related to XPathXQueryAn issue related to XQueryAn issue related to XQuery
Description
We could pick up the ++ and ** operators from Invisible XML for defining "a sequence of [one|zero] or more Xs separated by Ys".
So for example
Annotation ::= "%" EQName ("(" AnnotationValue ("," AnnotationValue)* ")")?
changes to
Annotation ::= "%" EQName ("(" (AnnotationValue ++ ",") ")")?
and
TypedFunctionTest ::= ("function" | "fn") "(" (SequenceType ("," SequenceType)*)? ")" "as" SequenceType
becomes
TypedFunctionTest ::= ("function" | "fn") "(" (SequenceType ** ",") ")" "as" SequenceType
Note that there is an impact on anyone who uses the machine-readable XML version of our grammar. However, the current version could easily be generated by preprocessing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
EditorialMinor typos, wording clarifications, example fixes, etc.Minor typos, wording clarifications, example fixes, etc.XPathAn issue related to XPathAn issue related to XPathXQueryAn issue related to XQueryAn issue related to XQuery