Even without streaming this program doesn't seem to work

You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.

  file:read-text-lines() blocking

Status in Zorba - The XQuery Processor:

Bug description:
  I wrote the following query:
  import module namespace file ="http://expath.org/ns/file";;

  for $line at $i in file:read-text-lines("doc.xml")
    if($i lt 1104869) then () else concat($line, "

  Where doc.xml is a large document.
  The result of the query seems to never end and its memory footprint is huge.

To manage notifications about this bug go to:

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

Reply via email to