Duplicated ITS namespace declaration

Description

It seems that in certain situation Ocelot generates XLIFF output with two ITS namespace declaration on the <trans-unit> element.

To reproduce:

  • add LQI entries

  • save

  • reload the file

  • delete one LQI entry

  • save -> that file has duplicated declaration)

This line of the XLIFFWriter class:

Seems to be the cause.

I'm not sure if in some other scenarios the declaration would be needed, though.

Environment

None

Assignee

Chase Tingley

Reporter

YvesS

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure