W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2001

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

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 05 Jan 2001 14:51:32 +0000
To: "Bob Schloss" <rschloss@us.ibm.com>
Cc: www-xml-schema-comments@w3.org
Message-ID: <f5b4rzeaw7f.fsf@cogsci.ed.ac.uk>
"Bob Schloss" <rschloss@us.ibm.com> writes:

> 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?

No and No.

> 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.

It's an error.

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
Received on Friday, 5 January 2001 09:51:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:54 UTC