|
|
|
|
|
Re: Package.eINSTANCE.getElement not equals reference.etype - ResourceFactory or Registry Problem? [message #1804257 is a reply to message #1804254] |
Thu, 21 March 2019 10:23 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
There's not much contextual information in your post. You cannot and should not redirect XyzPackage.eINSTANCE to "load" something else. This is the generated model and just be constructed and initialized properly by XyxPackageImpl.
This is more a question of how do your instances specify their schema location. It sounds as if you've created dynamic instances but you should not expect to use your generated validator on those. The generated validator can only validate instances of your generated model. Likely you can just remove the schemaLocation attribute from the instance so that it used the generated model that you've installed.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03522 seconds