streamable string is not seekable
Bug #943788 reported by
Matthias Brantner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
High
|
Matthias Brantner |
Bug Description
import module namespace f = "http://
let $s := f:read-
let $p := fn:parse-xml($s)
let $l := fn:string-
return ($p, $l)
The query returns 0 for $l after the streamable string has been consumed by parse-xml.
Related branches
lp:~zorba-coders/zorba/bug-943788
- Till Westmann: Approve
- Matthias Brantner: Approve
-
Diff: 52 lines (+5/-2)5 files modifiedChangeLog (+1/-0)
modules/org/expath/ns/file.xq.src/file.cpp (+1/-1)
src/store/naive/atomic_items.cpp (+1/-0)
test/rbkt/ExpQueryResults/zorba/file/streamability2.xml.res (+2/-0)
test/rbkt/Queries/zorba/file/streamability2.spec (+0/-1)
Changed in zorba: | |
status: | New → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.