Didn't you read my comment? Yes, with scritping enabled (which is the default), Zorba is not 100% compliant with the XQUF spec. But if you disable scripting, then the query does throw XUST0001.
This is not the only spec deviation introduced by scripting. ** Changed in: zorba Status: Confirmed => Invalid -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1020588 Title: Illegal updating expressions Status in Zorba - The XQuery Processor: Invalid Bug description: <a/>, delete node <a/> Expected: XUST0001 Returned: <a/> Hope this helps, Christian To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1020588/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : email@example.com Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp