Re: ComplexType validation rule

Claude Seyrat <cseyrat@acland.fr> writes:

> I'm in charge of the MPEG-7 schema language group which 
> decided recently to rely on XML Schema. MPEG-7 schema 
> designers desire clarification about the following validation 
> rule (1.1.4) :
> 
> 	"
> 	In 5.11 Complex Type Definition Constraints :
> 	    ..
> 	    Constraint on Schemas: Derivation Valid (Extension)
> 	            If the {derivation method} is extension:
> 	            1.1
> 	                If the {base type definition} is a complex type
> 			definition:
> 	                ...
> 
> 		>>>>>>>>>>>>>>  1.1.4  The {content type} of the complex type itself
> 				must not be a simple type definition;
> 				...
> 	"
> 
> Does it mean that the following schema is not valid ?
> 
>     <complexType name="t1" base="integer" derivedBy="extension">
>         <attribute name="a1" base="integer"/>
>     </complexType>
> 
>     <complexType name="t2" base="t1" derivedBy="extension">
>         <attribute name="a2" base="integer"/>
>     </complexType>

I _think_ that's a bug, will check further and get back to you.

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 Thursday, 31 August 2000 10:32:43 UTC