title: Is maxoccurs needed for complex types in XML?
body: <p>Given: </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Clients xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
    &lt;Client&gt;
        &lt;ClientCode&gt;400057&lt;/ClientCode&gt;
      &lt;Notes&gt;
        &lt;Note&gt;
          &lt;Text&gt;This is a note&lt;/Text&gt;
        &lt;/Note&gt;
      &lt;/Notes&gt;
    &lt;/Client&gt;
    &lt;Client&gt;
        &lt;ClientCode&gt;101134&lt;/ClientCode&gt;
      &lt;Notes&gt;
        &lt;Note&gt;
          &lt;Text&gt;This is a note too&lt;/Text&gt;
        &lt;/Note&gt;
      &lt;/Notes&gt;
    &lt;/Client&gt;
  &lt;/Clients&gt;
  </code></pre>
  
  <p>And the Schema XSD:</p>
  
  <pre><code>&lt;xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      attributeFormDefault="unqualified" elementFormDefault="qualified"
      version="1.0"&gt;
      &lt;xsd:element name="Clients"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:sequence&gt;
                  &lt;xsd:element name="Client" maxOccurs="3"&gt;
                      &lt;xsd:complexType&gt;
                          &lt;xsd:sequence&gt;
                              &lt;xsd:element name="ClientCode" type="xsd:string"/&gt;
                              &lt;xsd:element name="Notes"&gt;
                                  &lt;xsd:complexType&gt;
                                      &lt;xsd:sequence&gt;
                                          &lt;xsd:element name="Note" nillable="true"&gt;
                                              &lt;xsd:complexType&gt;
                                                  &lt;xsd:sequence&gt;
                                                      &lt;xsd:element name="Text"
                                                          nillable="true"
                                                          type="xsd:string"/&gt;
                                                  &lt;/xsd:sequence&gt;
                                              &lt;/xsd:complexType&gt;
                                          &lt;/xsd:element&gt;
                                      &lt;/xsd:sequence&gt;
                                  &lt;/xsd:complexType&gt;
                              &lt;/xsd:element&gt;
                          &lt;/xsd:sequence&gt;
                      &lt;/xsd:complexType&gt;
                  &lt;/xsd:element&gt;
              &lt;/xsd:sequence&gt;
          &lt;/xsd:complexType&gt;
      &lt;/xsd:element&gt;
  &lt;/xsd:schema&gt;
  </code></pre>
  
  <p>Does Client require a maxoccurs value to allow more than one client in the XML file. Every validator I can find validates an XML with multiple clients, yet maxoccurs is not mentioned.</p>