parsing argouml files

TeeJay on 2003-03-31T22:13:40

I am still bravely soldiering on in my effort to unite all the worlds open source UML tools with autodia.

My current target is argouml, it has caused me much grief, as you would have noticed if you were subscribed to the dia mailing list

Anyway, seeing how the XMI is fugly:

=================================> untitledModel ClassB <============================

and some of the pgml is equally nasty :

=============================> sourcePortFig="Fig0.0" destPortFig="Fig1.0" sourceFigNode="Fig0" destFigNode="Fig1" <==========================================

ouch! did you see those key pairs - in XML ! why ?

You can see why progress hasn't been fun or fast - I have tried XML::XPath but at the moment XML::EasyOBJ seems to be doing the trick.

Anyway I have made some progress and reckon I will be able to get all the information I need out of arguml by next weekend.