Confusing DTD line in XMI files

Submitted by Joerg Freudenstein on Tuesday, 2 June, 2015 - 12:05
Issue ID
195
Component
Tool
Category
Bug report
Priority
Normal
Assigned
Status
Won't fix
Source
Datex stakeholder
Description

There exists an EA-XMI export including this line:
Normal 0 false false false EN-GB X-NONE X-NONE MicrosoftInternetExplorer4 “<!DOCTYPE XMI SYSTEM "UML_EA.dtd"> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Normale Tabelle"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman",serif;}

Normal 0 false false false EN-GB X-NONE X-NONE MicrosoftInternetExplorer4 Olivier Matthieu sais "I've generated the xmi file from the EA trial version but not sure it was EA 9.3 (could be a higher version) /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Normale Tabelle"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman",serif;} "

As the Tool refuses this kind of XMI file for now, the Tool should be able to ignore this line and to go on processing these kind of files in future.
 

{"changeLogs":[{"date":1528367012217,"componentOLD":"- Select a value -","component":"Tool","categoryOLD":"- Select a value -","category":"Bug report","priorityOLD":"- None -","priority":"Normal","assignedOLD":"","assigned":"jaderberg (22)","statusOLD":"- None -","status":"Won't fix"},{"date":1537268130907}]}

Posted by jaderberg on December 16, 2023 Permalink

I think this happened with an old version of EA where you had a checkbox to generate / include a dtd. Since a couple of versions this is not possible in EA anymore. If you use an old version do not check this checkbox.
I tested and checked EA version 9.3 and 11 and there this checkbox(all of them) are removed, so its not possible to create a dtd.
For future,version 3.0, a dtd will not exist because XMI 2.x uses a XML schema and not a dtd.
So my recommendation is not to do anything about this.

Posted by jaderberg on December 16, 2023 Permalink

Correction
This "feature" exists in newer versions of EA as well. But, it's hidden. At the export window you have to press the publish button, then you can select older versions of UML/XMI formats. If you there choose UML 1.3(XMI 1.1) then you can select/deselect "Use dtd". The problem occurs when this is checked.
On newer versions(and the default version in EA) UML 1.4(XMI 1.2) this checkbox is greyed out so it's not used.
I verified this in EA12.

Still a won't fix.