« Return to Thread: jaxb binding file for +

Re: jaxb binding file for + <extension base="anyType"/>

by Wolfgang Laun-2 :: Rate this Message:

Reply to Author | View in Thread

This customization isn't possible. If properly constrained, xs:anyType might be mapped to java.lang.Object anyway, but as it is now, you are getting org.w3c.dom.Element, which means that you'll get the XML document tree without any unmarshalling.

-W

On Fri, Nov 6, 2009 at 3:14 PM, indra_4011 <indra4011@...> wrote:

Hi  i have xsd defination
<element name="primaryKey" nillable="false">
<complexType mixed="false">
    <complexContent mixed="false">
<extension base="anyType"/>
  </complexContent>
</complexType>
</element>
and i using binding file to
<jxb:bindings node="//xs:extension[@base='anyType']">
           <jxb:property>
               <jxb:baseType name="java.lang.Object"/>
           </jxb:property>
       </jxb:bindings> to generate the jaxb classes but i am unable to  do
so its giving error
[xjc] [ERROR] Specified property customization is not used.
Please help
--
View this message in context: http://old.nabble.com/jaxb-binding-file-for-%2B-%3Cextension-base%3D%22anyType%22-%3E-tp26230531p26230531.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


 « Return to Thread: jaxb binding file for +