Baffling "unexpected contents" error

Here is one for the geeks: I had 2 Word files today where Prepare (except steps Convert To Translatable Format and Copy To Target Languages) failed with an "unexpected contents" error (see sdlerror-2022630-20h20m24s.sdlerror.xml). There is no stack trace!

Opening the file in the editor (it had converted after all) produced also an error (see Editor - sdlerror-2022630-20h27m4s.sdlerror.xml), this time with a stack trace.

I managed to narrow the problem down to a sequence where apparently a formatted tab character seems to be the culprit. Thus I was able to create a single line Word sample file producing the same error. Both replacing the tab char with a non-breaking space (other chars would probably do, too, but I haven't checked) or altering the formatting solved the problem.

I reproduced the error on 2 PCs, both with Trados Studio 2021 SR2 - 16.2.11.9327, different TMs & settings. To me this looks like a proper bug. If you cannot reproduce the error with the attached sample then I apologize and would like to know.

The attached zip contains:-

  • Some text (for testing).docx + Some text (for testing).docx.sdlxliff -- the Word file with the error + its xliff <-- unexpected contents
  • Some text (for testing) - repaired.docx + Some text (for testing) - repaired.docx.sdlxliff -- the Word file with changed formatting + its xliff (it looks the same to the naked eye) <-- no unexpected contents
  • Some text (for testing) first tab replaced.docx + Some text (for testing) first tab replaced.docx.sdlxliff -- the Word file were the first tab has been replaced with a non-breaking space <-- no unexpected contents
  • sdlerror-2022630-20h20m24s.sdlerror.xml
  • Editor - sdlerror-2022630-20h27m4s.sdlerror.xml

baffling formatting issue.zip

emoji
Parents Reply Children
No Data