Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Matt on January 18, 2002, 05:42:39 am

Title: XML DTD
Post by: Matt on January 18, 2002, 05:42:39 am
Please help!

I am trying to examine XML export from EA using XMLspy4.2 because I am looking to create some XSL conversions to produce web documentation of the project I am working on.

However, XML Spy insists that there is problems with the XML file as there are problems with the DTD file {UML:'ActivityGraph' is undefined}.  Can someone please point out how to resolve these (or whether anyone else is having these problems!)

Thanks for the help and keep up the good work,

Matt
Title: Re: XML DTD
Post by: Anibal Rojas on January 18, 2002, 06:17:51 am
Matt,

    I am sorry this is not for help. I was thinking about using the same procedure you outlined in order to produce the documentation in a more regular and easy way. So you are ine step ahead of me.

    HAve you previous experiences with XMS Spy? Do you like the product?
Title: Re: XML DTD
Post by: gsparks on January 18, 2002, 09:14:42 pm
Hi,

I checked out the UML_EA.DTD we distribute with Enterprise Architect. It appears that in the Diagram extensions (XMI does not support diagrams natively!) there is a reference the UML:ActivityGraph - which is not defined within the body of the DTD. This is on line 6416 of the DTD. I believe you can safely delete this reference from the DTD as EA only uses UML:ActivityGraph when exporting to Rose format XMI - when exporting UML1.3 format it uses UML:ActivityModel

Interestingly the Microsoft MSXML3 based parsers dont pick this up and validate the document as OK [EA uses MSXML3] ?

Hope this helps - let me know how you get on,

Geoff Sparks
Title: Re: XML DTD
Post by: Matt on January 21, 2002, 02:36:16 am
Geoff,  thanks for that, I will give that a try and let you know how it goes,

Matt