I try to open an .xml.txlf file (supplied in this format by my customer), but I get the following message:
"There is an error in XML document (1, 62)"
Can someone help me?
I try to open an .xml.txlf file (supplied in this format by my customer), but I get the following message:
"There is an error in XML document (1, 62)"
Can someone help me?
Hi Coralie Mergault,
Probably there is a weird character in the 1st row, column 62. I you can open the file with an Editor like Notepad++, maybe you will be able to spot it and edit it somehow and try again.
If you can’t do it, maybe you can post here the file, at least the 2 first lines, and I can have a look.
Otherwise you can tell your client. It’s his/her responsibility to send properly formatted files.
Hi Coralie Mergault,
Probably there is a weird character in the 1st row, column 62. I you can open the file with an Editor like Notepad++, maybe you will be able to spot it and edit it somehow and try again.
If you can’t do it, maybe you can post here the file, at least the 2 first lines, and I can have a look.
Otherwise you can tell your client. It’s his/her responsibility to send properly formatted files.
Thank you!
See below the beginning of the file (WordFast, it seems).
<?xml version="1.0" encoding="UTF-8"?><xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:gs4tr="">www.gs4tr.org/.../xliff-ext"><file original="00620_8825175983901.xml" gs4tr:system-attributes="<attrs pd.xliff.id="1696635"/>" gs4tr:uuid="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" gs4tr:target-encoding="UTF-8" gs4tr:total-segment-count="7" gs4tr:target-eol="dos" gs4tr:md5checksum="ed902ea5b07de089bea86cb8532735bd" gs4tr:wordcount="65" datatype="x-regexp" source-language="en-US" target-language="fr-FR" gs4tr:translated-segment-count="1" gs4tr:simplifier="office"><header><skl><internal-file><?xml version="1.0" encoding="UTF-8"?><hybris-export requester="hybris6.6.0.22" version="3"><item article_number="00620" pk="8796166848513" type="AfterMarketProduct"><attribute key="copyBulletPoint1" maxlen="500" translatable="yes"><![CDATA[{paragraph-1-1}]]></attribute><attribute key="copyBulletPoint2" maxlen="500" translatable="yes"><![CDATA[{paragraph-1-2}]]></attribute><attribute key="copyBulletPoint3" maxlen="500" translatable="yes"><![CDATA[{paragraph-1-3}]]></attribute><attribute key="copyMarketingBody" maxlen="2000" translatable="yes"><![CDATA[{paragraph-1-4}]]></attribute><attribute key="copyMarketingHeadline" maxlen="2000" translatable="yes"><![CDATA[{paragraph-1-5}]]></attribute><attribute key="copyPositioningStatement" maxlen="750" translatable="yes"><![CDATA[{paragraph-1-6}]]></attribute><attribute key="displayName" maxlen="255" translatable="yes"><![CDATA[{paragraph-1-7}]]></attribute></item></hybris-export></internal-file></skl><phase-group><phase phase-name="Translation-1" process-name="No Review" contact-name="jnlebras" tool-id="PD" date="2021-06-17T18:52:18Z"/></phase-group><tool tool-id="PD" tool-name="ProjectDirector" tool-version="5.15.2"/></header><body><group id="page-1" restype="x-page" >
<group id="paragraph-1-1" restype="x-paragraph" datatype="html" gs4tr:user-attributes="<attrs satt_maxlen="500" satt_key="copyBulletPoint1" satt_translatable="yes"/>" gs4tr:segmented="true" >
<trans-unit id="1-1-1" gs4tr:wordcount="11" gs4tr:editStatus="leveraged" >
<source>Cane Creek spacers are CNC-machined and feature a black anodized finish</source>
<target gs4tr:seginfo="<root username="*leverager*" timestamp="20210617T160139Z"/>" gs4tr:score="0" gs4tr:repscore="0" state="needs-translation" state-qualifier="x-no-match"/>
</trans-unit>
</group>
Character 62 would be the 's' in xmlns.
Coralie
Hi Coralie Mergault,
You were supposed to insert a sample file of your XML. I see some garbage here, I don't know if it's due to the pasting process.
Although I see nothing weird at that position (1,62), I think this part in the 1st line is wrong:
Not because the ellipsis (3 dots), but because there is a missing less than symbol (<).
If you confirm that this is the real text in the XML file, notify your client that the XML is corrupted. Otherwise, please insert a sample file (Insert menu > Image/video/file) with the same content as above.