title: cvc-complex-type.2.4.a: Invalid content was found starting with element day. One of {HiTemp} is expected
body: <p>I'm trying to write a simple XML file with a simple XSD.  </p>
  
  <p>Here is my XML:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;forecast week="June 1st 2016"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="forecast.xsd"&gt;
      &lt;day name="Monday"&gt;
          &lt;HiTemp&gt;84&lt;/HiTemp&gt; 
          &lt;LoTemp&gt;74&lt;/LoTemp&gt; 
          &lt;Wind&gt;SSE 18 mph&lt;/Wind&gt; 
          &lt;Humidity&gt;59%&lt;/Humidity&gt; 
          &lt;DewPoint&gt;68 degrees&lt;/DewPoint&gt; 
          &lt;Visibility&gt;10 miles&lt;/Visibility&gt; 
          &lt;UVIndex&gt;4 of 10&lt;/UVIndex&gt; 
          &lt;Sunrise&gt;6:01 AM&lt;/Sunrise&gt;
          &lt;Sunset&gt;8:49 PM&lt;/Sunset&gt;
      &lt;/day&gt;
      &lt;day name="Tuesday"&gt;
          &lt;HiTemp&gt;89&lt;/HiTemp&gt; 
          &lt;LoTemp&gt;77&lt;/LoTemp&gt; 
          &lt;Wind&gt;NW 6 mph&lt;/Wind&gt; 
          &lt;Humidity&gt;68%&lt;/Humidity&gt; 
          &lt;DewPoint&gt;54 degrees&lt;/DewPoint&gt; 
          &lt;Visibility&gt;8 miles&lt;/Visibility&gt; 
          &lt;UVIndex&gt;6 of 10&lt;/UVIndex&gt; 
          &lt;Sunrise&gt;6:03 AM&lt;/Sunrise&gt;
          &lt;Sunset&gt;8:51 PM&lt;/Sunset&gt;
      &lt;/day&gt;
      &lt;day name="Wednesday"&gt;
          &lt;HiTemp&gt;91&lt;/HiTemp&gt; 
          &lt;LoTemp&gt;76&lt;/LoTemp&gt; 
          &lt;Wind&gt;NE 27 mph&lt;/Wind&gt; 
          &lt;Humidity&gt;48%&lt;/Humidity&gt; 
          &lt;DewPoint&gt;44 degrees&lt;/DewPoint&gt; 
          &lt;Visibility&gt;10 miles&lt;/Visibility&gt; 
          &lt;UVIndex&gt;8 of 10&lt;/UVIndex&gt; 
          &lt;Sunrise&gt;6:05 AM&lt;/Sunrise&gt;
          &lt;Sunset&gt;8:53 PM&lt;/Sunset&gt;
      &lt;/day&gt;
      &lt;day name="Thursday"&gt;
          &lt;HiTemp&gt;91&lt;/HiTemp&gt; 
          &lt;LoTemp&gt;74&lt;/LoTemp&gt; 
          &lt;Wind&gt;SSE 20 mph&lt;/Wind&gt; 
          &lt;Humidity&gt;61%&lt;/Humidity&gt; 
          &lt;DewPoint&gt;68 degrees&lt;/DewPoint&gt; 
          &lt;Visibility&gt;7 miles&lt;/Visibility&gt; 
          &lt;UVIndex&gt;5 of 10&lt;/UVIndex&gt; 
          &lt;Sunrise&gt;6:07 AM&lt;/Sunrise&gt;
          &lt;Sunset&gt;8:55 PM&lt;/Sunset&gt;
      &lt;/day&gt;
      &lt;day name="Friday"&gt;
          &lt;HiTemp&gt;97&lt;/HiTemp&gt; 
          &lt;LoTemp&gt;76&lt;/LoTemp&gt; 
          &lt;Wind&gt;SE 10 mph&lt;/Wind&gt; 
          &lt;Humidity&gt;79%&lt;/Humidity&gt; 
          &lt;DewPoint&gt;54 degrees&lt;/DewPoint&gt; 
          &lt;Visibility&gt;10 miles&lt;/Visibility&gt; 
          &lt;UVIndex&gt;8 of 10&lt;/UVIndex&gt; 
          &lt;Sunrise&gt;6:10 AM&lt;/Sunrise&gt;
          &lt;Sunset&gt;8:57 PM&lt;/Sunset&gt;
      &lt;/day&gt;
  &lt;/forecast&gt;
  </code></pre>
  
  <p>And my XSD: </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
      xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" elementFormDefault="qualified"
      vc:minVersion="1.1"&gt;
  
   &lt;xs:element name="forecast"&gt;
       &lt;xs:complexType&gt;
           &lt;xs:sequence maxOccurs="unbounded"&gt;
               &lt;xs:element name="HiTemp" type="xs:integer"/&gt;
               &lt;xs:element name="Lotemp" type="xs:integer"/&gt;
               &lt;xs:element name="Wind" type="xs:string"/&gt;
               &lt;xs:element name="Humidity" type="xs:string"/&gt;
               &lt;xs:element name="Dewpoint" type="xs:string"/&gt;
               &lt;xs:element name="Visibility" type="xs:string"/&gt;
               &lt;xs:element name="UVIndex" type="xs:string"/&gt;
               &lt;xs:element name="Sunrise" type="xs:time"/&gt;
               &lt;xs:element name="Sunset" type="xs:time"/&gt;
           &lt;/xs:sequence&gt;
           &lt;xs:attribute name="week" type="xs:string" use="required"/&gt;
       &lt;/xs:complexType&gt;
     &lt;/xs:element&gt;
  &lt;/xs:schema&gt;
  </code></pre>
  
  <p>The error that I'm getting in oXygen is</p>
  
  <blockquote>
    <p>cvc-complex-type.2.4.a: Invalid content was found starting with
    element <code>day</code>. One of <code>{HiTemp}</code> is expected.</p>
  </blockquote>
  
  <p>It's probably something simple.  I've been searching other answers but I can't pinpoint what's causing this on mine, as it usually had something to do with something else on the other answers.</p>