Paul J. Lucas has proposed merging lp:~zorba-coders/zorba/bug-942171-html into 
lp:zorba/html-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-html/+merge/178775

Changed file:write() to file:write-text().
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-942171-html/+merge/178775
Your team Zorba Coders is subscribed to branch lp:zorba/html-module.
=== modified file 'test/Queries/link_crawler2.xq2'
--- test/Queries/link_crawler2.xq2	2012-08-04 02:23:35 +0000
+++ test/Queries/link_crawler2.xq2	2013-08-06 14:53:49 +0000
@@ -255,9 +255,14 @@
 
 local:delete-containers();
 
-file:write(fn:resolve-uri("link_crawler_result.xml"),
-            <result>{$result}</result>,
-            <output:serialization-parameters>
-                <output:indent value="yes"/>
-            </output:serialization-parameters>)
+file:write-text(
+  fn:resolve-uri("link_crawler_result.xml"),
+  serialize(
+    <result>{$result}</result>,
+    <output:serialization-parameters>
+      <output:indent value="yes"/>
+    </output:serialization-parameters>
+  )
+)
 
+(: vim:set syntax=xquery et sw=2 ts=2: :)

-- 
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

Reply via email to