The Trados cloud platform will be undergoing maintenance on Saturday, 9th May 2026 between 05:00 to 17:00 UTC. During this time, you will not be able to log in to the Trados platform.

Warning message "The start tag xxx does not match the end tag xxx" while importing XML file for translation

Hello,

I have a question about the warning message in this post heading.

In order to translate XML files which are exported from AEM, I have tried to create a custom xml file type using "XML embedded content" and an example source file, so that the html tags like <p> <li> can be extracted as tags.

The main settings are as follows:

Screenshot of Trados Studio's XML parser settings showing rules for various HTML tags such as h4, li, ol, and br marked as translatable.       Screenshot of Trados Studio's project settings under 'Embedded content' with 'Process embedded content using the following processor: Html Embedded Content 5.2.0.0.0' selected.

It works however only for some files. Especially for files containing the tags <br>, <hr> and <img ...>, the following warning message has been for example displayed while importing the source files (the file can only be uploaded as reference instead of source file):

Screenshot of Trados Studio's Task Results with multiple warnings about pre-scanning errors for 'hr', 'img', and 'br' tags in an XML file. 

Please find as well an example passage of the XML file:

<?xml version="1.0" encoding="UTF-8"?><translationObjectFile fileType="PAGE" sourcePath="xxx">

<ol>
<li>Navigieren Sie in der Übersicht zur unteren Leiste und klicken Sie auf die Bezeichnung der aktuell eingestellten Sprache der Benutzeroberfläche oder des Datenmodells.<br>
<br>
<img src="/content/dam/lucanet/de/getting-started/basiskonfiguration/einstellungen-im-lnwc/Configure%20language_de.png" alt="">Übersicht des LucaNet.Web Client</li>
<li>Wählen Sie im daraufhin angezeigten Menü die gewünschten Sprache.</li>
</ol>

Does anyone have an idea, how could I add the problematic tags into the Parser or as exceptions so that the xml files can be imported for translation correctly?

I'm using Trados Studio 2021 SR1 - 16.1.8.4404.

Thanks a lot in advance!

Chengle



Generated Image Alt-Text
[edited by: Trados AI at 12:40 PM (GMT 0) on 29 Feb 2024]
emoji