title: SoapUI seems to be incorrectly saying these restrictions are invalid. What am I doing wrong?
body: <p>I have the following in my XML Schema:</p>
  
  <pre><code>&lt;xsd:simpleType name="DECIMAL_TYPE"&gt;
      &lt;xsd:restriction base="xsd:double"&gt;
          &lt;xsd:minInclusive value="-100000"/&gt;
          &lt;xsd:maxInclusive value="100000"/&gt;
      &lt;/xsd:restriction&gt;
  &lt;/xsd:simpleType&gt;
  
  &lt;xsd:simpleType name="ANGLE_VALUE_TYPE"&gt;
      &lt;xsd:restriction base="DECIMAL_TYPE"&gt;
          &lt;xsd:minInclusive value="0"/&gt;
          &lt;xsd:maxInclusive value="360"/&gt;
      &lt;/xsd:restriction&gt;
  &lt;/xsd:simpleType&gt;
  
  &lt;xsd:complexType name="ANGLE_TYPE"&gt;
      &lt;xsd:simpleContent&gt;
           &lt;xsd:extension base="ANGLE_VALUE_TYPE"&gt;
                &lt;xsd:attribute name="UNITS" type="xsd:string" fixed="degrees"/&gt;
           &lt;/xsd:extension&gt;
      &lt;/xsd:simpleContent&gt;
  &lt;/xsd:complexType&gt;
  
  &lt;xsd:complexType name="SPECIAL_ANGLE_TYPE"&gt;
      &lt;xsd:simpleContent&gt;
           &lt;xsd:restriction base="ANGLE_TYPE"&gt;
                &lt;xsd:maxInclusive value="90" /&gt; &lt;!-- The source of the problem --&gt;
           &lt;/xsd:restriction&gt;
      &lt;/xsd:simpleContent&gt;
  &lt;/xsd:complexType&gt;
  </code></pre>
  
  <p>This schema is used in a WSDL that I'm using as the basis for a new SoapUI project. However, when I try to import the project, SoapUI gives this error:</p>
  
  <blockquote>
    <ul>
    <li>There was something wrong with the WSDL you are trying to import:
    <ul>
    <li>Source: null </li>
    <li>Error: Must be less than or equal to previous maxInclusive</li>
    </ul></li>
    </ul>
  </blockquote>
  
  <p>If I change the '90' in the problem line to be equal to '360', the same error appears.</p>
  
  <p>If I remove the line with the comment ("The source of the problem") then SoapUI imports the WSDL just fine. The schema successfully validates in Eclipse, and WSDL2Java runs fine on it.</p>
  
  <p>What, if anything, is wrong with my schema, and what do I need to do to import this to SoapUI? Thank you!</p>