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