Markos, the worst result i can get is </zorba/test/test13.xq>:9,41: Zorba error [zerr:ZXQP0003]: internal error: clone() not implemented for expression; raised at /zorba/repository/accept-pul/src/compiler/rewriter/rules/fold_rules.cpp:1099.
Thanks. Cheers, Federico declare namespace ann = "http://www.zorba-xquery.com/annotations"; declare updating function local:upd() { let $node as element():= <a><b/></a> return rename node $node/b as "new-name" }; declare %ann:sequential %ann:accept-pul function local:works($pul as item()*) { variable $x:=$pul; variable $y:=$pul; 1 }; local:works(local:upd()) -- https://code.launchpad.net/~fcavalieri/zorba/accept-pul/+merge/76613 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : [email protected] Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp

