Book a Demo

Author Topic: XML DTD  (Read 9298 times)

Matt

  • EA User
  • **
  • Posts: 96
  • Karma: +0/-0
    • View Profile
    • Solutions Reality
XML DTD
« 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

Anibal Rojas

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: XML DTD
« Reply #1 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?
____________________
AnĂ­bal Rojas
[email protected]

gsparks

  • EA User
  • **
  • Posts: 325
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: XML DTD
« Reply #2 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

Matt

  • EA User
  • **
  • Posts: 96
  • Karma: +0/-0
    • View Profile
    • Solutions Reality
Re: XML DTD
« Reply #3 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