XML Reporter closes tag and flushes stream at end of TestCase and Section tags.
This fixes an issue where XML reports on stdout are broken by printf statements
diff --git a/projects/SelfTest/Baselines/xml.sw.approved.txt b/projects/SelfTest/Baselines/xml.sw.approved.txt
index c4a78b7..cfa7b1c 100644
--- a/projects/SelfTest/Baselines/xml.sw.approved.txt
+++ b/projects/SelfTest/Baselines/xml.sw.approved.txt
@@ -8845,6 +8845,9 @@
     <TestCase name="first tag" tags="[tag1]">
       <OverallResult success="true"/>
     </TestCase>
+    <TestCase name="has printf">
+spanner      <OverallResult success="true"/>
+    </TestCase>
     <TestCase name="just failure" tags="[.][fail][hide][isolated info][messages]">
       <Failure>
         Previous info should not be seen