Element containing a list of IDs

I want to represent something like

<exporteditems>
	<endids>id21 id2 id5 id23</endids>
<exporteditems/>

Where the ids are IDs (or possibly some other type).

What's wrong with this schema...?

    <element name='exporteditems'>
     <complexType>
      <sequence>
       <element minOccurs='0' maxOccurs='1' name='endids'>
         <simpleType>
          <restriction>
           <list itemType='ID'>
           </list>
          </restriction>
         </simpleType>
       </element>
      </sequence>
     </complexType>
    </element>

I've tried a few variations but looking at previous posts the above seems to
be ok, while XSV reports:

Problems with the schema-validity of the target
file:/E:/My Documents/_ Work Current/_VLV/XML/vlxdoc-xed.xsd:64:12: Invalid
cvc-complex-type.1.2.4: element {http://www.w3.org/2000/10/XMLSchema}:list
not allowed here in element
{http://www.w3.org/2000/10/XMLSchema}:restriction:
file:/E:/My Documents/_ Work Current/_VLV/XML/vlxdoc-xed.xsd:64:12: Invalid
src-resolve: undeclared element {http://www.w3.org/2000/10/XMLSchema}:list


Mark
--
Mark Hughes
  Agile HTML Editor
    http://www.agilic.com

Received on Thursday, 21 December 2000 11:42:21 UTC