title: Error during build( tool-ant ) with JAXB2.0 upgraded version ( removed globalBindingstyle from script )
body: <p>Recently I have upgraded to JAXB2.0 i.e.. I have replaced jaxb-api, jaxb-impl, jaxb-xjc to 2.2.11 and added jaxb-core.jar.</p>
  
  <p>When I do build using ant( 1.9.2 ), I got error global Bindings:</p>
  
  <blockquote>
    <p>[ERROR] xx: Attribute 'bindingStyle' is not allowed to appear in
    element 'jxb:globalBindings'..</p>
  </blockquote>
  
  <p>I learned that global bindings are no longer allowed in JAXB version >=2.0 (<a href="https://www.java.net/node/659089" rel="nofollow">Reference</a>).</p>
  
  <p>So, I removed <code>"jxb:globalBindings bindingStyle="modelGroupBinding" choiceContentProperty="true"</code> and rebuilt it. </p>
  
  <p>I now have 7 errors. One of the errors is: </p>
  
  <blockquote>
    <p>error: cannot find symbol FieldOrMixinGroup fieldOrMixin =
    (FieldOrMixinGroup) iterator.next();</p>
  </blockquote>
  
  <p>Any help will be appreciated.</p>