W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2000

Re: 4.3.1: second scenario: should value constraint default to FIXED?

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 03 May 2000 09:26:50 +0100
To: James Tauber <JTauber@bowstreet.com>
Cc: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
Message-ID: <f5bog6o6nud.fsf@cogsci.ed.ac.uk>
James Tauber <JTauber@bowstreet.com> writes:

> [back again :-)]
> 
> In 4.3.1, in the second scenario (where ref is absent and schema is not the
> parent) the value of {value constraint} is given as "fixed" if the "use"
> attribute is not "default".
> 
> In other words, if a value is given, but the use attribute is one of
> "optional", "fixed" or "required", the value constraint is taken to be
> "fixed".

There's a co-occurrence constraint missing, you're right.  There
should be something under _Attribute Declaration Representation OK_
which says "if 'value' is present, then 'use' must be "default",
"fixed" or "required".

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 Wednesday, 3 May 2000 04:26:54 UTC

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