Loading chameleon schemas [message #603105] |
Mon, 23 June 2008 20:42 |
Eclipse User |
|
|
|
Some schemas use the pattern of importing (or including) a schema that has
no targetNamespace into a schema that does have a namespace (aka chameleon
schemas). When using the XSD model to load these schemas, the imported
chameleon schema definitions are added to EACH schema that imports them. I
believe that this is correct from the perspective of the XSD infoset, but it
causes problems when I want to access and process the XSD definitions as
defined in each original schema. My use case is to transform the XSD to a
UML model that reflects the original schema modularity.
Is there any way to change this behavior when loading XSD so that a
chameleon schema is loaded only once with a null targetNamespace and
imported by the other XSDSchema components? Or, lacking that, some way to
load the chameleon schema and sort out which definitions in other schemas
are actually duplicate copies?
Thanks,
Dave Carlson
|
|
|
Powered by
FUDForum. Page generated in 0.04112 seconds