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

"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...)?  

Yes.

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

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