Re: [Zorba-coders] [Merge] lp:~davidagraf/zorba/fn_trace_jsoniq_fix into lp:zorba

2012-08-15 Thread David Graf
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 
side:

./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.
-- 
https://code.launchpad.net/~davidagraf/zorba/fn_trace_jsoniq_fix/+merge/119478
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~davidagraf/zorba/fn_trace_jsoniq_fix into lp:zorba

2012-08-15 Thread Till Westmann
Review: Approve

Of course! I'm sorry about the confusion.
-- 
https://code.launchpad.net/~davidagraf/zorba/fn_trace_jsoniq_fix/+merge/119478
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~davidagraf/zorba/fn_trace_jsoniq_fix into lp:zorba

2012-08-14 Thread David Graf
Review: Approve


-- 
https://code.launchpad.net/~davidagraf/zorba/fn_trace_jsoniq_fix/+merge/119478
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~davidagraf/zorba/fn_trace_jsoniq_fix into lp:zorba

2012-08-14 Thread Till Westmann
Review: Needs Fixing

I'm trying to run:

zorba -q 'trace(attribute { a } { 1 }, a)'

and that still results in a 

serialization error [err:SENR0001]: 1: can not serialize attribute node

Does this work for you?
-- 
https://code.launchpad.net/~davidagraf/zorba/fn_trace_jsoniq_fix/+merge/119478
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp