Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Problem when validating and convertinf my Ecore Models
Problem when validating and convertinf my Ecore Models [message #891651] Mon, 25 June 2012 12:13 Go to next message
frank fotso is currently offline frank fotsoFriend
Messages: 91
Registered: May 2012
Member
hi,

i have created an Ecode diagram now when i wan to create a genModel of that diagram i have the folling error :
" Problem were detected while validating and converting the Ecore models "
( the name " is not well formed )

Any ideas on how to solved this problem?

Best regards ,
frank
Re: Problem when validating and convertinf my Ecore Models [message #891703 is a reply to message #891651] Mon, 25 June 2012 14:30 Go to previous messageGo to next message
Tim Schaefer is currently offline Tim SchaeferFriend
Messages: 49
Registered: June 2011
Location: Marburg, Germany
Member
Hi Frank,

you probably didn't set the root EPackage's name, nsPrefix and nsURI.
Use the properties view when no EClass is selected in the diagram or open the ecore file with the Ecore Sample Editor.

Regards,
Tim
Re: Problem when validating and convertinf my Ecore Models [message #891706 is a reply to message #891703] Mon, 25 June 2012 14:42 Go to previous messageGo to next message
Sharon Snyder is currently offline Sharon SnyderFriend
Messages: 56
Registered: September 2010
Member

I've also found that sometimes phantom features/attributes stick around. Load up the .ecore file and look for extraneous items, and if there are none, and the problem persists...try to check the name of all the items by using the properties view.

FYI I usually close the diagram editor, edit the .ecore and then re-load the diagram editor....to ensure that they don't get out of sync.

- Sharon
Re: Problem when validating and convertinf my Ecore Models [message #891723 is a reply to message #891706] Mon, 25 June 2012 15:39 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 26278
Registered: July 2009
Senior Member
That could be the case. If the *.ecore is opened and you validate that,
select a particular message, the editor will select the object with the
problematic value.

On 25/06/2012 4:42 PM, Sharon Snyder wrote:
> I've also found that sometimes phantom features/attributes stick
> around. Load up the .ecore file and look for extraneous items, and if
> there are none, and the problem persists...try to check the name of
> all the items by using the properties view.
>
> FYI I usually close the diagram editor, edit the .ecore and then
> re-load the diagram editor....to ensure that they don't get out of sync.
>
> - Sharon
Re: Problem when validating and convertinf my Ecore Models [message #892199 is a reply to message #891723] Wed, 27 June 2012 11:43 Go to previous message
frank fotso is currently offline frank fotsoFriend
Messages: 91
Registered: May 2012
Member
thks , i did as you said and now everything is ok.
Previous Topic:CDO Dawn problem
Next Topic:What are New and Noteworthy inside the EMF project?
Goto Forum:
  


Current Time: Wed Dec 17 21:38:35 GMT 2014

Powered by FUDForum. Page generated in 0.01964 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software