streamable string is not seekable

Bug #943788 reported by Matthias Brantner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
High
Matthias Brantner

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.

Related branches

Changed in zorba:
status: New → Fix Committed
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.