|
Re: XSD file - Restriction from imported namespace [message #1826200 is a reply to message #1826147] |
Tue, 21 April 2020 05:02 |
Ed Merks Messages: 33264 Registered: July 2009 |
Senior Member |
|
|
This forum is specifically for asking questions about how to use the org.eclipse.xsd EMF model, not a general forum for asking questions about XML Schema itself.
My guess would be that there is an issue related to element qualification. The schema element itself can contain the attribute elementFormDefault="qualified" and if the other scheme does that, all its local elements will implicitly be qualified with that schema's targetNamespace. That will make it hard (impossible) for you in a different schema with a different targetNamespace to restrict those elements because there is no way to declare an element with a namespace different than its containing schema's namespace.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04025 seconds