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

Parsing invalid model/instance XMI #12

Closed
cfi-aschneider opened this issue Jul 28, 2016 · 0 comments · Fixed by #13
Closed

Parsing invalid model/instance XMI #12

cfi-aschneider opened this issue Jul 28, 2016 · 0 comments · Fixed by #13

Comments

@cfi-aschneider
Copy link
Contributor

Two cases of parsing invalid models/instance XMI were not being caught:

  1. An invalid eSuperType in a ecore model file is parsed and discarded silently.
  2. An invalid xsi:type of a child in an instance is also parsed and discarded silently.

Initial error throws have been added to our repo in the resolve references and parse routines that detect the undefined items which cause silent discarding. Related tests have also been added.

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

Successfully merging a pull request may close this issue.

1 participant