SDLXLIFF files with custom xml file type with html and bilingual Excel with html will not open together

I have created a simple xml file type with embedded content processing via html5. I have also specified html content in the Excel bilingual file type. Now I have 3 xml and 1 xlsx file in the project. When I try to open them as virtual merge, I get "Object reference not set...". However, I can open any of these files separately.

The structure of first xml file

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Root>
<articles>
<article>
<ordernumber>SW10002</ordernumber>
<mainnumber>SW10002</mainnumber>
<translation>
<languageId>3</languageId>
<translationname></translationname>
<translatedescriptionLong></translatedescriptionLong>
<translatedescription></translatedescription>
<translation_extras></translation_extras>
<translation_material></translation_material>
<translation_materialproperties></translation_materialproperties>
<translation_usps></translation_usps>
</translation>
<translation>
<languageId>4</languageId>
<translationname></translationname>
<translatedescriptionLong></translatedescriptionLong>
<translatedescription></translatedescription>
<translation_extras></translation_extras>
<translation_material></translation_material>
<translation_materialproperties></translation_materialproperties>
<translation_usps></translation_usps>
</translation>
<translation>
<languageId>5</languageId>
<translationname></translationname>
<translatedescriptionLong></translatedescriptionLong>
<translatedescription></translatedescription>
<translation_extras></translation_extras>
<translation_material></translation_material>
<translation_materialproperties></translation_materialproperties>
<translation_usps></translation_usps>
</translation>
<translation>
<languageId>6</languageId>
<translationname></translationname>
<translatedescriptionLong></translatedescriptionLong>
<translatedescription></translatedescription>
<translation_extras></translation_extras>
<translation_material></translation_material>
<translation_materialproperties></translation_materialproperties>
<translation_usps></translation_usps>
</translation>
</article>

The second xml file

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Root>
<Header>
<HeaderChild></HeaderChild>
</Header>
<Translations>
<Translation>
<objectKey>5</objectKey>
<objectType>configuratorgroup</objectType>
<baseName>Temperaturbereich</baseName>
<name>Temprature Ranges</name>
<description></description>
<languageId>3</languageId>
</Translation>

And the third xml file

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Root>
<Header>
<HeaderChild></HeaderChild>
</Header>
<Translations>
<Translation>
<categoryId>5</categoryId>
<languageId>3</languageId>
<description>Products</description>
<external></external>
<externalTarget></externalTarget>
<imagePath></imagePath>
<cmsheadline>Coolers from QOOL®</cmsheadline>
<cmstext><![CDATA[<p><span>The QOOL</span><span>®</span><span>&nbsp;Box in combination with the QOOL</span><span>®</span><span>&nbsp;Temperature Elements provide innovative premium cooling options – perfect for any Adventure.</span></p>]]></cmstext>
<metatitle></metatitle>
<metadescription></metadescription>
<metakeywords></metakeywords>
</Translation>

The parser rules for my xml filter are:

Screenshot of Trados Studio showing parser rules for an XML filter with various elements set to 'Always translatable' or 'Not translatable'.

I cannot open neither all xml files together or any xml file and the Excel together. Opening separatedly works.

Any idea, what can be wrong here?



Generated Image Alt-Text
[edited by: Trados AI at 1:05 AM (GMT 0) on 29 Feb 2024]

_________________________________________________________

When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

  • All three of your xml files are invalid.  Maybe try again with these?

    Jerzy.zip

    It's also much more helpful if you want this type of help to share the settings files and the actual XML.  Just zip them up and attach to the thread.  Took me longer to replicate what you are doing than it did to see the possible problem.  The files are not well formed, so correcting that makes them all work for me.

    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

  • Hi Paul

    Sorry, I could not attach the complete files. So what you see here are just parts of the files. I need to ask the customer for permission.

    When I check the xml syntax in Notepad++, no errors are reported.

    Now I shall wait for the customers response, while we can proceed with translating the files one by one. I could only send you a project package off-forum, if that would be helpful. But I did not want to steal to much time...

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.