W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2000

precise definition needed for establishing identity between components that may appear multiple times (via import)

From: Bob Schloss <rschloss@us.ibm.com>
Date: Mon, 11 Dec 2000 14:52:14 -0500
To: www-xml-schema-comments@w3.org
Message-ID: <OFA9ADD039.0DE56BAA-ON852569B2.006C2762@pok.ibm.com>
The NOTEs that appear at the ends of Structures sections 6.2.1, 6.2.2 and
6.2.3 state that
doing the same include, import or redefine more than once should be
allowed.

A phrase is used about "forestalling the necessity of establishing identity
component
by component".

I did not find a definition of component identity in the spec.

Does identity mean two components
with the same name (same TNS and same component/local name) and the
same component type (such as model group, type, global element...)?  Or is
it two components
with the same name, type and the same definition (e.g. content models are
the same)?
Or is it something else?

I imagine a situation where the same schema file is not imported multiple
times, but
a defintion in one imported (or included) file is the same as a definition
in the importing file or in
a second imported file, and I want to understand if this is an error or
not.

Thanks,
Bob
Received on Monday, 11 December 2000 14:53:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:49 GMT