Book a Demo

Author Topic: Export/Import packages between models  (Read 3465 times)

pmahoney

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • An old picture. More grey now :-(
    • View Profile
Export/Import packages between models
« on: March 20, 2006, 02:39:44 am »
I'm trying to move a package from one model to another. When I try to import I get:

Error:
Code = 0c00ce014
Source = Line : 367; Char : 218
Error Description = Element content is invalid ccording to the DTD/schema
Expectng: {ULM}ModelElement, {UML}Comment, {UML}Namespace, {UML}GeneralizableElement, {UML}Feature, {UML}Paramater, {UML}Constraint. {....

thomaskilian

  • Guest
Re: Export/Import packages between models
« Reply #1 on: March 20, 2006, 02:42:08 am »
Have you looked inside? What do you find at the specified location?

pmahoney

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • An old picture. More grey now :-(
    • View Profile
Re: Export/Import packages between models
« Reply #2 on: March 20, 2006, 02:55:10 am »
<UML:Device name="Cisco PIX 501" xmi.id="EAID_F9DA9978_73E0_400c_9A87_E4F3D37D69CB" visibility="public" namespace="EAPK_CD98AA0D_EF64_45cb_A6EF_E049FF02139E" isRoot="false" isLeaf="false" isAbstract="false">

Char pos 218 is at the end of the word isAbstract

thomaskilian

  • Guest
Re: Export/Import packages between models
« Reply #3 on: March 20, 2006, 08:17:21 am »
Looks like a version mismatch or you have the wrong DTD. Check the DTD you are using. If it seems to be correct you should report a bug. In order to import the file though, you should change/ isAbstract="false"// globally in the file.

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Export/Import packages between models
« Reply #4 on: March 20, 2006, 04:51:07 pm »
Or use ex/imp without the DTD turned on!!
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

pmahoney

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • An old picture. More grey now :-(
    • View Profile
Re: Export/Import packages between models
« Reply #5 on: March 21, 2006, 01:55:14 am »
Exp with no DTD did the trick.