title: How to inform xjc not to go through xs:import?
body: <p>I want to create a java classes from the xsd using xjc ant task. Most of it works ok. I need it not to go through  and   because it already has mapping done. 
  Here is xsd:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xs:schema targetNamespace="urn:oasis:names:tc:opendocument:xmlns:digitalsignature:1.0"
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:dsig="urn:oasis:names:tc:opendocument:xmlns:digitalsignature:1.0"
     xmlns:xmldsig="http://www.w3.org/2000/09/xmldsig#" 
     xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" 
     elementFormDefault="qualified"
    &gt;
      &lt;xs:import namespace="http://www.w3.org/2000/09/xmldsig#" 
         schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd" /&gt;
      &lt;xs:import namespace="http://uri.etsi.org/01903/v1.3.2#" 
         schemaLocation="http://uri.etsi.org/01903/v1.3.2/XAdES.xsd" /&gt;
      &lt;xs:import namespace="http://uri.etsi.org/01903/v1.4.1#" 
         schemaLocation="http://uri.etsi.org/01903/v1.4.1/XAdESv141.xsd" /&gt;
      &lt;xs:element name="document-signatures"&gt;
          &lt;xs:complexType&gt;
              &lt;xs:sequence minOccurs="1" maxOccurs="unbounded"&gt;
                  &lt;xs:element ref="xmldsig:Signature" /&gt;
              &lt;/xs:sequence&gt;
          &lt;/xs:complexType&gt;
      &lt;/xs:element&gt;
   &lt;/xs:schema&gt;
  </code></pre>
  
  <p>xjc goes through all imports and creates binding classes. But I already have those. So how to inform xjc to use already created bindings in the classpath? 
  For xades implementation I'll use <a href="http://code.google.com/p/xades4j/" rel="noreferrer">xades4j</a> library</p>
  
  <p>Thanks,</p>
  
  <p>Vidmantas</p>