[xquery-talk] VarRef

Sijo Mathew sijo at atinav.com
Mon May 30 16:22:34 PDT 2005


> The actual line from that (normative) grammar at
> http://www.w3.org/TR/xquery/#prod-xquery-VarRef is:
> [147] PredefinedEntityRef ::= "&" ("lt" | "gt" | "amp" | "quot" |
> "apos") ";"
>                                /* ws: explicit */
> where the important part for your question is the ws: explicit comment.
> This indicates that in this special production whitespace has to be
> handled explicitly, e.g. there may not be whitespace between & and lt.
> In the production rule for VarRef (at
> http://www.w3.org/TR/xquery/#prod-xquery-VarRef) you don't find that
> comment, which means there may be whitespace between the $ and the
VarName.
>

I was not aware of the /* ws: explicit */ rule specified in
the Appendix. Thank you for mentioning the same.

regards
Sijo



More information about the talk mailing list