We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f39fbda commit 14ecae5Copy full SHA for 14ecae5
1 file changed
org.omg.sysml/src/org/omg/sysml/util/traversal/facade/impl/JsonElementProcessingFacade.java
@@ -264,7 +264,7 @@ public void postProcess(Element element) {
264
org.omg.sysml.model.Element apiModelElement = this.createApiModelElement(element);
265
UUID id = UUID.fromString(apiModelElement.get("@id").toString());
266
267
- if (element.getOwningNamespace() == null || element.isLibraryElement()) {
+ if (element.eContainer() == null || element.isLibraryElement()) {
268
this.getLocalModel().addModelRoot(id, apiModelElement);
269
}
270
this.getLocalModel().addModelElement(id, apiModelElement);;
0 commit comments