RE: local symbol spaces

 -----Original Message-----
From: 	ht@cogsci.ed.ac.uk [mailto:ht@cogsci.ed.ac.uk] 
Sent:	Friday, May 24, 2002 5:07 AM
To:	oliver fodor
Cc:	xmlschema-dev@w3.org
Subject:	Re: local symbol spaces

oliver fodor <fodor@itc.it> writes:

> if i have two anonymous complex type definitions. inside of these i
> declare a local element with equal names. is this allowed? 

Yes.

> do aalso anonymous type definitions define their own local symbol
> spaces?

Yes.

> how can such components be referenced from outside?

They can't.  Only top-level element declarations can be ref'ed, or
used as the heads of substitution groups.

Or if you convert the types to named types. You can then use those named
types as the types of "outside" elements, and/or you can use those types as
base types of outside types, for further derivation.

Mark 

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, 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/
 [mail really from me _always_ has this .sig -- mail without it is forged
spam]

Received on Friday, 24 May 2002 09:54:27 UTC