Error on target generation PPTX 'Failed to save target content: An error occurred while parsing EntityName.'

 Hi,

On generating the target file for a Powerpoint PPTX file, I am getting the error mentioned above. There are no illegal ampersands neither in the SDLXLIFF file itself, nor in the path name.

Checked in SDLXLIFF with regex '&(?!amp|quot|apos|lt|gt)'

The position indicated in the error message seems to point to "<doc-info xmlns="http://sdl.com/FileTypes/SdlXliff/1.0">", which is of course not the problem.

The workaround that we used was to downsave the presentation to PPT and use perfect match to transfer the translations. The PPT could be exported fine.

I am aware there is a plugin developed by Jesse Good called "Fail Safe Task", which could have detected this beforehand. However, I think it should be self-evident that files that can be imported can also be exported. If the file cannot be exported, the import should simply fail.

<SDLErrorDetails time="1/16/2018 9:40:01 AM">
  <ErrorMessage>Failed to save target content: An error occurred while parsing EntityName. Line 1, position 224.</ErrorMessage>
  <Exception>
    <Type>System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>Sdl.FileTypeSupport.Filters.PowerPoint</Source>
    <HResult>-2146233088</HResult>
    <StackTrace><![CDATA[   at Sdl.FileTypeSupport.Filters.PowerPoint.FileFormat.DocumentControllerFramework.TransformHelper.TransformXML(String xmlText, String xsltPath, DataProcessor urnObject, Boolean overrideSource)
   at Sdl.FileTypeSupport.Filters.PowerPoint.FileFormat.DocumentControllerFramework.AbstractTransformer.TransformXmlResource(String xml)
   at Sdl.FileTypeSupport.Filters.PowerPoint.FrameworkImpl.Generator.WriterImpl.BuildContent(String xmlString)
   at Sdl.FileTypeSupport.Filters.PowerPoint.FrameworkImpl.Generator.WriterImpl.CloseTransformar(String xmlString)
   at Sdl.FileTypeSupport.Filters.PowerPoint.FrameworkImpl.Generator.AbstractEventsBuilder.StructureTag(IAbstractTagProperties tagInfo)
   at Sdl.FileTypeSupport.Filters.PowerPoint.FrameworkImpl.Generator.Specialized.EventsBuilder.StructureTag(IAbstractTagProperties tagInfo)
   at Sdl.FileTypeSupport.Filters.PowerPoint.FrameworkImpl.Generator.FileWriter.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.InlineStartTag(IStartTagProperties tagInfo)
   at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.NativeBuffer.InlineStartTag(IStartTagProperties tagInfo)
   at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.VisitTagPair(ITagPair tag)
   at Sdl.FileTypeSupport.Framework.Bilingual.TagPair.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.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.Bilingual.Tmfc.TmfcReaderImpl.vv_Visit(TmfcReaderImpl* , FrameworkParagraphContainerField* field)
   at FrameworkParagraphContainerField.vv_AcceptFrameworkVisitor(FrameworkParagraphContainerField* , FrameworkFieldVisitor* visitor)
   at Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.vv_VisitStartEndField(TmfcReaderImpl* , StartEndField* startEnd)
   at Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.b_VisitNext(TmfcReaderImpl* )
   at Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReader.ParseNext()
   at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
   at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.SaveMonolingualAsJobRequest.Execute(IJobExecutionContext context)
   at Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__3()
   at Sdl.Desktop.Platform.Implementation.Services.Log.Resources(Object message, Action action)
   at Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>12.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>12.3.5262.0</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>NCI\ltondeleir</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>NCITC015</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>4046208 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

 

Regards,

Lennart

 

Parents Reply Children