zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #05582
[Bug 943788] [NEW] streamable string is not seekable
Public bug reported:
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.
** Affects: zorba
Importance: High
Assignee: Matthias Brantner (matthias-brantner)
Status: New
--
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
Follow ups
References