title: JAXB External Custom Binding XJC Issue - Parsing results in empty node
body: <p>Forgive me if this is a duplicate. Here is my binding.xjb file. But now i am getting the regular error that the complex type target "AddBankVaultRplyType" is not found. I don't see any issue. Can somebody help me with this? I am listing the xsd that i am trying to customize</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"
  xmlns:inheritance="http://jaxb2-commons.dev.java.net/basic/inheritance"
  jxb:extensionBindingPrefixes="inheritance"
  jxb:version="2.1"
  &gt;
  
  
  &lt;jxb:bindings node="/xs:schema/xs:ServiceReply/xs:complexType[@name='AddBankVaultRplyType']"&gt;
  &lt;inheritance:extends&gt;com.print.poc.AddressTypeHelper&lt;/inheritance:extends&gt;
  &lt;/jxb:bindings&gt;
  </code></pre>
  
  <p></p>
  
  <p>Here is the piece of XSD that i am trying to customize</p>
  
  <pre><code>&lt;xs:schema xmlns:pd="http://com/polsvc/xmlobj" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://com/polsvc/xmlobj" elementFormDefault="qualified" attributeFormDefault="unqualified"&gt;
  &lt;xs:complexType name="AddBankVaultRplyType"&gt;
  
  &lt;/xs:complexType&gt;
  &lt;xs:element name="ServiceReply"&gt;
     &lt;xs:complexType&gt;
     &lt;xs:sequence&gt;
      &lt;xs:element name="ReplyHeader" type="pd:MsgHeaderType"/&gt;
      &lt;xs:element name="RequestHeader" type="pd:MsgHeaderType"/&gt;
      &lt;xs:choice&gt;
       &lt;xs:element name="AddBankVaultReply" type="pd:AddBankVaultRplyType"/&gt;
  &lt;/xs:choice&gt;
   &lt;/xs:sequence&gt;
    &lt;/xs:complexType&gt;
   &lt;/xs:element&gt;
  &lt;/xs:schema&gt;
  </code></pre>
  
  <p>Now if i run XJC it is saying me that the target <code>"/xs:schema/xs:ServiceReply/xs:complexType[@name='AddBankVaultRplyType']"</code> results in empty node. What is the mistake i am doing here</p>