error saving TT from pdf ST, 'Failed to save target content: The 'P' start tag on line 1 position 30 does not match the end tag of 'cf'. Line 39, position 65'.

Hi folks. If this is a know prob with a fix/workaround, would dearly like to know ASAP! It looks from the stack trace like it's referring to a non-match in an interim conversion XML file?  thank you all

<SDLErrorDetails time="16/09/2014 01:17:02">
<ErrorMessage>Failed to save target content: The 'P' start tag on line 1 position 30 does not match the end tag of 'cf'. Line 39, position 65.</ErrorMessage>
<Exception>
<Type>System.Xml.XmlException, System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<LineNumber>39</LineNumber>
<LinePosition>65</LinePosition>
<SourceUri />
<HelpLink />
<Source>Sdl.FileTypeSupport.Filters.Word</Source>
<HResult>-2146232000</HResult>
<StackTrace><![CDATA[ at Sdl.FileTypeSupport.Filters.Word.Common.FilterException..ctor(Exception ex)
at Sdl.FileTypeSupport.Filters.Word.FileFormat.DocumentControllerFramework.TransformHelper.TransformXML(String xmlText, String xsltPath, DataProcessor urnObject, Boolean overrideSource)
at Sdl.FileTypeSupport.Filters.Word.FileFormat.DocumentControllerFramework.AbstractTransformer.TransformXmlResource(String xml)
at Sdl.FileTypeSupport.Filters.Word.FrameworkImpl.Generator.WriterImpl.BuildContent(String xmlString)
at Sdl.FileTypeSupport.Filters.Word.FrameworkImpl.Generator.WriterImpl.BuildParagraph(String xmlString)
at Sdl.FileTypeSupport.Filters.Word.FrameworkImpl.Generator.Specialized.EventsBuilder.ProcessStructureTag(IAbstractTagProperties tagInfo)
at Sdl.FileTypeSupport.Filters.Word.FrameworkImpl.Generator.AbstractEventsBuilder.StructureTag(IAbstractTagProperties tagInfo)
at Sdl.FileTypeSupport.Filters.Word.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.WhitespaceBetweenSegmentsProcessor.StructureTag(IStructureTagProperties tagInfo)
at Sdl.FileTypeSupport.Framework.NativeApi.AbstractNativeGenerationContentProcessor.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.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.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>11.0.0.0</ProductVersion>
<EntryAssemblyFileVersion>11.1.4095.0</EntryAssemblyFileVersion>
<OperatingSystem>Microsoft Windows 8.1</OperatingSystem>
<ServicePack>NULL</ServicePack>
<OperatingSystemLanguage>1033</OperatingSystemLanguage>
<CodePage>1252</CodePage>
<LoggedOnUser>SIAN\Sian</LoggedOnUser>
<DotNetFrameWork>4.0.30319.34014</DotNetFrameWork>
<ComputerName>SIAN</ComputerName>
<ConnectedToNetwork>True</ConnectedToNetwork>
<PhysicalMemory>4144356 MB</PhysicalMemory>
</Environment>
</SDLErrorDetails>

  • Hi Sian,

    Difficult to tell from this as we'd need to file to find the problem.  however, I think a better solution for PDF (if you have to use PDF at all!) is to use a program called InFix.  This program can export a text file from the PDF which you can translate, and then allow you to import the translated text file back in again afterwards.  The advantage of this is threefold:

    1. You only handle simple text without a potential mass of tags
    2. The resultant PDF once you import the text back in again is perfectly formatted, exactly as the original PDF
    3. Any small changes can be edited in the PDF directly using InFix
    You can find the program here and if you need any help with the filetype let me know?
    The export types for this application are  xml and text.  I have tested both and so far find the text file far better in terms of being able to work in a tag free environment.  However, I have provided the developers of this program with a license for Studio and they are working on a better export/import so I expect this to improve in time.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • One other things... you can save attachments in this forum so no need to paste the complete error message in.  You can just attach it to your post.  Use the rich formatting option when you reply and then you can sepect additional options such as add an attachment, use images, video etc.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Thanks Paul! also for the tip re attaching files (I suspected as much but went for speed rather than thought I'm afraid). I am downloading the trial version of Infix as I type, and certainly hope it will sort it out.

    Sadly at present the client does not have the original docs so pdfs treated in some manner or another are our only option :( - I too would rather avoid!

  • Great... I had a quick chat with the InFix guys to see how they're getting on and I'm hopeful we'll see an xliff export as well very soon that will make the process even more foolproof and a much better way to handle PDFs that contain translatable text.

    Let me know if you get better results with this tool and if you need any help with the filetype.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • This is great news! InFix is a great piece of software, so having the possibility to export XLF and translate it to Studio would be great. The current XML export isn't very reliable, though.

    Regards, Jerzy

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

  • Unknown said:
    The current XML export isn't very reliable, though.

    You're right... I've found the text import is better.  The XLIFF will be a significant improvement.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub