Paul J. Lucas has proposed merging lp:~zorba-coders/zorba/bug-942171-csv into lp:zorba/csv-module.
Commit message: Changed file:write() to file:write-text(). Requested reviews: Paul J. Lucas (paul-lucas) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-942171-csv/+merge/178773 Changed file:write() to file:write-text(). -- https://code.launchpad.net/~zorba-coders/zorba/bug-942171-csv/+merge/178773 Your team Zorba Coders is subscribed to branch lp:zorba/csv-module.
=== modified file 'test/Queries/converters/base64/common.xqlib' --- test/Queries/converters/base64/common.xqlib 2012-04-11 09:49:40 +0000 +++ test/Queries/converters/base64/common.xqlib 2013-08-06 14:52:28 +0000 @@ -37,7 +37,7 @@ }; declare %an:sequential function commons:testWriteXml($path as xs:string, $xml as item()) as xs:string* { - file:write($path, $xml, ()); + file:write-text($path, serialize($xml)); "SUCCESS" }; @@ -65,12 +65,15 @@ }; declare %an:sequential function commons:testWriteSerializeXml($path as xs:string, $xml as item()) as xs:string* { - file:write( + file:write-text( $path, - $xml, - <output:serialization-parameters> - <output:method value="xml"/> - </output:serialization-parameters>); + serialize( + $xml, + <output:serialization-parameters> + <output:method value="xml"/> + </output:serialization-parameters> + ) + ); "SUCCESS"; };
-- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp