Finally got some time to start real work with AndroMDA. Specifically , I
had great need for the XML Schema cartridge. In short, the velocity
template is not robust enough to handle even moderately complex UML
(e.g. generalizations).

So I took some time and wrote replacement to that template (attached,
but also see URL listing below).

It is still not great, since it puts all classes as global elements
(hence a name clash will result is a type clash). Paying attention to
aggregation and entity stereotype would probably solve this, but I have
not had the time to do this. Lastly, I may have stripped out the
enumerations routine, so it is not a drop-in replacement. But it is a
more robust template and can handle a more complex example model (also
see URL).

If the group is interested, you can find the template and test model and
resulting schema in this tar/gzipped file:

http://fuge.sourceforge.net/dev/fugeTest.tar.gz

Cheers,
Angel


Attachment: XmlSchema.vsl
Description: application/vnd.visio

Reply via email to