Book a Demo

Author Topic: problem with export to XML  (Read 5517 times)

Jumbik

  • Guest
problem with export to XML
« on: November 26, 2002, 12:55:10 pm »
Hi,

I have problem with Export to XML. When DTD is turned on, after exporting and then 'View  XML' (in IE 5) I see this message (my own translation to English):

Cannot display XML page

Reference to undeclared prefix: 'UML', row 3, position 1

<XMI xmi.version="1.1" xmlns:UML="omg.org/UML1.3" timestamp="11/26/02 21:50:22">
^

Does anybody know, what is the problem?
Thanks.

Jumbik.

mkroumer

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: problem with export to XML
« Reply #1 on: November 26, 2002, 02:12:17 pm »
Upgrade to IE version 6, the problem should disappear.

Michael

Jumbik

  • Guest
Re: problem with export to XML
« Reply #2 on: November 26, 2002, 02:27:42 pm »
Hi Michael,

thanks for advice,

Jumbik

James

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: problem with export to XML
« Reply #3 on: December 03, 2002, 08:21:16 am »
Has anyone had success/otherwise when importing/exporting to Togethersoft?

One of our partners uses it and while we can read their exports they can't read ours.

Takes two to tango...

Many thanks

James

mbc

  • EA User
  • **
  • Posts: 237
  • Karma: +1/-0
  • Embedded software developer
    • View Profile
Re: problem with export to XML
« Reply #4 on: December 04, 2002, 08:01:34 am »
I have only tried exporting from Together and importing into EA. At first it didn't work, but I submitted samples to Sparks. A few hours later, I received a reply (containing my project converted to EA), and a few days later, a new build with better XMI import functionality was available.
So I guess you should just mail TogetherSoft and ask them to fix their import problems and then it will be done in a few days........ or what do you think?  ;)

Mikkel

James

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: problem with export to XML
« Reply #5 on: December 04, 2002, 08:56:40 am »
Three follow-up points:

1.  For Jumbik in the initial post - I've found that if you remove the second line (<!DOCTYPE....) then it will display OK in IE5.5  Don't know why...

2.  I've discovered that if you use single or double quotes in any of your text (for example in a Use Case about a customer's products) the XMI parser gets confused.  Anyone have any ideas about how these can be escaped?  I've tried replacing with /' but to no avail.

3.  Looking at an export from Togethersoft (which did go into EA OK) their second line is: <XMI xmi.version = '1.1' xmlns:UML = '//org.omg/UML/1.3'> - I've bolded the bit that's different.   And there's no <!DOCTYPE... line

Thanks

james