[Uml-devel] Validation of XMI files, DTD or schema?
Brian Thomas
thomas at mail630.gsfc.nasa.gov
Tue Jan 28 10:29:02 UTC 2003
Hi, I just tried to validate the output XMI from umbrello with a number of
available XMI dtd, none of them worked (some errors printing below). Particularly
troublesome was the fact that the umbrello files are outputing something with
attributes of xmi.version "1.2" and "1.3" (different nodes have different versions).
This seems inconsistent, AND, for no DTD I could find is there any xmi.version
attribute higher than 1.1.
Can someone point me to a DTD (or schema) which will work?
= b.t.
java Validator TopLevelClasses.xmi
[Error] TopLevelClasses.xmi: Line 3, Column 89: Attribute "xmi.version" with value "1.2" must have a value of "1.1".
[Error] TopLevelClasses.xmi: Line 11, Column 58: Element type "docsettings" must be declared.
[Error] TopLevelClasses.xmi: Line 12, Column 15: Element type "umlobjects" must be declared.
[Error] TopLevelClasses.xmi: Line 13, Column 119: Element type "UML:Class" must be declared.
[Error] TopLevelClasses.xmi: Line 14, Column 146: Element type "UML:Attribute" must be declared.
[Error] TopLevelClasses.xmi: Line 15, Column 120: Element type "UML:Class" must be declared.
[Error] TopLevelClasses.xmi: Line 16, Column 145: Element type "UML:Attribute" must be declared.
[Error] TopLevelClasses.xmi: Line 17, Column 129: Element type "UML:Class" must be declared.
[Error] TopLevelClasses.xmi: Line 18, Column 139: Element type "UML:Class" must be declared.
[Error] TopLevelClasses.xmi: Line 19, Column 148: Element type "UML:Attribute" must be declared.
[Error] TopLevelClasses.xmi: Line 20, Column 127: Element type "UML:Class" must be declared.
[Error] TopLevelClasses.xmi: Line 21, Column 135: Element type "UML:Class" must be declared.
More information about the umbrello-devel
mailing list