Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Loading chameleon schemas
Loading chameleon schemas [message #603105] Mon, 23 June 2008 20:42
Dave Carlson is currently offline Dave CarlsonFriend
Messages: 402
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: Thu Apr 18 15:13:39 GMT 2024

Powered by FUDForum. Page generated in 0.01944 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top