Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Best practice for checking URI equality
Best practice for checking URI equality [message #1735151] Wed, 15 June 2016 21:44
Larry LeBron is currently offline Larry LeBronFriend
Messages: 124
Registered: October 2015
Senior Member
I have been using URIs as unique identifiers for positions in my dsl programs.

However, I just discovered that I'm getting unequal versions of URIs for the same position in the code.

Specifically, what I've just observed is one URI for the entity reading:


and then, later, one with:


So, is there a best practice I can perform on these different versions to confirm that they're referring to the same point in the code?

For example, perhaps comparing the value of URI.path(), and using that as my identifier, instead of URIs themselves?

Previous Topic:navigable reference to non-model file without xbase
Next Topic:Xtext, Idea multiple output configuration
Goto Forum:

Current Time: Mon Mar 04 19:32:40 GMT 2024

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

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

Back to the top