Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Dangling references in XText editor
Dangling references in XText editor [message #1206824] Sun, 24 November 2013 03:26 Go to next message
Eclipse UserFriend
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 03:44] by Moderator

Re: Dangling references in XText editor [message #1206961 is a reply to message #1206824] Sun, 24 November 2013 05:03 Go to previous message
Eclipse UserFriend
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.



Previous Topic:Showing validation error at the right eStructural feature
Next Topic:Call Formatter
Goto Forum:
  


Current Time: Tue Jul 22 23:24:26 EDT 2025

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

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

Back to the top