title: XSD validation - sequence of attributes - exception
body: <p>I can't find the problem an tried different things. I would really appreciate any kind of help.
  I had a valid .xsd document, but changed some parts of the xml and now I'm unable to get it valid and I don't find the fault. The error-message is below. Does someone see what is wrong there? The exceptions start, where the sequence of attributes starts.</p>
  
  <pre><code>&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:Projekt1" xmlns:proj="urn:Projekt1"&gt;
      &lt;xs:element name="projekte" type="proj:ProjekteForm"/&gt;
  
      &lt;xs:complexType name="ProjekteForm"&gt;
          &lt;xs:sequence&gt;
              &lt;xs:element name="person" type="proj:ProjekteForms" minOccurs="0" maxOccurs="unbounded"/&gt;
          &lt;/xs:sequence&gt;
      &lt;/xs:complexType&gt;
  
      &lt;xs:complexType name="ProjekteForms"&gt;
          &lt;xs:sequence&gt;
              &lt;xs:element name="name" type="xs:string"/&gt;
              &lt;xs:element name="link" type="xs:string"/&gt;
              &lt;xs:element name="zhaw" type="xs:string"/&gt;
                  &lt;sequence&gt;
                      &lt;xs:attribute name="width" type="xs:integer"/&gt;
                      &lt;xs:attribute name="height" type="xs:integer"/&gt;
                  &lt;/sequence&gt;
              &lt;xs:element name="homepage" type="xs:string"/&gt;
              &lt;xs:element name="googlemapsx" type="xs:float"/&gt;
              &lt;xs:element name="googlemapsy" type="xs:float"/&gt;
              &lt;xs:element name="facebook" type="xs:string"/&gt;
              &lt;xs:element name="skype" type="xs:string"/&gt;
              &lt;xs:element name="twitter" type="xs:string"/&gt;
          &lt;/xs:sequence&gt;
          &lt;xs:attribute name="id" type="xs:integer"/&gt;
      &lt;/xs:complexType&gt;
  &lt;/xs:schema&gt;
  </code></pre>
  
  <p>Which content is meant down here? On another place in the document, it works also like this.</p>
  
  <p><strong>Message:</strong><br/>
  Not valid.
  Error - Line 16, 52: org.xml.sax.SAXParseException; lineNumber: 16; columnNumber: 52; s4s-elt-must-match.1: The content of 'sequence' must match (annotation?, (element | group | choice | sequence | any)<em>). A problem was found starting at: attribute.
  Error - Line 17, 53: org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 53; s4s-elt-must-match.1: The content of 'sequence' must match (annotation?, (element | group | choice | sequence | any)</em>). A problem was found starting at: attribute.</p>
  
  <p>EDIT:
  Maybe it's helpful if I upload also the xml. But the question ist just about the validity of the .xsd.</p>
  
  <pre><code>&lt;?xml version="1.0" standalone="no"?&gt;
  &lt;?xml-stylesheet type="text/xsl" href="Projekt1.xsl" xmlns:x="urn:Projekt1" exclude-result-prefixes="x"?&gt;
  &lt;x:projekte xmlns:x="urn:Projekt1"&gt;
      &lt;person id= "1"&gt;
          &lt;name&gt;Franz Mommar&lt;/name&gt;
          &lt;link&gt;http://www.dfki.de/~wahlster/Portrait_Photos/&lt;/link&gt;
          &lt;zhaw width="100" height="100"&gt;Portrait_Wahlster_Photo_by_Jim_Rakete.jpg&lt;/zhaw&gt;
          &lt;homepage&gt;http://www.werni.ch&lt;/homepage&gt;
          &lt;googlemapsx&gt;285.2342&lt;/googlemapsx&gt;
          &lt;googlemapsy&gt;234.3598&lt;/googlemapsy&gt;
          &lt;facebook&gt;franzmoammar&lt;/facebook&gt;
          &lt;skype&gt;franz.moammar&lt;/skype&gt;
          &lt;twitter&gt;franzmoammar&lt;/twitter&gt;
      &lt;/person&gt;
      &lt;person id= "2"&gt;
          &lt;name&gt;Rüdiger Mannheim&lt;/name&gt;
          &lt;link&gt;http://www.dfki.de/~wahlster/Portrait_Photos/&lt;/link&gt;
          &lt;zhaw width="100" height="100"&gt;Wahlster_Anschnitt_gross.jpg&lt;/zhaw&gt;
          &lt;homepage&gt;http://www.humor.li&lt;/homepage&gt;
          &lt;googlemapsx&gt;45.2342&lt;/googlemapsx&gt;
          &lt;googlemapsy&gt;32.3598&lt;/googlemapsy&gt;
          &lt;facebook&gt;rüdigermann&lt;/facebook&gt;
          &lt;skype&gt;ruedi&lt;/skype&gt;
          &lt;twitter&gt;geronimo&lt;/twitter&gt;
      &lt;/person&gt;
  &lt;/x:projekte&gt;
  </code></pre>