title: Handling a leading zero in a wsdl
body: <p>I got provided an XSD that had a type representation as follows:</p>
  
  <pre><code>&lt;xs:element name="PhoneNumber"&gt;
      &lt;xs:simpleType&gt;
          &lt;xs:restriction base="xs:nonNegativeInteger"&gt;
              &lt;xs:pattern value="04[0-9]{8}"/&gt;
          &lt;/xs:restriction&gt;
      &lt;/xs:simpleType&gt;
  &lt;/xs:element&gt;
  </code></pre>
  
  <p>Now when we use Apache CXF to convert this from the XSD to autogenerated code which assigns it as a BigInteger.</p>
  
  <p>So what I would like to know:</p>
  
  <ol>
  <li>Is that piece of XSD valid? (I tend to think not as an Integer will never exist with a leading zero)</li>
  <li>Is there anyway to get Apache CXF to handle such a condition and force the type to be a string?</li>
  </ol>