Re: [Mark Benvenuto <t-markbe@microsoft.com>] Structures Spec Comments / XSV Error

ht@cogsci.ed.ac.uk (Henry S. Thompson) writes:

> 5.1 Attribute Declaration Constraints
> Constraint on Schemas: Attribute Declaration Properties Correct 
> ...
> 2  {min occurs} and {max occurs} must be present if and only if {scope} is
> not global;  

Note this is a constraint on the attribute declaration component.

> I assume that this is accomplished by the default constraints for an absent
> use value of minOccurs = 0 & maxOccurs = 1 when the scope is not local. It
> would be better if the spec was clearer on this. 

you mean '... not _global_.'

This is stated clearly in 4.3.1 under max and min occurs -- where is
the unclarity?

> This is an example from the primer that does not explicitly list
> minOccurs/maxOccurs but technically defines values for it with an absent
> use.

Again, max/minOccurs are _not_ attributes of the <attribute>
declaration -- various values of these properties of the attribute
declaration component correspond to various values of the 'use'
attribute, per 4.3.1.

> 4  if there is a {value constraint}, 
> 	4  its string must be schema-valid with respect to the {simple type
> definition} as defined in String Valid (§3.13);
> 	its second part (default or fixed) must be present if and only if
> its {scope} is not global.  

Will be fixed, thanks.

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, 7 June 2000 06:16:18 UTC