Bug 320555 - dtd for umbrello xmi file format
Summary: dtd for umbrello xmi file format
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Ralf Habacker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-31 22:13 UTC by Ralf Habacker
Modified: 2013-11-06 19:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.12.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2013-05-31 22:13:16 UTC
Recently there is no dtd available for umbrello xmi file format, which makes it hard to validate and/or estimate problems with umbrello generated and/or 3rdparty xmi files. 


Reproducible: Always

Steps to Reproduce:
1. try to find a dtd to validate umbrello xmi files.

Actual Results:  
no dtd available

Expected Results:  
there should be a dtd available.
Comment 1 Ralf Habacker 2013-08-16 10:45:04 UTC
Git commit 8473f5f9b3ea290dd4d535fe6cfc06db22685f76 by Ralf Habacker.
Committed on 29/05/2013 at 18:59.
Pushed by habacker into branch 'master'.

Apply hacks to uml 1.4 dtd to be able to validate umbrello xmi files.

This patch covers only the meta model; diagrams are not specified
by official uml 1.4 dtd.

M  +33   -18   doc/xml/01-02-16.dtd

http://commits.kde.org/umbrello/8473f5f9b3ea290dd4d535fe6cfc06db22685f76
Comment 2 Ralf Habacker 2013-08-16 10:45:04 UTC
Git commit 7590625e70e809bc8235a9b6f5e8d2da3b55de48 by Ralf Habacker.
Committed on 29/05/2013 at 19:29.
Pushed by habacker into branch 'master'.

Add umbrello specific dtd parts (basic differences and diagrams).

With this fixes a umbrello xmi file could be validated by using the
following command line:

	xmllint --dtdvalid 01-02-16.dtd --noout <xmi-file>

M  +292  -0    doc/xml/01-02-16.dtd

http://commits.kde.org/umbrello/7590625e70e809bc8235a9b6f5e8d2da3b55de48
Comment 3 Ralf Habacker 2013-08-16 10:45:05 UTC
Git commit de5761558d7f2ae738e47d5e144486c58acfdfd4 by Ralf Habacker.
Committed on 29/05/2013 at 21:36.
Pushed by habacker into branch 'master'.

Add original uml 1.4 dtd side by side.

R  +0    -0    doc/xml/uml-1.4-umbrello.dtd [from: doc/xml/01-02-16.dtd - 100% similarity]

http://commits.kde.org/umbrello/de5761558d7f2ae738e47d5e144486c58acfdfd4
Comment 4 Ralf Habacker 2013-08-16 10:45:06 UTC
Git commit 89a4fb2273009fcd06a742458092529b7b67c4a3 by Ralf Habacker.
Committed on 29/05/2013 at 22:35.
Pushed by habacker into branch 'master'.

Add helper script to extract xml elements from xmi files.

This tool uses xmllint to find undefined xml elements/attributes.

A  +43   -0    doc/xml/xmllint2dtd

http://commits.kde.org/umbrello/89a4fb2273009fcd06a742458092529b7b67c4a3
Comment 5 Ralf Habacker 2013-08-16 10:58:06 UTC
Git commit 4e95d79cdb64759f3548b02c7180e74a0a654d1d by Ralf Habacker.
Committed on 29/05/2013 at 22:37.
Pushed by habacker into branch 'master'.

Add elements from umbrello xmi test files.

M  +351  -3    doc/xml/uml-1.4-umbrello.dtd

http://commits.kde.org/umbrello/4e95d79cdb64759f3548b02c7180e74a0a654d1d