W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2000

Re: [Moderator Action] Schema Implementation Problem

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 05 Jun 2000 08:41:44 +0100
To: "Martin J. Duerst" <duerst@w3.org>
Cc: "Ryan Roleda" <ryanr@ntsp.nec.co.jp>, <xmlschema-dev@w3.org>
Message-ID: <f5b66ro60cn.fsf@cogsci.ed.ac.uk>
"Martin J. Duerst" <duerst@w3.org> writes:

> At 00/06/02 09:24 +0100, Henry S. Thompson wrote:
> >Sorry, previous message about misspelling was true, but not the whole
> > story:  the further problem was that top-level element declarations do not
> > have min/max occurs -- only element declarations or element declaration
> > references _within content models_ are allowed these attributes.
> 
> 
> I have found the same for top-level attribute declarations.
> 
> Any deeper reason to have it that way? (or pointer to it)
> 
> I can easily immagine that i want to define an attribute
> that always has the same occurrence constraint,...

Not much deeper, but a confirmation that it makes sense:  at the
abstract level, it's Particles which have min/maxOccurs, not elements
etc.

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 Monday, 5 June 2000 03:42:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:17 GMT