[Uml-devel] [ uml-Bugs-638569 ] check XMI file is a UML model file

Luis De la Parra Blum lparrab at gmx.net
Thu Nov 14 14:06:01 UTC 2002


> Initial Comment:
> Check the XMI meta model is UML on load.  Otherwise people might load XMI
> files which have nothing to do with UML.

actually... I think the correct thing to do is to make a DTD for our file 
(remember... it's not really XMI, it is only somewhat similar to it)

altough I havent checked, I would think QT's XML parser has validating 
capabilites, so we should validate the file at the very beginning, and refuse 
to load it if it doesnt match the DTD

luis





More information about the umbrello-devel mailing list