users@jaxb.java.net

Specified conversion customization is not used.

From: <mihir.joshi_at_iflexsolutions.com>
Date: Fri, 8 Aug 2003 11:50:59 +0530

Hi,
 
I am trying customisation like this with a external bindings file. But when I run xjc, I get error
"Specified conversion customization is not used."
 
Now, if I remove any one of the javaType customisations, I don't get this error. Am I missing something. Basically, I want to be able to specify different print and parse methods depending on the position of the occurrence.
 
  <jxb:bindings node="//xs:complexType[@name='ROOTType']/xs:choice/xs:sequence[1]/xs:sequence">
   <jxb:bindings node="//xs:simpleType[@name='Code_Type']">
    <jxb:javaType name="java.lang.String"
             parseMethod="ROOTDatatypeConverter.parseRequestCode"
             printMethod="ROOTDatatypeConverter.printRequestCode"/>
   </jxb:bindings>
  </jxb:bindings>
 
  <jxb:bindings node="//xs:complexType[@name='ROOTType']/xs:choice/xs:sequence[2]/xs:sequence">
   <jxb:bindings node="//xs:simpleType[@name='Code_Type']">
       <jxb:javaType name="java.lang.String"
             parseMethod="ROOTDatatypeConverter.parseResponseCode"
             printMethod="ROOTDatatypeConverter.printResponseCode"/>
       </jxb:bindings>
  </jxb:bindings>
 
I am working with jswdp1.2


  
Regards
Mihir
Tel: Ext: 2249
  _____

 


DISCLAIMER:
This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.