Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Dangling references in XText editor
Dangling references in XText editor [message #1206824] Sun, 24 November 2013 08:26 Go to next message
Ashwini Nayak is currently offline Ashwini NayakFriend
Messages: 19
Registered: July 2013
Junior Member
Hello,

I have 3 XText based editors.

DSL Editor1 has the following contents :

A = B

Here, A is referred from Editor2 and B is refered from Editor3.

But, I get error 'feature 'A' contains a dangling refrence'

I also get messages in Console which looks something like this:
org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy ERROR - Reference from platform:/xxxxxxx cannot be exported as the target is not contained in a resource.


I dont understand how to fix the issue and is the actual cause for the issue.
Can anybody provide suggestions?

Thanks in advance Smile

[Updated on: Sun, 24 November 2013 08:44]

Report message to a moderator

Re: Dangling references in XText editor [message #1206961 is a reply to message #1206824] Sun, 24 November 2013 10:03 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9012
Registered: July 2009
Senior Member
Hi,

it would be interesting to know about your customizations in nameprovider, resourcedescriptionsstrategy and scoping and linking
looks like you have some references to objects that do not belong to a resoure.





Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Previous Topic:Showing validation error at the right eStructural feature
Next Topic:Call Formatter
Goto Forum:
  


Current Time: Fri May 27 12:27:49 GMT 2016

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

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