title: s4s-elt-invalid-content.1 in XML Validation
body: <p>I am newbie to XML.</p>
  
  <p>I am validating one XML/XSD file. But Eclipse is throwing below validation error</p>
  
  <blockquote>
    <p>s4s-elt-invalid-content.1</p>
  </blockquote>
  
  <p>Here's the code where it's having issues in XSD.</p>
  
  <pre><code>&lt;complexType name="Check_String"&gt;
      &lt;complexContent &gt;
          &lt;extension base="tns:Boolean"/&gt;
      &lt;/complexContent&gt;
      &lt;complexContent &gt;
          &lt;extension base="tns:String"/&gt;
      &lt;/complexContent&gt;
  &lt;/complexType&gt;
  </code></pre>
  
  <p>I am not sure how to solve this. Can any one explain why this error and workaround.
  because of this validation of XML fails</p>
  
  <pre><code> &lt;attribute name="Reset password Call Barring"  xsi:type="tns:Check_String"  nillable="true" vdsl2Name="PSWD"&gt;
              &lt;conditions when="BADPAYER_DisableAllForPSTN" enabled="false"/&gt;
   &lt;/attribute&gt;
  </code></pre>