'True' is an unexpected token. The expected token is "" or "". Line 1, position 1901. .... when trying to Generate Target Translation

I translated an IDML file in Trados 2021 but now when trying to generate the target file, I get the following error messages:

Trados Studio error message displaying 'True' is an unexpected token at line 1, position 1901 in file 240325_PCHX_PLX_Turbo_DE_Entwurf1.idml.sdlxliff.

Pop-up error message in Trados Studio stating 'True' is an unexpected token with expected tokens being double or single quotes at line 1, position 1901.

Here is also the strack trace error log that I saved:

<SDLErrorDetails time="10/04/2024 17:08:28">
  <ErrorMessage>'True' is an unexpected token. The expected token is '"' or '''. Line 1, position 1901.</ErrorMessage>
  <Exception>
    <Type>System.Xml.XmlException, System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <LineNumber>1</LineNumber>
    <LinePosition>1901</LinePosition>
    <SourceUri>file:///C:/Users/Matthieu Waldburger/AppData/Local/Temp/SDLTempFileManager/q55qte5w.y0x</SourceUri>
    <HelpLink />
    <Source>System.Xml</Source>
    <HResult>-2146232000</HResult>
    <StackTrace><![CDATA[   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
   at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(String expectedToken1, String expectedToken2)
   at System.Xml.XmlTextReaderImpl.ParseAttributes()
   at System.Xml.XmlTextReaderImpl.ParseElement()
   at System.Xml.XmlTextReaderImpl.ParseElementContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space)
   at System.Xml.XPath.XPathDocument..ctor(XmlReader reader, XmlSpace space)
   at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.Init(XmlReader xmlReader)
   at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.RunParser(String inputFile)
   at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.TransformationCaller.TransformWithoutXsl(String ruleName, RuleFileType ruleType, CDataProcessor dataProcessor, String inputFile, String outputFile)
   at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.TransformationCaller.RunParser(IFilterFactory factory, String ruleName, RuleFileType ruleType, String filePath, CDataProcessor dataProcessor)
   at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.TransformationCaller.TransformString(IFilterFactory factory, String ruleName, RuleFileType ruleType, String xml, CDataProcessor dataProcessor)
   at Sdl.FileTypeSupport.Filters.Idml.FileFormat.DocumentControllerFramework.CStoryProcessor.ProcessStoryXML()
   at Sdl.FileTypeSupport.Filters.Idml.FrameworkImpl.Writer.CWriterImpl.ProcessStory(String tagContent)
   at Sdl.FileTypeSupport.Filters.Idml.FrameworkImpl.Writer.CWriterImpl.StructureTag(IAbstractTagProperties tagInfo)
   at Sdl.FileTypeSupport.Filters.Idml.FrameworkImpl.Writer.CFileWriter.StructureTag(IStructureTagProperties tagInfo)
   at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.LineNumberTracker.StructureTag(IStructureTagProperties tagInfo)
   at Sdl.FileTypeSupport.Framework.Integration.NativeWriterMessagesProxy.StructureTag(IStructureTagProperties tagInfo)
   at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.NativeBuffer.StructureTag(IStructureTagProperties tagInfo)
   at Sdl.FileTypeSupport.Filters.Processors.FeedbackRemovalProcessor.StructureTag(IStructureTagProperties tagInfo)
   at Sdl.FileTypeSupport.Framework.NativeApi.AbstractNativeGenerationContentProcessor.StructureTag(IStructureTagProperties tagInfo)
   at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.StructureTagContentItem.Invoke(IAbstractNativeContentHandler output)
   at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.NativeBuffer.Release()
   at Sdl.FileTypeSupport.Framework.Native.CommentMerger.ParagraphUnitEnd()
   at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.ParagraphUnitEndContentItem.Invoke(IAbstractNativeContentHandler output)
   at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.NativeBuffer.Release()
   at Sdl.FileTypeSupport.Framework.Native.AdjacentClonedPairedTagsMerger.StopHolding()
   at Sdl.FileTypeSupport.Framework.Native.AdjacentClonedPairedTagsMerger.Text(ITextProperties textInfo)
   at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.NativeBuffer.Text(ITextProperties textInfo)
   at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.VisitText(IText text)
   at Sdl.FileTypeSupport.Framework.Bilingual.Text.AcceptVisitor(IMarkupDataVisitor visitor)
   at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.VisitContainerItems(IEnumerable`1 container)
   at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToNativeConverter.VisitSegment(ISegment segment)
   at Sdl.FileTypeSupport.Framework.Bilingual.Segment.AcceptVisitor(IMarkupDataVisitor visitor)
   at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.VisitContainerItems(IEnumerable`1 container)
   at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.ProcessParagraphUnitContent(IParagraphUnit paragraphUnit)
   at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   at Sdl.FileTypeSupport.Framework.Bilingual.WhitespaceBetweenSegmentsBilingualProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   at Sdl.FileTypeSupport.Framework.Integration.GenerationBilingualContentLocator.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   at Sdl.FileTypeSupport.Framework.Integration.FileGenerator.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   at Sdl.ProjectApi.AutomaticTasks.CancelProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   at Sdl.FileTypeSupport.Framework.Integration.LocationMarkerLocator.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   at Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.ParagraphUnitBuffer.ProcessParagraphUnit(IParagraphUnit pu)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.OutputParagraphUnit(IParagraphUnit pu)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseLocalizableParagraphUnit(transunit transunit, LockTypeFlags lockFlags)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseTransUnit(transunit transunit)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseGroup(group group)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.OnGroup(XmlElement group)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.SdlXliffFeeder.<ContinueScanning>b__14_11(ISdlXliffStreamContentHandler handler)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.SdlXliffFeeder.ContinueScanning()
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ContinueParsing()
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseNext()
   at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
   at Sdl.ProjectApi.AutomaticTasks.NativeFileGenerator.GenerateFiles(ContentRestriction restriction, Boolean preview, Int32 filePercentBase, Int32 filePercentFactor)
   at Sdl.ProjectApi.AutomaticTasks.GenerateTargetTranslation.GenerateTargetTranslationTask.ProcessFile(IExecutingTaskFile executingTaskFile)
   at Sdl.ProjectApi.AutomaticTasks.AbstractFileLevelAutomaticTaskImplementation.Execute()]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>Trados Studio</ProductName>
    <ProductVersion>Studio16</ProductVersion>
    <EntryAssemblyFileVersion>16.2.12.9338</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 11 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>LAPTOP-MATTHIEU\Matthieu Waldburger</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>LAPTOP-MATTHIEU</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>33250360 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

Has anyone experienced something similar, and how can I resolve this?



Generated Image Alt-Text
[edited by: Trados AI at 3:19 PM (GMT 1) on 10 Apr 2024]