Nicolas Pujol wrote:
> I tried what Aleksei recommended and it still does not
> work here is my example schema:
>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> elementFormDefault="qualified"
> attributeFormDefault="unqualified">
> <xs:complexType name="t_form" mixed="true">
> <xs:sequence>
> <xs:any processContents="skip"/>
> </xs:sequence>
> </xs:complexType>
> </xs:schema>
>
> here is my .xjb file
> <jxb:bindings version="1.0"
> xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
> xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
> xmlns:xs="http://www.w3.org/2001/XMLSchema">
>
> <jxb:bindings schemaLocation="ApprovalProcess.xsd"
> node="/xs:schema">
>
> <jxb:bindings
> node="//xs:complexType[@name='t_form']//xs:sequence//xs:any">
> <xjc:dom/>
> </jxb:bindings>
This worked for me with the -extension option. What's the error message
you get?
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com