Hi to all,
I have a segmented .xlf document for translation in Trados Studio 2014, where I had to split a segment into two single segments.
After safing the document as .xlf again, the xlf-document contained the splitted segments, BUT the document did not validate against the xliff-schema any more.
The problem was that the ID of the splitted document was e.g. "1 b", which is not a valid value.
Does anyone know, if there is a way to change the ID of the segments? In my opinion, this is s a bug in Trados Studio 2014
Thanks for your help!
This is only an example: we show this example to illustrate the problem.
<?xml version="1.0" encoding="UTF-8"?> <xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0"> <file original="/tmp/okapi-extract-4080199710068993702/input/file.txt" source-language="de-de" target-language="en-gb" datatype="x-text/plain" okp:inputEncoding="UTF-8"> <header></header> <body> <trans-unit id="1" xml:space="preserve"> <source xml:lang="de-de">This is only an example: we show this example to illustrate the problem. </source> <seg-source><mrk mid="0" mtype="seg">This is only an example: we show this example to illustrate the problem.</mrk> </seg-source> <target xml:lang="en-gb"><mrk mid="0" mtype="seg">This is only an example: we show this example to illustrate the problem.</mrk> </target> </trans-unit> </body> </file> </xliff>
<?xml version="1.0" encoding="UTF-8"?> <xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0"> <file original="/tmp/okapi-extract-4080199710068993702/input/file.txt" source-language="de-de" target-language="en-gb" datatype="x-text/plain" okp:inputEncoding="UTF-8"> <header /> <body> <trans-unit id="1" xml:space="preserve"> <source xml:lang="de-de">This is only an example: we show this example to illustrate the problem. </source> <seg-source><mrk mid="0" mtype="seg">This is only an example:</mrk> <mrk mtype="seg" mid="1 b">we show this example to illustrate the problem.</mrk> </seg-source> <target state="translated" xml:lang="en-gb"><mrk mid="0" mtype="seg">This is only an example: </mrk> <mrk mtype="seg" mid="1 b">we show this example to illustrate the problem.</mrk> </target> </trans-unit> </body> </file> </xliff>