Schema Validation

Hello,

I have just validated my schema and got an "Undeclared attribute" 
error. The system says:

file:/usr/local/XSV/xsvlog/@3517.4uploaded:4:1:
Invalid per cvc-complex-type.1.3: undeclared attribute
{None}:maxOccurs

What is wrong with my schema?


----- The schema just validated and got an error ------
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  targetNamespace="http://www.xmlforia.org">

<xsd:element name="contact" type="means" maxOccurs="99" />

<xsd:simpleType name="means">
   <xsd:union memberTypes="email fax" />
</xsd:simpleType>

<xsd:simpleType name="email">
  <xsd:restriction base="xsd:string">
    <xsd:pattern value="[a-z]@[a-z0-9]+" />
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="fax">
  <xsd:restriction base="xsd:string">
    <xsd:pattern value="\d+-\d+-\d+" />
  </xsd:restriction>
</xsd:simpleType>
</xsd:schema>

--
Kumeda, Yasuo                          TEL: +81-466-20-2430
                                       FAX: +81-466-20-2431
Research and Development Headquarters
Yamatake Corporation

Fujisawashi Kawana 1-12-2
Kanagawa, 251-8522 JAPAN

Received on Friday, 14 December 2001 00:24:11 UTC