|
|
Re: quick fix (ISemanticModification) for file with errors? [message #896012 is a reply to message #896001] |
Mon, 16 July 2012 22:12 |
Stephan Herrmann Messages: 1853 Registered: July 2009 |
Senior Member |
|
|
More details regarding the cross-references issue:
In one situation it works OK, in another it doesn't. I think the distinguishing facts are:
- in one case the cross reference happens via an explicit reference node
- in the other case the cross reference happens inline
like this:
Element1: 'element1' name=ID ref=Reference ; // unresolved Reference is fixable
Reference: target=[Target] ;
Element2: 'element2' other=[otherModel::Target] ; // unresolved otherModel::Target is not fixable
Not sure if crossing model boundaries (otherModel::Target is imported) makes a difference. Another factor might be, that the name of an otherModel::Target is also used as the name of the Element2.
The error preventing serialization is s.t. like
Feature Element2.other must be set. Source: Model.elements[13]->Element2
best,
Stephan
[Updated on: Mon, 16 July 2012 22:14] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04017 seconds