Tag mismatch in ODT file leveraged from Moses translation

Issue #723 new
Former user created an issue

Hi,

Here is a combination which produces a broken ODT document.

The original document (data.src.odt) can be opened without any problem. From this document, we extract the Moses text using the command:

tikal.sh -fc okf_openoffice -seg -xm data.src.odt -sl cs

Once the text is translated to English, it is leveraged to rebuild a translated document:

tikal.sh -fc okf_openoffice -seg -lm -sl cs -ie utf8 -oe utf8 -overtrg -from data.tra.en.odt.mos data.src.odt

However, though Tikal doesn't complain at all, the resulting document (data.tra.en.odt) cannot be opened with LibreOffice. When opening the document LibreOffice says: "Format error discovered in the file in sub-document content.xml at X,Y(row,col)"

If I unzip the document and open content.xml, there is a tag mismatch at the referred location.

Comments (1)

  1. Log in to comment