Skip to content

Commit 97a0f29

Browse files
Fix LT-21388: Preserve 'xml' namespace on attributes while merging
* This will keep the spaces from being dropped
1 parent 4d87b23 commit 97a0f29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LibFLExBridge-ChorusPlugin/DomainServices/FileWriterService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2010-2016 SIL International
1+
// Copyright (c) 2010-2016 SIL International
22
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
33

44
using System;
@@ -21,7 +21,7 @@ internal static void WriteNestedFile(string newPathname, XmlNode root)
2121
{
2222
using (var writer = XmlWriter.Create(newPathname, CanonicalXmlSettings.CreateXmlWriterSettings()))
2323
{
24-
XmlUtils.WriteNode(writer, root.OuterXml, new HashSet<string>());
24+
XmlUtils.WriteNode(writer, root.OuterXml, new HashSet<string>(), new HashSet<string> { "xml" });
2525
}
2626
}
2727

0 commit comments

Comments
 (0)