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

Re: [Moderator Action] Lists in Schema

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 03 Dec 2000 13:59:04 +0000
To: "Kollu, Kishore" <kishore_kollu@mentorg.com>
Cc: xmlschema-dev@w3.org
Message-ID: <f5bhf4lsj13.fsf@cogsci.ed.ac.uk>
"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 GMT

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