Paul J. Lucas has proposed merging 
lp:~zorba-coders/zorba/bug-1158052-data-formatting into 
lp:zorba/data-formatting-module.

Commit message:
Corresponding changes for bug #1158052.

Requested reviews:
  Paul J. Lucas (paul-lucas)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-1158052-data-formatting/+merge/170944

Corresponding changes for bug #1158052.
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-1158052-data-formatting/+merge/170944
Your team Zorba Coders is subscribed to branch lp:zorba/data-formatting-module.
=== modified file 'src/com/zorba-xquery/www/modules/xsl-fo.xq.src/xslfo.cpp'
--- src/com/zorba-xquery/www/modules/xsl-fo.xq.src/xslfo.cpp	2013-06-12 13:52:59 +0000
+++ src/com/zorba-xquery/www/modules/xsl-fo.xq.src/xslfo.cpp	2013-06-22 13:09:26 +0000
@@ -231,8 +231,8 @@
 
     std::string lBinaryString((const char*) dataElements, dataSize);
     std::stringstream lStream(lBinaryString);
-    String base64S = base64::encode(lStream);
-    Item lRes = theFactory->createBase64Binary(base64S.c_str(), base64S.length());
+    String base64S( base64::encode(lStream) );
+    Item lRes( theFactory->createBase64Binary(base64S.c_str(), base64S.length(), true) );
     return ItemSequence_t(new SingletonItemSequence(lRes));
   } catch (zorba::jvm::VMOpenException&) {
     Item lQName = theFactory->createQName("http://www.zorba-xquery.com/modules/xsl-fo";,

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