From 90ce0adbba8c812036b593312db562341d812521 Mon Sep 17 00:00:00 2001 From: Adrien Prokopowicz Date: Sat, 11 Jul 2015 22:36:36 +0000 Subject: [PATCH] [GB.XML] * BUG: XmlWriter: Buffers are now correctly flushed when ending a document. git-svn-id: svn://localhost/gambas/trunk@7179 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.xml/src/gb.xml/.component | 3 +-- gb.xml/src/gb.xml/.project | 2 +- gb.xml/src/gb.xml/.src/XmlWriter.class | 2 ++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gb.xml/src/gb.xml/.component b/gb.xml/src/gb.xml/.component index 8604f2e9d..f887c95c6 100644 --- a/gb.xml/src/gb.xml/.component +++ b/gb.xml/src/gb.xml/.component @@ -1,5 +1,4 @@ [Component] Key=gb.xml -Version=0.0.2 +Version=3.6.90 State=1 - diff --git a/gb.xml/src/gb.xml/.project b/gb.xml/src/gb.xml/.project index 1e2dc5b8a..47c1eeea6 100644 --- a/gb.xml/src/gb.xml/.project +++ b/gb.xml/src/gb.xml/.project @@ -1,5 +1,5 @@ # Gambas Project File 3.0 -# Compiled with Gambas 3.4.0 +# Compiled with Gambas 3.7.90 Title=gb.xml Startup=MTest Version=3.6.90 diff --git a/gb.xml/src/gb.xml/.src/XmlWriter.class b/gb.xml/src/gb.xml/.src/XmlWriter.class index 95a439a1e..5c8ffce7d 100644 --- a/gb.xml/src/gb.xml/.src/XmlWriter.class +++ b/gb.xml/src/gb.xml/.src/XmlWriter.class @@ -203,6 +203,8 @@ Public Function EndDocument() As String Me.EndElement() Wend $opened = False + Flush #$stream + Return $buffer End