Arg, my offline copy of the internal draft of XQuery was not up-to-date.  
Note to myself: always double-check the latest version when you write emails 
while traveling abroad...  (note also I am pleased to hear that, because I was 
going to ask to reopen this, as it makes more sense to me as it is defined now 
:-P)

  Sorry for the confusion.  Regards,


-- 

Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/


----- Mail original -----
> De : Christian Grün 
> À : Florent Georges 
> Cc : BaseX Talk 
> Envoyé le : Dimanche 24 mars 2013 19h57
> Objet : Re: [basex-talk] Old EQName syntax
> 
> Hi Florent,
> 
>>    The wiki page at http://docs.basex.org/wiki/Java_Bindings
>>  contains the following example:
>> 
>>      Q{java:java.lang.Math}cos(xs:double(0))
>> 
>>  which if I am right is the old syntax for EQNames, which should
>>  be now:
>> 
>>      "java:java.lang.Math":cos(xs:double(0))
> 
> thanks for your mail. It’s actually the other way round: previous
> versions of the spec. proposed the Clark notation (using quotes), but
> the syntax was changed to the Q{...} syntax [1], in order to avoid
> collisions with the future map syntax of XQ31: { "x" : "y" 
> }.
> 
> Best,
> Christian
> 
> [1] http://www.w3.org/TR/xquery-30/#prod-xquery30-BracedURILiteral
> 
_______________________________________________
BaseX-Talk mailing list
[email protected]
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Reply via email to