Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Loading chameleon schemas
Loading chameleon schemas [message #603105] Mon, 23 June 2008 16:42
Dave Carlson is currently offline Dave Carlson
Messages: 399
Registered: July 2009
Senior Member
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
Previous Topic:XML Schmema Editor GUI - Sourcecode
Next Topic:Loading chameleon schemas
Goto Forum:
  


Current Time: Wed Aug 20 18:28:25 EDT 2014

Powered by FUDForum. Page generated in 0.01869 seconds