title: JAXB Simplify plugin still usable?
body: <p>I tried the solution of the question here <a href="https://stackoverflow.com/questions/17794506/jaxb-simplify-plugin-vs-xjb/26510972#26510972">JAXB Simplify plugin vs *.xjb</a>.</p>
  
  <p>but it failed with the following exception</p>
  
  <p>" compiler was unable to honor this simplify:as-element-property customization. It is attached to a wrong place, or its inconsistent with other bindings. "</p>
  
  <p>this is customization binding I used</p>
  
  <pre><code>&lt;jaxb:bindings node="//xs:complexType[@name='Op']//xs:choice/xs:element[@name='Time']"&gt;
    &lt;simplify:as-element-property/&gt;
  &lt;/jaxb:bindings&gt;
  </code></pre>
  
  <p>the jaxb simplify plugin confluence page is not accessible, so has anyone used this plugin and can give an example please?</p>
  
  <p>Here is my updated schema according to the answer</p>
  
  <pre><code>&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"   attributeFormDefault="unqualified" xmlns="http://www.amadeus.com/APT/FOM/00" targetNamespace="http://www.amadeus.com/APT/FOM/00" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd"  xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:simplify="http://jaxb2-commons.dev.java.net/basic/simplify" jaxb:extensionBindingPrefixes="simplify"&gt;  
   ...
   ...
  &lt;xs:complexType&gt;
    &lt;xs:sequence&gt;
       &lt;xs:choice minOccurs="1" maxOccurs="1"&gt;
          &lt;xs:element name="Time" type="xs:dateTime" minOccurs="1" maxOccurs="1"&gt;
              &lt;xs:annotation&gt;                 
                &lt;xs:appinfo&gt;
                  &lt;simplify:as-element-property /&gt;
                &lt;/xs:appinfo&gt;
              &lt;/xs:annotation&gt;
          &lt;/xs:element&gt;            
          ... ...
       &lt;/xs:choice&gt;
       ...
  </code></pre>
  
  <p>I got the exception during the maven build like "Unsupported binding namespace "<a href="http://jaxb2-commons.dev.java.net/basic/simplify" rel="nofollow noreferrer">http://jaxb2-commons.dev.java.net/basic/simplify</a>". Perhaps you meant "<a href="http://jaxb.dev.java.net/plugin/code-injector" rel="nofollow noreferrer">http://jaxb.dev.java.net/plugin/code-injector</a>"?"</p>