[Zorba-coders] [Bug 867262] Re: Ext func arg item seq can not be consumed 2 times

2012-03-25 Thread Markos Zaharioudakis
** 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/867262 Title: Ext func arg item seq can not be consumed 2 times Status in Zorba

[Zorba-coders] [Bug 867262] Re: Ext func arg item seq can not be consumed 2 times

2011-11-16 Thread Matthias Brantner
** Changed in: zorba Status: Fix Released => Fix Committed ** Changed in: zorba Milestone: None => 2.1 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867262 Title: Ext func arg item

[Zorba-coders] [Bug 867262] Re: Ext func arg item seq can not be consumed 2 times

2011-10-11 Thread Markos Zaharioudakis
** Changed in: zorba Status: New => 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/867262 Title: Ext func arg item seq can not be consumed 2 times Status in Zorba - The XQue

[Zorba-coders] [Bug 867262] Re: Ext func arg item seq can not be consumed 2 times

2011-10-11 Thread Gabriel Petrovay
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. https://bugs.launchpad.net/bugs/867262 Title: Ext func arg item seq can not be consumed 2 times Status in Zorba - The XQuery Processor: New Bu

[Zorba-coders] [Bug 867262] Re: Ext func arg item seq can not be consumed 2 times

2011-10-10 Thread Matthias Brantner
I think it's fine to restrict the API to only allow one iterator at a time. If the user has a use case that requires two active iterators at a time, he should think about his use case and eventually materialize in his code. I'm going to approve the merge proposal. -- You received this bug noti

[Zorba-coders] [Bug 867262] Re: Ext func arg item seq can not be consumed 2 times

2011-10-10 Thread Markos Zaharioudakis
Gabriel, would it be ok with your use case if instead of calling getIterator() a second time, you reused the same iterator? Basically, the code would look something like this: Item item; Iterator_t iter = args[0] ->getIterator( ); iter->open(); iter->next(item); iter->close(); // iter = args[0]