Hi

Rich Adili wrote:
> 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?
> 
I will make a new snapshot release of 1.1.2 binaries available in a few
hours.

> 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>

Can you create a new Jira issue for this, and attach all relevant
information, including e.g a sample XML schema, XML document instances
that should (not) validate, etc. I think the problem you are seeing
might be related to the fact that the sequence is unbounded.



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

    http://xircles.codehaus.org/manage_email

Reply via email to