Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Including schemata with duplicate referents

From: Kasimier Buchcik <kbuchcik@---------.-->
To: <xmlschema-dev@--.--->
Date: 11/5/2004 2:57:00 PM
Hi,

I have difficulties understanding what to do with included components
at sub-schema constrution stage - acting as referents - which cannot be
included into the final schema.

A simplified example:

- A, B1, B2 and C are schemata
- B1 includes C and references components of C (referred to as B1.C)
- B2 includes C and references components of C (referred to as B2.C)
- A includes B1 and B2

Since the B1.C components are already included in A, the B2.C components
won't be added to A. The spec states properties of components to have 
components as their values; the values of components of B2 referencing 
B2.C would become unavailable, since not added to A.

This all assumes a recursive construction of the schemata, i.e. B1 and 
B2 don't know of each others includes; plus the components of C being
created twice, for B1 and B2, since originating from a schema document -
or possibly from different schema documents.

I wonder if there are some proposed techniques to solve this.
Do the references of B2 to B2.C components need to be remapped to B1.C
components? Any experience with a machanism that is aware of duplicates,
i.e. removes them if including/importing _before_ any attempt of
resolving references is performed - if this is possible at all.

But maby this is not a problem at all, in which case I would be glad
to have the knot in my head removed.

Greetings,

Kasimier


From mike@s... Fri Nov 05 13:33:05 2004
Received: from lisa.w


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent