Stringstream error

Bug #898064 reported by William Candillon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
High
Unassigned

Bug Description

The following query:

import module namespace http = "http://www.zorba-xquery.com/modules/http-client";

declare namespace h = "http://expath.org/ns/http-client";

let $item := http:send-request(<h:request href="https://stream.twitter.com/1/statuses/sample.json?delimited=length"
                                                                             method="GET"
                                                                             username="foo"
                                                                             password="bar"
                                                          />,
                                                        "https://stream.twitter.com/1/statuses/sample.json?delimited=length",
                                                        ()
                                )[2]
return $item

Fails when text serialization is used:
zorba -q test.xq -f --serialize-text
Zorba error [zerr:ZXQP0003]: internal error: basic_ios::clear

Related branches

Changed in zorba:
importance: Undecided → Critical
importance: Critical → High
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.