Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » The opposite of the opposite may not be a reference different from this one, but on which line?
The opposite of the opposite may not be a reference different from this one, but on which line? [message #494585] Sat, 31 October 2009 17:44 Go to next message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
Hi,

I spent about 8 hours changing a large xsd and introduced the above
error message. It makes sense. I searched all ecore:opposite instances
in the file and could find none that looked incorrect. But the error has
an unknown Location. Which creates a problem, my xsd is 10400 lines
long, so I am wondering how to pinpoint the error. I made about 150
changes, adding jpa annotations for Teneo mostly. The ecore file shows
it is faulty, but not where. Is there a better validation tool for
validating so I can pinpoint the line the error is on?

Thx.

David
Re: The opposite of the opposite may not be a reference different from this one, but on which line? [message #494614 is a reply to message #494585] Sun, 01 November 2009 08:39 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
David,

If you double click the error it should open the Sample Ecore Editor and
navigate to the feature with the offending problem.


David Wynter wrote:
> Hi,
>
> I spent about 8 hours changing a large xsd and introduced the above
> error message. It makes sense. I searched all ecore:opposite instances
> in the file and could find none that looked incorrect. But the error
> has an unknown Location. Which creates a problem, my xsd is 10400
> lines long, so I am wondering how to pinpoint the error. I made about
> 150 changes, adding jpa annotations for Teneo mostly. The ecore file
> shows it is faulty, but not where. Is there a better validation tool
> for validating so I can pinpoint the line the error is on?
>
> Thx.
>
> David


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: The opposite of the opposite may not be a reference different from this one, but on which line? [message #494622 is a reply to message #494614] Sun, 01 November 2009 10:44 Go to previous message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
Ed,

Yes I found that, but, if I already have the ecore open in a text
editor, it goes to the top of the text file editor, not the offending
element in the ecore editor. So make sure the ecore is not open as a
text file before double clicking on the error.

Thx.

David

Ed Merks wrote:
> David,
>
> If you double click the error it should open the Sample Ecore Editor and
> navigate to the feature with the offending problem.
>
>
> David Wynter wrote:
>> Hi,
>>
>> I spent about 8 hours changing a large xsd and introduced the above
>> error message. It makes sense. I searched all ecore:opposite instances
>> in the file and could find none that looked incorrect. But the error
>> has an unknown Location. Which creates a problem, my xsd is 10400
>> lines long, so I am wondering how to pinpoint the error. I made about
>> 150 changes, adding jpa annotations for Teneo mostly. The ecore file
>> shows it is faulty, but not where. Is there a better validation tool
>> for validating so I can pinpoint the line the error is on?
>>
>> Thx.
>>
>> David
Previous Topic:[CDO] making CDOEditorInputImpl non internal
Next Topic:Alternate base class for item providers
Goto Forum:
  


Current Time: Wed Apr 24 17:07:47 GMT 2024

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

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

Back to the top