[xquery-talk] operations on derived numeric type

Michael Kay mike at saxonica.com
Sat Aug 31 05:09:14 PDT 2013


On 30 Aug 2013, at 19:23, Benito van der Zander wrote:

>> 
>> 
>> PS how many times will I forget that $x-1 is parsed as a variable name.  A token allowed in a symbol *and* as an operator makes no sense.  Old argument I'm sure. 
> 
> 
> That's especially fun if you have an implementation that does not raise an error on an unknown variable name...
> 

I would question whether such a product would qualify as an "implementation".

Though admittedly, while the spec requires variable names to exist in the static context, it doesn't actually prohibit the static context being infinite.

Michael Kay
Saxonica


More information about the talk mailing list