Error while importing XLF file in Studio 2024

Hello,

I'm unable to upload a XLF file to Studio 2024. I believe the issue may be specific to the file at hand, as I was safely able to add other ones some time ago.

The error message is below

Error window in Trados Studio showing a message in French stating 'Un ou plusieurs fichiers ne sont pas pris en charge' with details about the exception and stack trace.

Although the file type does appear in my Project settings:

Trados Studio settings window displaying file type information for XLIFF, including file name patterns like *.xlf, *.xliff, *.xlz, and a description of supported XLIFF formats.

Has anyone been able to solve a similar issue?

Thank you



Generated Image Alt-Text
[edited by: RWS Community AI at 2:44 PM (GMT 1) on 25 Sep 2025]
emoji
Parents Reply
  •  

    That file is invalid.

    Required fixes:

    1. Bind the namespace. Your file had xmlns:xsi="". Must be xmlns:xsi="">www.w3.org/.../XMLSchema-instance".

    2. Make xsi:schemaLocation a valid two-token value.  Yours split the second token outside the attribute:
      xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 ">www.xtm-intl.com/.../xliff-core-1.2-transitional.xsd"
      It must be inside the quotes as a pair:
      xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 ">www.xtm-intl.com/.../xliff-core-1.2-transitional.xsd".

    So this will open (although there are no translations in it of course!)

    <?xml version="1.0" encoding="UTF-8"?>
    <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2"
           xmlns:metrics="urn:lisa-metrics-tags"
           xmlns:term="urn:xliff-term-extensions"
           xmlns:xref="urn:xmlintl-xref"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:xtm="urn:xliff-xtm-extensions"
           version="1.2"
           xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://www.xtm-intl.com/.../xliff-core-1.2-transitional.xsd">
      <file source-language="en-US"
            target-language="fr-FR"
            datatype="xml"
            original="227803c6b5f74b28b9aa26e13bd95611"
            xtm:xliff-identifier="2852d2422c0f44efb326193f14329c40"
            product-name="XTM International Limited xml:tm"
            product-version="2.0"
            tool="xtm-intl_XLIFF_Extract"
            xml:space="default"
            xtm:populate-target-with-source="no">
        <header>
          <skl>
            <internal-file crc="13a6a4b3"/>
          </skl>
        </header>
        <body/>
      </file>
    </xliff>
    

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji
Children