** Changed in: zorba Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867195
Title: External updating function illegal here only in debug mode Status in Zorba - The XQuery Processor: Fix Released Bug description: The following query declares an updating function which invokes an external updating function. The actual updating function called does not seems to be relevant. import module namespace doc = "http://www.zorba-xquery.com/modules/store/dynamic/documents"; declare updating function local:aaa($uri) { doc:put($uri, document{element{"a"}{"a"}}) }; local:aaa("http://aaa"); doc:document("http://aaa") In debug mode: </home/battlezone/workspace/SmallTests/Test.xq>:5,1: update static error [err:XUST0001]: updating expression illegal here; raised at /zorba/pulsrc/src/compiler/expression/expr_base.cpp:99 In release mode: <?xml version="1.0" encoding="UTF-8"?> <a>a</a> To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867195/+subscriptions -- 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