Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal importer creates an unusable backend when using xmi:id #63

Closed
yvrng opened this issue Jan 28, 2017 · 2 comments
Closed

Internal importer creates an unusable backend when using xmi:id #63

yvrng opened this issue Jan 28, 2017 · 2 comments

Comments

@yvrng
Copy link
Contributor

yvrng commented Jan 28, 2017

The import behaves differently depending on the type of file being read:

  • With a standard XMI (using XPath), the import behaves correctly, and the resulting backend is the same as if we had used EMF.
  • With an identified XMI (using xmi:id) the links between a container and a containment aren't done properly: When an original container expects several elements, the provided container has none.
@yvrng yvrng added this to the Release 1.1.0 milestone Jun 9, 2017
@yvrng
Copy link
Contributor Author

yvrng commented Jun 9, 2017

Partially solved in c01de65: References are first processed as attributes when reading, then redirected in EcoreProcessor which has access to its real type.

@yvrng
Copy link
Contributor Author

yvrng commented Jun 21, 2017

Fixed in #69: the XMI reader no longer try to detect references, it simply delegate the structural features to the next processors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant