|How to provide a different schema content [message #583414]
||Wed, 11 February 2004 23:34
| Joshua Hui
Registered: July 2009
In FAQ section of eclipse/xsd, it has the following question:
Is there a way to have schema documents which reference other schema
documents through <include> <import> or <redefine> be fetched from
locations other than those given in the schemaLocation attribute?
Yes, you can use a ResourceSet's URIConverter's URI map to map logical
URIs to physical URIs. You can see an example of that code in
But if I want to provide the content of the schema directly, instead of
letting EMF to locate the resource, how can I do it? Basically, what I
want is something like what EntityResolver provides.
Powered by FUDForum
. Page generated in 0.12188 seconds