fn:serialize fails

Bug #867174 reported by Daniel Turcanu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Medium
Nicolae Brinza

Bug Description

There is an internal error: ios_base::failbit set
when running the code:

import module namespace http = "http://www.zorba-xquery.com/modules/http-client";
import schema namespace httpsch = "http://expath.org/ns/http-client";
declare namespace output="http://www.w3.org/2010/xslt-xquery-serialization";
variable $load-result;
(:try{ :)
$load-result := http:send-request(<httpsch:request method="GET" href="http://www.zorba-xquery.com/site2/doc/latest/zorba/xqdoc/xhtml/www.zorba-xquery.com_modules_cryptography_hash.html"/>,
                                    (), ());
let $content := fn:serialize($load-result[2],
                            <output:serialization-parameters>
                                <output:method value="text"/>
                            </output:serialization-parameters>)
return $content

Chris Hillery (ceejatec)
tags: removed: core-runtime
tags: added: serialization
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.