Hi,
I'm a Castor noob. Got my Java code generated and functional (ok, it's
wobbly) in a couple of hours but I needed the
http://jira.codehaus.org/browse/CASTOR-1956 fix to do so. Installing
J2EE is a fair amount of work for me so I hacked the source until it
compiled. Any idea when this change will be available in binary form?
By the way, at first glance Castor's interpretation of xs:sequence seems
a bit strict. It rejects code that the Xalan, Altova, and Microsoft
validators deem OK. More specifically, my XML contains sequences such as
below, where A, B, and C are all optional and tend to appear in
arbitrary order. The above change persuades Castor to accept my XML but
Castor is not in agreement with the aforementioned tools.
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="A" minOccurs="0"/>
<xsd:element ref="B" minOccurs="0"/>
<xsd:element ref="C" minOccurs="0"/>
</xsd:sequence>
Thanks,
Rich Adili