Re: [Moderator Action] Lists in Schema

"Kollu, Kishore" <kishore_kollu@mentorg.com> writes:

> As per your suggestion, I tried using the schema you enclosed with latest
> version of XML Spy i.e, version 3.5 beta 2.
> There is an error saying "restriction" expects a required attribute: base.

That sounds like a holdover from the April syntax -- it's definitely
OK, indeed what you have below is the _only_ way to get a five-element 
list.

<snip/>

> <simpleType name="doubleListType">
>  <restriction>
>   <simpleType>
>     <list itemType="double"/>
>   </simpleType>
>   <length value="5"/>
>  </restriction>
> </simpleType>

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 Sunday, 3 December 2000 08:59:07 UTC