Error importing XML file to project

I have several XML files I've uploaded to Trados (TYPO 3 Localization Manager) but I'm getting several error messages for 1 file. It appears it doesn't like the formatting on the page but it's nothing we haven't had before (I think). Is someone able to look at the file and error message and tell me whether I can change something so that it will upload or if something about the page layout/content needs to be changed?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE TYPO3L10N [ <!ENTITY nbsp " "> ]>
<TYPO3L10N>
<head>
<t3_l10ncfg>5</t3_l10ncfg>
<t3_sysLang>1</t3_sysLang>
<t3_sourceLang>DE</t3_sourceLang>
<t3_targetLang>en</t3_targetLang>
<t3_baseURL>redaktion.tu.berlin/.../t3_baseURL>
<t3_workspaceId>0</t3_workspaceId>
<t3_count>119</t3_count>
<t3_wordCount>1185</t3_wordCount>
<t3_formatVersion>1.2</t3_formatVersion>
<t3_l10nmgrVersion>9.2.0</t3_l10nmgrVersion>
</head>
<pageGrp id="25686" sourceUrl="redaktion.tu.berlin/index.php
<data table="pages" elementUid="25686" key="pages:77578:title">Team</data>
<data table="pages" elementUid="25686" key="pages:77578:shortcut">0</data>
<data table="pages" elementUid="25686" key="pages:77578:shortcut_mode">0</data>
<data table="pages" elementUid="25686" key="pages:77578:tx_yoastseo_score_readability">bad</data>
<data table="pages" elementUid="25686" key="pages:77578:tx_yoastseo_score_seo">bad</data>
<data table="pages" elementUid="25686" key="pages:77578:special_link_label">Zu unseren aktuellen Informationen</data>
<data table="tt_content" elementUid="566019" key="tt_content:NEW/1/566019:header">Team</data>
<data table="tt_content" elementUid="447386" key="tt_content:NEW/1/447386:header">Fachgebietsleitung</data>
<data table="tt_content" elementUid="447388" key="tt_content:NEW/1/447388:header">Liebich</data>
<data table="tt_content" elementUid="447390" key="tt_content:NEW/1/447390:header">Liebich</data>
<data table="tt_content" elementUid="447393" key="tt_content:NEW/1/447393:header">Prof. Dr.-Ing. Robert Liebich</data>
<data table="tt_content" elementUid="447393" key="tt_content:NEW/1/447393:tx_freeteaser_link">t3://page?uid=25680</data>
<data table="tt_content" elementUid="447393" key="tt_content:NEW/1/447393:tx_freeteaser_link_text">mehr</data>
<data table="tt_content" elementUid="414281" key="tt_content:NEW/1/414281:header">Sekretariat</data>
<data table="tt_content" elementUid="414282" key="tt_content:NEW/1/414282:header">Roost</data>
<data table="tt_content" elementUid="414284" key="tt_content:NEW/1/414284:header">Roost</data>
<data table="tt_content" elementUid="447382" key="tt_content:NEW/1/447382:header">Sprechstunde</data>
<data table="tt_content" elementUid="447382" key="tt_content:NEW/1/447382:bodytext" transformations="1"><p><strong>An folgenden Tagen entfällt die Sprechstunde bzw. gelten veränderte Sprechzeiten:</strong></p>
<p>28.11. - 02.12.2022 - Sprechstunde entfällt</p>
<p>19.12.2022 - Sprechstunde entfällt</p>
<p>20. - 23.12.2022 - Sekretariat ist ausschließlich telefonisch und per E-Mail / Webex erreichbar</p>
<p>27. - 30.12.2022 - Sprechstunde entfällt</p>
<p>02. - 04.01.2023 - Sekretariat ist ausschließlich telefonisch und per E-Mail / Webex erreichbar</p></data>
<data table="tt_content" elementUid="748285" key="tt_content:NEW/1/748285:header">Service W 140</data>
<data table="tt_content" elementUid="748303" key="tt_content:NEW/1/748303:header">Service - Buchung des Seminarraums W 140 im Labor für Maschinensysteme</data>
<data table="tt_content" elementUid="748303" key="tt_content:NEW/1/748303:bodytext" transformations="1"><p>Zur Buchung des Seminarraums wenden Sie sich bitte an das Sekretariat des Fachgebietes, Frau Yamina Roost:</p>
<p>________________________________________________________________________________________________________</p>
<p>Zur Ausstattung des Raumes:</p>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Screenshot of Trados Studio task results showing 0 errors and 18 warnings with details of each warning, including issues with hexadecimal value 0x1C, unexpected DTD declaration, and invalid syntax in an XML file.



Generated Image Alt-Text
[edited by: RWS Community AI at 8:17 AM (GMT 0) on 15 Nov 2024]
  •  

    If you open the xml file in an editor and go to line 97, position 154 you'll find this character:

    Screenshot showing an XML file in an editor with a red arrow pointing to an illegal character at line 97, position 154.

    In fact that image is from the file you loaded above and even the xml parser for the community doesn't like it.  In a text editor you'll see this:

    Expanded view of the XML file highlighting the illegal Unicode Character (U+001C) at line 97 in the text editor.

    It's Unicode Character (U+001C) and is illegal in XML.  Remove it and the file should process.

    Another tip is drag and drop the XML file into a browser... Chrome/Firefox are both quite good at telling you what the problem is with the file.

    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


    Generated Image Alt-Text
    [edited by: Trados AI at 8:46 AM (GMT 0) on 29 Feb 2024]
  • Thank you so much Paul! I had opened it in an editor but that error didn't appear. Only when I opened it in Notepad++, but that was probably an oversight on my part. Interestingly, that's all it took for it to work rather than addressing the other flagged issues too. 

    emoji