users@jaxb.java.net

Feedback on <xjc:simple> customisation

From: Dan Fitzgerald <dan.fitzgerald_at_kizoom.com>
Date: Fri, 02 Jun 2006 14:04:42 +0100

Hi,

I've started to have a problem using the 'Experimental simpler & better
binding mode' with JAXB 2.0 FCS (vhudson-jaxb-3354) but it worked fine
with JAXB 2.0 EA3 (build 2.0-b26-ea3).

The problem (java.lang.NullPointerException) comes about when the schema
contains an xsd:any element eg

<xsd:complexType name="MyType">
   <xsd:sequence>
     <xsd:any namespace="##any" minOccurs="0" maxOccurs="unbounded" />
   </xsd:sequence>
</xsd:complexType>

Hope this helps find the problem

Dan