Hi.
Trados studio version: 2017 SR1 - 14.1.10018.54792
I'm starting a new project made up of several xml files with custom file type. Only one file returns the error: The document cannot be processed since it contains unexpected contents.
I have previewed the file, and there are empty segments in it.

The ph tag is <ph outputclass="break">, and the rule is the following setting.

I think the ph tag should be outside of the segment(external tag), but it appears in the segment. And, it causes the empty segment so the error occurs.
Although the ph tag exists in other files but they are OK.
If I change the segmentation hint to "Include", the error doesn't occur, but I don't want to change it if possible because this affects the TM match rate.
Is there a way to solve this?
Thanks.
Generated Image Alt-Text
[edited by: Trados AI at 1:10 AM (GMT 0) on 29 Feb 2024]

Translate



