ORA-XQ-110-B: grammar note gn:parens as written does not apply to ExprCommentContent

SECTION 3.1.6: XQuery comments

Rule [4] ExprCommentContent refers to /* gn: parens */.  The
text of that grammar note does not appear to be relevant to
rule [4], since the grammar note only talks about distinguishing
a function from a comment.  Perhaps what is meant is that,
when processing the interior of a comment, if you encounter 
"(", you need to look ahead one more character to see if the
"(" is part of ExprCommentContent or the beginning of a new
ExprComment.  If so, grammar note gn:parens needs to be enhanced
to discuss this issue.  

- Steve B.

Received on Monday, 16 February 2004 14:58:22 UTC