return zip:update-entries($target, $output)
== Sorry, is failed to check that discussion page earlier! ==
Thanks for reporting this, can you still reproduce the BaseX error in the latest snapshot? :-)
Maybe you could adresse our mailing list [http://www.basex.org/open-source]