From c22b03ff3e5e58eb8cfcc9c0288e2df224c18658 Mon Sep 17 00:00:00 2001 From: aflorescu579774 Date: Fri, 20 Dec 2024 10:44:36 +0200 Subject: [PATCH] Language Weaver Provider 2.0.5.0 - SDLCOM-6267: Updated the XliffConverter, Set `CheckCharacters = false` in `XmlWriterSettings` to allow serialization of content with unusual or escape characters. --- LanguageWeaverProvider/Properties/AssemblyInfo.cs | 2 +- LanguageWeaverProvider/XliffConverter/Converter/Converter.cs | 2 +- LanguageWeaverProvider/pluginpackage.manifest.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LanguageWeaverProvider/Properties/AssemblyInfo.cs b/LanguageWeaverProvider/Properties/AssemblyInfo.cs index 3891b13f27..8673bb8f7e 100644 --- a/LanguageWeaverProvider/Properties/AssemblyInfo.cs +++ b/LanguageWeaverProvider/Properties/AssemblyInfo.cs @@ -29,4 +29,4 @@ // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("2.0.0.0")] -[assembly: AssemblyFileVersion("2.0.4.0")] \ No newline at end of file +[assembly: AssemblyFileVersion("2.0.5.0")] \ No newline at end of file diff --git a/LanguageWeaverProvider/XliffConverter/Converter/Converter.cs b/LanguageWeaverProvider/XliffConverter/Converter/Converter.cs index aa3f9b873a..31248e0664 100644 --- a/LanguageWeaverProvider/XliffConverter/Converter/Converter.cs +++ b/LanguageWeaverProvider/XliffConverter/Converter/Converter.cs @@ -57,7 +57,7 @@ public static Xliff ParseXliffString(string text) public static string PrintXliff(Xliff xliff) { using var writer = new StringWriter(); - using (var tw = XmlWriter.Create(writer, new XmlWriterSettings { Indent = true })) + using (var tw = XmlWriter.Create(writer, new XmlWriterSettings { Indent = true, CheckCharacters = false })) { Serializer.Serialize(tw, xliff); } diff --git a/LanguageWeaverProvider/pluginpackage.manifest.xml b/LanguageWeaverProvider/pluginpackage.manifest.xml index 4067f5ff80..4a165345e9 100644 --- a/LanguageWeaverProvider/pluginpackage.manifest.xml +++ b/LanguageWeaverProvider/pluginpackage.manifest.xml @@ -5,7 +5,7 @@ Language Weaver Provider Language Weaver Provider - 2.0.4.0 + 2.0.5.0