Hi Rich,

the fix for http://jira.codehaus.org/browse/CASTOR-1956 has already been committed to SVN trunk for 1.1.2 release. If you like we can publish a snapshot of current SVN. We have not defined a date when 1.1.2 final will be released yet but I expect that this will happen in about 1 month.

Regards
Ralf


Rich Adili schrieb:
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


--

Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany

Tel.   +49 7071 3690 52
Mobil: +49 173 9630135
Fax    +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: [EMAIL PROTECTED]

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to