What about this bug? Is it done?
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
Ext func arg item seq can not be consumed 2 times
Status in Zorba - The XQuery Processor:
If one tried to consume an external function argument item sequence 2
times, the 2nd time no more item is returned: next returns false and
the item is NULL.
To reproduce, take any external module and in the "evaluate"
implementation of a function do the following (make sure that the
function receives a non non-empty sequence as the first parameter):
Iterator_t iter = args->getIterator();
// item is valid here
iter = args->getIterator();
// item is NULL here
To manage notifications about this bug go to:
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