title: XJC External binding file always fails
body: <p>(see update below on origin of this issue)</p>
  
  <p>Have any issue while trying to run <code>xjc</code> with any type of external binding file.
  Here's a copy of the binding file I'm try to use:</p>
  
  <pre><code>&lt;jxb:bindings 
      xmlns:xs="http://www.w3.org/2001/XMLSchema"
      xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
      xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
      xmlns:pd="http://chubb.com/cpi/polsvc/xmlobj"
      jxb:extensionBindingPrefixes="xjc"
      version="2.1"&gt;
  
      &lt;jxb:bindings schemaLocation="your-schema.xsd"&gt;
          &lt;jxb:bindings node="//xs:complexType[@name='AddBankVaultRplyType']"&gt;
      &lt;/jxb:bindings&gt;
  &lt;/jxb:bindings&gt;
  </code></pre>
  
  <p></p>
  
  <p>I know it doesn't do anything, but just trying to get a simple example to run.
  I'm running the following command:</p>
  
  <p><code>xjc -extension -b src/main/resources/bindings/cXML.xjb -dtd -d tmp src/main/resources/dtds/cXML.dtd -verbose</code></p>
  
  <p>And am getting the following errors:</p>
  
  <pre><code>parsing a schema...
  [ERROR] Unsupported binding namespace "http://java.sun.com/xml/ns/jaxb". Perhaps you meant "http://java.sun.com/xml/ns/jaxb/xjc"?
    line 7 of file:/Users/nick/Development/wuxi/services/punchout/src/main/resources/bindings/cXML.xjb
  
  [ERROR] cvc-elt.1: Cannot find the declaration of element 'jxb:bindings'.
    line 7 of file:/Users/nick/Development/wuxi/services/punchout/src/main/resources/bindings/cXML.xjb
  
  [ERROR] Unsupported binding namespace "http://java.sun.com/xml/ns/jaxb". Perhaps you meant "http://java.sun.com/xml/ns/jaxb/xjc"?
    line 8 of file:/Users/nick/Development/wuxi/services/punchout/src/main/resources/bindings/cXML.xjb
  
  [ERROR] Unsupported binding namespace "http://java.sun.com/xml/ns/jaxb". Perhaps you meant "http://java.sun.com/xml/ns/jaxb/xjc"?
    line 9 of file:/Users/nick/Development/wuxi/services/punchout/src/main/resources/bindings/cXML.xjb
  
  Failed to parse a schema.
  </code></pre>
  
  <p>No matter what I put in the binding file for jaxb items it always files with the <code>Perhaps you meant "http://java.sun.com/xml/ns/jaxb/xjc"</code> type error message.</p>
  
  <p>Am I missing something here? Theses seems like it should be pretty straight forward and I do not know why it's giving me issues.</p>
  
  <p>XJC Version:</p>
  
  <pre><code>xjc -version
  xjc 2.2.8-b130911.1802
  </code></pre>
  
  <p>Thanks!</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>The original purpose of the xjb file is to fix some issues with a DTD. Specifically naming conflicts such as:</p>
  
  <pre><code>[ERROR] Property "Name" is already defined. Use &amp;lt;jaxb:property&gt; to resolve this conflict.
  </code></pre>