ERROR MESSAGE: Token StartElement in state EndRootElement would result in an invalid XML document. Make sure that the ConformanceLevel setting is set to ConformanceLevel.Fragment or ConformanceLevel.Auto if you want to write an XML fragment.

Good afternoon!

When attempting to edit the target text, I receive an error message and my Trados shuts down.  

Before this happened, I tried to change the settings to bring down the percentage for pretranslate and translation search. I am now unable to use Trados.

I am using Trados Studio 2021, V. 16.2.12.9338.

Thank you in advance!

The full error message reads:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<SDLErrorDetails time="11/17/2022 9:59:28 AM">
<ErrorMessage>Token StartElement in state EndRootElement would result in an invalid XML document. Make sure that the ConformanceLevel setting is set to ConformanceLevel.Fragment or ConformanceLevel.Auto if you want to write an XML fragment.
<cG><c>16493</c><trG><tr type="origination">GabyCarlos</tr><dt>2010-09-09T08:54:41</dt></trG><trG><tr type="modification">Gabby</tr><dt>2017-07-20T10:26:32</dt></trG><lG><l lang="EN-US" type="English"/><tG id="55"><t>trafficking in persons</t><trG><tr type="origination">GabyCarlos</tr><dt>2010-09-09T08:54:41</dt></trG><trG><tr type="modification">GabyCarlos</tr><dt>2010-09-09T08:54:41</dt></trG></tG><tG id="25"><t>human trafficking</t><trG id="28"><tr type="origination">Gabby</tr><dt>2014-02-06T</ErrorMessage>
<Exception>
<Type>System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<HelpLink />
<Source>Sdl.MultiTerm.Core.XmlProcessor</Source>
<HResult>-2146233088</HResult>
<StackTrace><![CDATA[ at Sdl.MultiTerm.Core.XmlProcessor.EntryXmlProcessor.Transform(String inputXml)
at Sdl.MultiTerm.Client.TerminologyProvider.TerminologyPrioviders.AbstractMultiTermTerminologyProvider.GetEntry(MultiTermTermbase termbase, Int32 id)
at Sdl.MultiTerm.Client.TerminologyProvider.MultiTermTermbase.GetEntry(Int32 id)
at Sdl.MultiTerm.Client.TerminologyProvider.TerminologyPrioviders.AbstractMultiTermTerminologyProvider.GetEntry(Int32 id)
at Sdl.MultiTerm.Client.TerminologySearch.TermRecognitionHit.get_Entry()
at Sdl.TranslationStudio.Editor.Terminology.TermBaseAutoSuggestProvider.GetSuggestionData(EditingContext context)
at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.SuggestionDataProviders.GetSuggestionData(EditingContext context)
at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.SuggestionWindow.ShowSuggestionWindow(Form parent, ISideBySideDocumentEditingView view, SideBySideEditor editor, ISuggestionDataProvider suggestionDataProvider, SuggestionSite site, Char firstChar, Int32 sourceStartPosition, SuggestionMode mode, ITranslatableDocumentEditorSettings settings, Boolean requireCaseResolving, Boolean incrementTextOffset, Int32 imeBehavior)
at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.ShowSuggestionWindow(Form parent, ISideBySideDocumentEditingView view, SideBySideEditor editor, ISuggestionDataProvider suggestionDataProvider, SuggestionSite site, Char firstChar, Int32 sourceStartPosition, SuggestionMode mode, ITranslatableDocumentEditorSettings settings, Boolean requireCaseResolving, Boolean incrementTextOffset)
at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.LaunchIntellisenseWindow(Boolean keyPressed, Char lastChar, Boolean afterImeCompositionUpdate)
at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.ProcessDocumentContentChanged(List`1 operations, Boolean afterImeCompositionUpdate)
at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.Document_ContentChanged(Object sender, FrameworkDocumentContentChangedEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX



Added error stack to a code snippet
[edited by: Paul at 6:40 AM (GMT 0) on 20 Nov 2022]
emoji