zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #05581
[Bug 943788] Re: streamable string is not seekable
** Branch linked: lp:~zorba-coders/zorba/bug-943788
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/943788
Title:
streamable string is not seekable
Status in Zorba - The XQuery Processor:
New
Bug description:
import module namespace f = "http://expath.org/ns/file";
let $s := f:read-text(fn:resolve-uri("tmp.xml"))
let $p := fn:parse-xml($s)
let $l := fn:string-length($s)
return ($p, $l)
The query returns 0 for $l after the streamable string has been
consumed by parse-xml.
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/943788/+subscriptions
References