users@jaxb.java.net

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

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Fri, 6 Nov 2009 15:32:27 +0100

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_at_gmail.com> 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_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>