[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: Make sure XML gets *all* printed.
From: |
gnunet |
Subject: |
[libeufin] branch master updated: Make sure XML gets *all* printed. |
Date: |
Fri, 13 Mar 2020 16:07:19 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new beacd86 Make sure XML gets *all* printed.
beacd86 is described below
commit beacd86d09a2523cc43449a194bb8ca92b0425ac
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Mar 13 16:06:48 2020 +0100
Make sure XML gets *all* printed.
---
util/src/main/kotlin/XmlCombinators.kt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/src/main/kotlin/XmlCombinators.kt
b/util/src/main/kotlin/XmlCombinators.kt
index 9a1ad56..d799c57 100644
--- a/util/src/main/kotlin/XmlCombinators.kt
+++ b/util/src/main/kotlin/XmlCombinators.kt
@@ -81,8 +81,8 @@ fun constructXml(indent: Boolean = false, f:
XmlDocumentBuilder.() -> Unit): Str
*/
// writer.writeStartDocument()
f(b)
- // writer.writeEndDocument()
- return "<?xml version=\"1.0\" encoding=\"UTF-8\"
standalone=\"yes\"?>\n${stream.buffer}"
+ writer.writeEndDocument()
+ return "<?xml version=\"1.0\" encoding=\"UTF-8\"
standalone=\"yes\"?>\n${stream.buffer.toString()}"
}
class XmlDocumentDestructor {
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: Make sure XML gets *all* printed.,
gnunet <=