W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2003

RE: Restricting Wildcards

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Wed, 26 Feb 2003 06:54:21 -0800
Message-ID: <E5B814702B65CB4DA51644580E4853FB03DA791E@red-msg-12.redmond.corp.microsoft.com>
To: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>
Cc: "Dare Obasanjo" <dareo@microsoft.com>, <xmlschema-dev@w3.org>

My apologies!  I misread the example.  Dare and I had discussed a very
similar example that had maxOccurs=1 on the 'any'.

All the best, Ashok

-----Original Message-----
From: Henry S. Thompson [mailto:ht@cogsci.ed.ac.uk] 
Sent: Wednesday, February 26, 2003 6:50 AM
To: Ashok Malhotra
Cc: Dare Obasanjo; xmlschema-dev@w3.org
Subject: Re: Restricting Wildcards

"Ashok Malhotra" <ashokma@microsoft.com> writes:

> I'm really confused about this now.  The base has an "any" that allows
> one element.  The derived type replaces this with two elements.  How
> this a valid restriction?  I guess I'm missing a concept here.

The base has any any with max unbounded, that's why it _should_ allow
two elements in the restriction.

  Henry S. Thompson, HCRC Language Technology Group, University of
                      Half-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 Wednesday, 26 February 2003 09:55:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:09 UTC