[xquery-talk] Necessary whitespace

Michael Dyck jmdyck at ibiblio.org
Tue Apr 28 14:22:01 PDT 2015


On 15-04-28 05:17 PM, Michael Dyck wrote:
> On 15-04-28 04:33 PM, Benito van der Zander wrote:
>> Hi Michael,
>>
>> What if it parses it in
>> 12!(12 div.)
>> as two tokens?
>> "." is a terminal symbol, and "div" is not a NCName there, just part of a
>> MultiplicativeExpr.
>
> As pointed out by Ghislain yesterday, the last paragraph of A.2.2 applies:
> if a QName or NCName is followed by a "." or "-", the two tokens must be
> separated by whitespace and/or Comments.

Oh, sorry, right, you're saying it's not an NCName. Hm, that might be a spec 
bug then.

-Michael





More information about the talk mailing list