-
Notifications
You must be signed in to change notification settings - Fork 10
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
Do not assume Schema Locations are pointing to a Resource it can be an EObject #24
Comments
adaussy
added a commit
to adaussy/sirius-emf-json
that referenced
this issue
Nov 27, 2023
Bug: eclipse-sirius#24 Signed-off-by: Arthur Daussy <[email protected]>
adaussy
added a commit
to adaussy/sirius-emf-json
that referenced
this issue
Dec 4, 2023
Bug: eclipse-sirius#24 Signed-off-by: Arthur Daussy <[email protected]>
sbegaudeau
pushed a commit
to adaussy/sirius-emf-json
that referenced
this issue
Dec 5, 2023
Bug: eclipse-sirius#24 Signed-off-by: Arthur Daussy <[email protected]>
sbegaudeau
pushed a commit
to adaussy/sirius-emf-json
that referenced
this issue
Dec 5, 2023
Bug: eclipse-sirius#24 Signed-off-by: Arthur Daussy <[email protected]>
sbegaudeau
pushed a commit
that referenced
this issue
Dec 5, 2023
Bug: #24 Signed-off-by: Arthur Daussy <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current implementation assume that the URI located in schemaLocation attribute points to a resource. It not always the case it could target directly a EPackage inside a Resource. It is especially the case when dealing with UML profile.
org.eclipse.sirius.emfjson.utils.GsonEObjectDeserializer.deserialize(JsonElement, Type, JsonDeserializationContext)
I think we need to check if a fragment is present an if it is directly use resourceSet.getEObject(URI).
Here is a model than can be used to check.
DynamicProfileTypeTests.profile.uml.zip
The text was updated successfully, but these errors were encountered: