Interesting. I've got a biggish client that generating thousands of classes 
from a big financial standard XML schema, and it quite heavily makes use of 
groups (and group references).

Can you please create a new Jira issue and attach a *minimal* XML schema so 
that I will be able to reproduce the problem.

Thanks in advance
Werner

> -----Ursprüngliche Nachricht-----
> Von: Karr, David [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 02. April 2007 01:13
> An: [email protected]
> Betreff: [castor-user] Does Castor (latest snapshot) handle the "xs:group"
> construct?
> 
> Continuing on with my large testcase using the latest 1.1.1 snapshot,
> I'm now hitting compile errors for references to classes associated with
> "xs:group" constructs.
> 
> I see compile errors like this (the "error-if-this-is-used" thing is
> interesting):
> 
> -----------------
> .../target/castor/src/wamu/xmlbinding/consumer/descriptors/CustomerTypeD
> escriptor.java:112: cannot resolve symbol
> symbol  : class ContactInfoGroup
> location: class
> wamu.xmlbinding.consumer.descriptors.CustomerTypeDescriptor
>         desc = new
> org.exolab.castor.xml.util.XMLFieldDescriptorImpl(ContactInfoGroup.class
> , "_contactInfoGroup", "-error-if-this-is-used-",
> org.exolab.castor.xml.NodeType.Element);
> -----------------
> 
> The schema reference looks like this:
> 
> -----------------
>       <xs:group name="ContactInfoGroup">
>               <xs:sequence>
>                       <xs:element name="EmailAddress" type="xs:string"
> minOccurs="0"/>
>                       <xs:element name="MailingAddress"
> type="AddressType" minOccurs="0"/>
>                       <xs:element name="Phone" type="PhoneType"
> minOccurs="0" maxOccurs="unbounded"/>
>               </xs:sequence>
>       </xs:group>
> -----------------
> 
> I've looked at a couple of examples, and it just isn't generating the
> class associated with the group.
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email


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

    http://xircles.codehaus.org/manage_email

Reply via email to