[Uml-devel] Q: UML spec to C++?

Andrew Sutton ansutton at kent.edu
Mon Oct 28 12:25:04 UTC 2002


On Monday 28 October 2002 7:13 am, Heiko Nardmann wrote:
> http://www.omg.org/cgi-bin/doc?ad/01-02-15.xml
>
> If yes does anyone know of an available XMI/XML parser tool which generates
> code from this (in C++) which could be the base for an internal umbrello
> data model?
>
> Next:
> bugreport: since the above given file is an XMI file I thought that opening
> it with umbrello should be possible. But nothing happens when opening this
> file. At least I would expect some kind of error message.

yes. it should be the MOF definition of UML. we should be able to generate the 
stubs for a real implementation running it thru some kind of utility. using 
another tool might not be worthwhile, because we'd need to generate code 
specifically for umbrello (like auto-generating XMI saving/loading 
capabilities). you can find the specification for the elements in the UML XMI 
definition in the MOF specification here:
	http://www.omg.org/cgi-bin/doc?formal/2002-04-03

next:
umbrello isn't really xmi compliant :( it expects certain organizational 
primitives to exist where none do in the uml xmi file.

andy





More information about the umbrello-devel mailing list