Commit 6a8412bb authored by jhargrave's avatar jhargrave

YAML integration tests now all working...

except the emoji event comparison
parent 99eb0071
......@@ -5,3 +5,7 @@
/target
*/target/*
/target/
/common-integration-tests/src/test/resources/yaml/subfilter/HP_INSTANT_LINK/en_US.yaml
/common-integration-tests/src/test/resources/yaml/subfilter/HP_INSTANT_LINK/okf_html@hp_instant_link.secondary.fprm
/common-integration-tests/src/test/resources/yaml/subfilter/HP_INSTANT_LINK/okf_yaml@with-html-subfilter.fprm
/common-integration-tests/src/test/resources/yaml/subfilter/dummy.txt
textDouble: "😷😊"
textPlain: 😷😊
textSingle: '😷😊'
\ No newline at end of file
......@@ -57,6 +57,14 @@ public class RoundTripYamlIT
}
}
//@Test
public void yamlSingleFile() throws FileNotFoundException, URISyntaxException {
// run top level files (without config)
for (File file : IntegrationtestUtils.getTestFiles("/yaml/examples/ios_emoji_surrogate.yaml", Arrays.asList(".yaml"))) {
runTest(true, file, "okf_yaml", null);
}
}
@Test
public void yamlFiles() throws FileNotFoundException, URISyntaxException {
// run top level files (without config)
......
<?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="Test01.yml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<group id="sg1">
<group id="sg2">
<trans-unit id="tu1" resname="config/title" xml:space="preserve">
<source xml:lang="en">My Rails Website</source>
<seg-source><mrk mid="0" mtype="seg">My Rails Website</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">My Rails Website</mrk></target>
</trans-unit>
</group>
<group id="sg3">
<trans-unit id="tu2" resname="config2" xml:space="preserve">
<source xml:lang="en">test1</source>
<seg-source><mrk mid="0" mtype="seg">test1</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">test1</mrk></target>
</trans-unit>
<trans-unit id="tu3" resname="config2" xml:space="preserve">
<source xml:lang="en">test2</source>
<seg-source><mrk mid="0" mtype="seg">test2</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">test2</mrk></target>
</trans-unit>
</group>
</group>
</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="Test02.yml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<group id="sg1">
<group id="sg2">
<trans-unit id="tu1" resname="config/title" xml:space="preserve">
<source xml:lang="en">My Rails Website</source>
<seg-source><mrk mid="0" mtype="seg">My Rails Website</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">My Rails Website</mrk></target>
</trans-unit>
</group>
<group id="sg3">
<trans-unit id="tu2" resname="config2/title" xml:space="preserve">
<source xml:lang="en">My Rails Website</source>
<seg-source><mrk mid="0" mtype="seg">My Rails Website</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">My Rails Website</mrk></target>
</trans-unit>
</group>
</group>
</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="comment_issue.yml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<group id="sg1">
<trans-unit id="tu1" resname="no-god-in-worlds" xml:space="preserve">
<source xml:lang="en">null</source>
<seg-source><mrk mid="0" mtype="seg">null</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">null</mrk></target>
</trans-unit>
<trans-unit id="tu2" resname="world-teleport-permissions" xml:space="preserve">
<source xml:lang="en">false</source>
<seg-source><mrk mid="0" mtype="seg">false</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">false</mrk></target>
</trans-unit>
</group>
</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="error1.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<trans-unit id="tu1" xml:space="preserve">
<source xml:lang="en">Table(id12, A table)</source>
<seg-source><mrk mid="0" mtype="seg">Table(id12, A table)</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Table(id12, A table)</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="error2.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<trans-unit id="tu1" xml:space="preserve">
<source xml:lang="en">Table(id12)</source>
<seg-source><mrk mid="0" mtype="seg">Table(id12)</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Table(id12)</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="error3.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<group id="sg1">
<group id="sg2">
<trans-unit id="tu1" resname="Table(id12, orders)" xml:space="preserve">
<source xml:lang="en">Row(id111, size=17, description=text)</source>
<seg-source><mrk mid="0" mtype="seg">Row(id111, size=17, description=text)</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Row(id111, size=17, description=text)</mrk></target>
</trans-unit>
</group>
</group>
</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="error4.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<group id="sg1">
<group id="sg2">
<group id="sg3">
<trans-unit id="tu1" resname="Table(id12, table)/Row(id111, description = text) {size" xml:space="preserve">
<source xml:lang="en">15}</source>
<seg-source><mrk mid="0" mtype="seg">15}</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">15}</mrk></target>
</trans-unit>
</group>
</group>
</group>
</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="error6.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<trans-unit id="tu1" xml:space="preserve">
<source xml:lang="en">Table(id12, table, foo=bar)</source>
<seg-source><mrk mid="0" mtype="seg">Table(id12, table, foo=bar)</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Table(id12, table, foo=bar)</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="error7.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<group id="sg1">
<group id="sg2">
<trans-unit id="tu1" resname="Table(id12, table)/foo" xml:space="preserve">
<source xml:lang="en">bar</source>
<seg-source><mrk mid="0" mtype="seg">bar</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">bar</mrk></target>
</trans-unit>
</group>
</group>
</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="error8.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<group id="sg1">
<group id="sg2">
<group id="sg3">
<group id="sg4">
<trans-unit id="tu1" resname="Row(id12)/Row(id222)/size" xml:space="preserve">
<source xml:lang="en">17</source>
<seg-source><mrk mid="0" mtype="seg">17</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">17</mrk></target>
</trans-unit>
<trans-unit id="tu2" resname="Row(id12)/Row(id222)/ratio" xml:space="preserve">
<source xml:lang="en">0.333</source>
<seg-source><mrk mid="0" mtype="seg">0.333</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">0.333</mrk></target>
</trans-unit>
<trans-unit id="tu3" resname="Row(id12)/Row(id222)/description" xml:space="preserve">
<source xml:lang="en">We do not need new lines here, just replace them all with spaces</source>
<seg-source><mrk mid="0" mtype="seg">We do not need new lines here, just replace them all with spaces</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">We do not need new lines here, just replace them all with spaces</mrk></target>
</trans-unit>
</group>
</group>
</group>
</group>
</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="error9.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<group id="sg1">
<group id="sg2">
<trans-unit id="tu1" resname="ManyListsTable(id12)" xml:space="preserve">
<source xml:lang="en">Row(id111, description = text)</source>
<seg-source><mrk mid="0" mtype="seg">Row(id111, description = text)</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Row(id111, description = text)</mrk></target>
</trans-unit>
<group id="sg3">
<group id="sg4">
<trans-unit id="tu2" resname="ManyListsTable(id12)/Row(id222)/size" xml:space="preserve">
<source xml:lang="en">17</source>
<seg-source><mrk mid="0" mtype="seg">17</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">17</mrk></target>
</trans-unit>
<trans-unit id="tu3" resname="ManyListsTable(id12)/Row(id222)/ratio" xml:space="preserve">
<source xml:lang="en">0.333</source>
<seg-source><mrk mid="0" mtype="seg">0.333</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">0.333</mrk></target>
</trans-unit>
<trans-unit id="tu4" resname="ManyListsTable(id12)/Row(id222)/description" xml:space="preserve">
<source xml:lang="en">We do not need new lines here, just replace them all with spaces</source>
<seg-source><mrk mid="0" mtype="seg">We do not need new lines here, just replace them all with spaces</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">We do not need new lines here, just replace them all with spaces</mrk></target>
</trans-unit>
</group>
</group>
</group>
</group>
</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="example1.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<trans-unit id="tu1" xml:space="preserve">
<source xml:lang="en">org.yaml.snakeyaml.extensions.compactnotation.Container(name=parent, id=123)</source>
<seg-source><mrk mid="0" mtype="seg">org.yaml.snakeyaml.extensions.compactnotation.Container(name=parent, id=123)</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">org.yaml.snakeyaml.extensions.compactnotation.Container(name=parent, id=123)</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="example10.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<group id="sg1">
<group id="sg2">
<group id="sg3">
<group id="sg4">
<trans-unit id="tu1" resname="something/org.yaml.snakeyaml.extensions.compactnotation.Container(t7, id=id7)/name" xml:space="preserve">
<source xml:lang="en">child7 </source>
<seg-source><mrk mid="0" mtype="seg">child7</mrk> </seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">child7</mrk> </target>
</trans-unit>
</group>
</group>
<group id="sg5">
<group id="sg6">
<trans-unit id="tu2" resname="something/org.yaml.snakeyaml.extensions.compactnotation.Container(t9, id=id9)/name" xml:space="preserve">
<source xml:lang="en">child9 </source>
<seg-source><mrk mid="0" mtype="seg">child9</mrk> </seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">child9</mrk> </target>
</trans-unit>
</group>
</group>
<group id="sg7">
<group id="sg8">
<trans-unit id="tu3" resname="something/org.yaml.snakeyaml.extensions.compactnotation.Container(t10, id=id10)/name" xml:space="preserve">
<source xml:lang="en">child10 </source>
<seg-source><mrk mid="0" mtype="seg">child10</mrk> </seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">child10</mrk> </target>
</trans-unit>
</group>
</group>
</group>
</group>
</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="example11.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<group id="sg1">
<group id="sg2">
<trans-unit id="tu1" resname="Box(id11, Main box)/top" xml:space="preserve">
<source xml:lang="en">Item(id003, price=25.0, name=parrot)</source>
<seg-source><mrk mid="0" mtype="seg">Item(id003, price=25.0, name=parrot)</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Item(id003, price=25.0, name=parrot)</mrk></target>
</trans-unit>
<trans-unit id="tu2" resname="Box(id11, Main box)/bottom" xml:space="preserve">
<source xml:lang="en">Item(id004, price=3.5, name=sweet)</source>
<seg-source><mrk mid="0" mtype="seg">Item(id004, price=3.5, name=sweet)</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Item(id004, price=3.5, name=sweet)</mrk></target>
</trans-unit>
</group>
</group>
</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="example12.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<group id="sg1">
<group id="sg2">
<group id="sg3">
<group id="sg4">
<trans-unit id="tu1" resname="Table(id12, A table)/Row(id111, description = I think; therefore I am.)/size" xml:space="preserve">
<source xml:lang="en">15</source>
<seg-source><mrk mid="0" mtype="seg">15</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">15</mrk></target>
</trans-unit>
<trans-unit id="tu2" resname="Table(id12, A table)/Row(id111, description = I think; therefore I am.)/ratio" xml:space="preserve">
<source xml:lang="en">0.125</source>
<seg-source><mrk mid="0" mtype="seg">0.125</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">0.125</mrk></target>
</trans-unit>
</group>
</group>
<group id="sg5">
<group id="sg6">
<trans-unit id="tu3" resname="Table(id12, A table)/Row(id222)/size" xml:space="preserve">
<source xml:lang="en">17</source>
<seg-source><mrk mid="0" mtype="seg">17</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">17</mrk></target>
</trans-unit>
<trans-unit id="tu4" resname="Table(id12, A table)/Row(id222)/ratio" xml:space="preserve">
<source xml:lang="en">0.333</source>
<seg-source><mrk mid="0" mtype="seg">0.333</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">0.333</mrk></target>
</trans-unit>
<trans-unit id="tu5" resname="Table(id12, A table)/Row(id222)/floatRatio" xml:space="preserve">
<source xml:lang="en">0.333</source>
<seg-source><mrk mid="0" mtype="seg">0.333</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">0.333</mrk></target>
</trans-unit>
<trans-unit id="tu6" resname="Table(id12, A table)/Row(id222)/description" xml:space="preserve">
<source xml:lang="en">We do not need new lines here, just replace them all with spaces</source>
<seg-source><mrk mid="0" mtype="seg">We do not need new lines here, just replace them all with spaces</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">We do not need new lines here, just replace them all with spaces</mrk></target>
</trans-unit>
</group>
</group>
<group id="sg7">
<group id="sg8">
<trans-unit id="tu7" resname="Table(id12, A table)/Row(id333)/size" xml:space="preserve">
<source xml:lang="en">52</source>
<seg-source><mrk mid="0" mtype="seg">52</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">52</mrk></target>
</trans-unit>
<trans-unit id="tu8" resname="Table(id12, A table)/Row(id333)/ratio" xml:space="preserve">
<source xml:lang="en">0.88</source>
<seg-source><mrk mid="0" mtype="seg">0.88</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">0.88</mrk></target>
</trans-unit>
<trans-unit id="tu9" resname="Table(id12, A table)/Row(id333)/floatRatio" xml:space="preserve">
<source xml:lang="en">0.88</source>
<seg-source><mrk mid="0" mtype="seg">0.88</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">0.88</mrk></target>
</trans-unit>
<trans-unit id="tu10" resname="Table(id12, A table)/Row(id333)/description" xml:space="preserve">
<source xml:lang="en">Please preserve all</source>
<seg-source><mrk mid="0" mtype="seg">Please preserve all</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Please preserve all</mrk></target>
</trans-unit>
<trans-unit id="tu11" resname="Table(id12, A table)/Row(id333)/description" xml:space="preserve">
<source xml:lang="en">the lines because they may be</source>
<seg-source><mrk mid="0" mtype="seg">the lines because they may be</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">the lines because they may be</mrk></target>
</trans-unit>
<trans-unit id="tu12" resname="Table(id12, A table)/Row(id333)/description" xml:space="preserve">
<source xml:lang="en">important, but do not include the last one !!!</source>
<seg-source><mrk mid="0" mtype="seg">important, but do not include the last one !!!</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">important, but do not include the last one !!!</mrk></target>
</trans-unit>
</group>
</group>
</group>
</group>
</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="example2.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<trans-unit id="tu1" xml:space="preserve">
<source xml:lang="en">org.yaml.snakeyaml.extensions.compactnotation.Container(title)</source>
<seg-source><mrk mid="0" mtype="seg">org.yaml.snakeyaml.extensions.compactnotation.Container(title)</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">org.yaml.snakeyaml.extensions.compactnotation.Container(title)</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="example3.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<trans-unit id="tu1" xml:space="preserve">
<source xml:lang="en">org.yaml.snakeyaml.extensions.compactnotation.Container(title3, name=parent, id=123)</source>
<seg-source><mrk mid="0" mtype="seg">org.yaml.snakeyaml.extensions.compactnotation.Container(title3, name=parent, id=123)</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">org.yaml.snakeyaml.extensions.compactnotation.Container(title3, name=parent, id=123)</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="example4.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<group id="sg1">
<group id="sg2">
<trans-unit id="tu1" resname="org.yaml.snakeyaml.extensions.compactnotation.Container(title4, name=parent4, id=444)/name" xml:space="preserve">
<source xml:lang="en">child4</source>
<seg-source><mrk mid="0" mtype="seg">child4</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">child4</mrk></target>
</trans-unit>
</group>
</group>
</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="example5.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<group id="sg1">
<group id="sg2">
<trans-unit id="tu1" resname="org.yaml.snakeyaml.extensions.compactnotation.Container(title4)/name" xml:space="preserve">
<source xml:lang="en">child5</source>
<seg-source><mrk mid="0" mtype="seg">child5</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">child5</mrk></target>
</trans-unit>
<trans-unit id="tu2" resname="org.yaml.snakeyaml.extensions.compactnotation.Container(title4)/id" xml:space="preserve">
<source xml:lang="en">ID555</source>
<seg-source><mrk mid="0" mtype="seg">ID555</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">ID555</mrk></target>
</trans-unit>
</group>
</group>
</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="example6.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<group id="sg1">
<group id="sg2">
<trans-unit id="tu1" resname="org.yaml.snakeyaml.extensions.compactnotation.Container(title4)/name" xml:space="preserve">
<source xml:lang="en">child6</source>
<seg-source><mrk mid="0" mtype="seg">child6</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">child6</mrk></target>
</trans-unit>
<trans-unit id="tu2" resname="org.yaml.snakeyaml.extensions.compactnotation.Container(title4)/id" xml:space="preserve">
<source xml:lang="en">ID6</source>
<seg-source><mrk mid="0" mtype="seg">ID6</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">ID6</mrk></target>
</trans-unit>
</group>
</group>
</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="example7.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<group id="sg1">
<group id="sg2">
<trans-unit id="tu1" resname="org.yaml.snakeyaml.extensions.compactnotation.Container(The title, id=id7)/name" xml:space="preserve">
<source xml:lang="en">child7 </source>
<seg-source><mrk mid="0" mtype="seg">child7</mrk> </seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">child7</mrk> </target>
</trans-unit>
</group>
</group>
</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="example9.yaml" source-language="en" target-language="fr" datatype="x-text/x-yaml" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/common-integration-tests/target/test-classes/yaml/compactnotation/okf_yaml@default.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M28" tool-company="okapi"></tool></header>
<body>
<group id="sg1">
<group id="sg2">