I'm working on an ecore model that describes the Buckminster RMAP. It needs to serialize/parse according to an already
existing XSD. The XSD is however far from ideal as a good base for my model so I want to turn things around and use the
ecore model as base and then generate a compatible XSD from there.
Here is one problem that I've encountered that I would like some advice on:
The 'locator' element of the RMAP has a reference to a 'searchPath' element which is required to be in the same
document. This reference is using the 'name' attribute of the searchPath. It typically looks like this:
I.e. it's not a strict reference per se, it's just a match where Locator.searchPathRef == SearchPath.name. Nevertheless,
I want to model this as a 0..1, non-containing reference, from Locator to SearchPath so that I get all nice lookup
functionality etc. that the generated editor provides. What tweaks do I need to make this happen?