This query doesn't work because the serializer of the query result throws an 
error. The result of a query must not be an attribute. fn:trace does work on my 

./bin/zorba -q 'trace(attribute { "a" } { 1 }, "a")'
a [1]:  a="1"  <========== fn:trace print
<?xml version="1.0" encoding="UTF-8"?>
serialization error [err:SENR0001]: "1": can not serialize attribute node; 
raised at /home/dagraf/zorba/sandbox/src/api/serialization/serializer.cpp:456

You need to execute something like: ./bin/zorba -q 'data(trace(attribute { "a" 
} { 1 }, "a"))'
... to not see an error.
Your team Zorba Coders is subscribed to branch lp:zorba.

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to