title: Date Field Validation failed for type xsd:gYear type in SOAP ui
body: <p>I am having trouble to identify the validation logic that <code>SoapUI</code> implements. </p>
  
  <p>There is one date field which is type <code>xsd:gYear</code> defined in my local XSD used in WSDL. When I am validating the value "20161411" its failed in SoapUI, but same field is by passing in java framework, which I have same XSD and same wsdl .</p>
  
  <p>Field Is :</p>
  
  <pre><code> &lt;date&gt;20171210&lt;/date&gt;
  </code></pre>
  
  <p>It's type is xsd:gYear as defined in my XSD as below :-</p>
  
  <pre><code> &lt;xsd:simpleType name="Date_NoID"&gt;
       &lt;xsd:union memberTypes="xsd:gYear"/&gt;
   &lt;/xsd:simpleType&gt;
  </code></pre>
  
  <p>When I am providing the value as 20171210 which is 8 digit, it's throwing me the error in SOAPUI , which i am doing by right click --> validate .</p>
  
  <p>The error message is </p>
  
  <blockquote>
    <p>"union value '20171210' does not match any members of 'Date in namespace <a href="http://www.ACORD.org/standards/PC_Surety/ACORD1/xml/" rel="nofollow">http://www.ACORD.org/standards/PC_Surety/ACORD1/xml/</a>'".</p>
  </blockquote>
  
  <p>If we give the value as "201615" which is six digit it's passes the validation in SOAPUI .</p>
  
  <p>So I want to understand how SOAPUI, setting the maxlength for the Feild i.e of type xsd:gYear</p>
  
  <p>The same field  is passing in JAVA, having same XSD reference using Schema Validator. </p>