Jason, please allow for some time for Keith to reply to your question. It is probably not safe to assume that we are in a position to provide commercial level support, though it often feels like we do. After all, this is an open source project.
Thanks Werner Green, Jason M. wrote: > Keith, have you seen my post about my binding file? > > -----Original Message----- > From: Keith Visco [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 01, 2005 1:21 AM > To: [email protected] > Subject: Re: [castor-user] Binding files > > Jason, > > What does your existing binding file look like? > > --Keith > > Green, Jason M. wrote: > >>I have to apologize, >> I'm still having trouble getting these stupid binding files to work. > > >>I will show the first binding issue i have and hopefully someone can >>give me the code to do it. >>and previously, Stephen had given me this line in his binding file. I > > >>wasn't sure exactly what should go there? would it just be the > > location of your schema file? > >> >>Anyway, here is my schema portion file where they bind: >> >>'complexType:ApprovalType/signature' : >> >><xs:schema> >> >><xs:complexType name="ApprovalType"> >> <xs:annotation> >> <xs:documentation>Complex Type containing document approval >>details</xs:documentation> >> </xs:annotation> >> <xs:sequence> >> <xs:element name="approvalState" type="ApprovalStateEnum"/> >> <xs:element name="signature" type="SignatureType"/> >> </xs:sequence> >> </xs:complexType> >> >> >>defensiveTask/properties/validation/signature': >> >><xs:element name="defensiveTask"> >> <xs:complexType> >> <xs:sequence> >> <xs:element name="properties" minOccurs="0"> >> <xs:complexType> >> <xs:sequence> >> <xs:element name="validation" minOccurs="0"> >> <xs:complexType> >> <xs:sequence minOccurs="0"> >> <xs:element name="signature" >>type="SignatureType"/> >> </xs:sequence> >> </xs:complexType> >> </xs:element> >></xs:sequence> >></xs:complexType> >></xs:element> >></xs:sequence> >></xs:complexType> >></xs:element> >> >></xs:schema> >> >> >>Thank you very much, >>Jason >> >>---------------------------------------------------------------------- >>-- >>*From:* Bender Heri [mailto:[EMAIL PROTECTED] >>*Sent:* Thursday, August 25, 2005 12:29 PM >>*To:* [email protected] >>*Subject:* RE: [castor-user] Binding files >> >>Hi Jason >> >>this is an extract of my binding file: >> >> <cbf:complexTypeBinding name="DTFDetailType"> >> <cbf:java-class name="DTFDetailTypeV1"/> >> <cbf:elementBinding name="bdfin"> >> <cbf:java-class name="BdfinV1"/> >> </cbf:elementBinding> >> <cbf:elementBinding name="bdoffad"> >> <cbf:java-class name="BdoffadV1"/> >> </cbf:elementBinding> >> <cbf:elementBinding name="bdrev"> >> <cbf:java-class name="BdrevV1"/> >> </cbf:elementBinding> >> </cbf:complexTypeBinding> >>You can see here that you can reflect the x-path and assign a certain >>element or complex type to a certain java class. i.e. the schema >>element DTFDetailType/bdfin is rendered to java class BdfinV1. >> >>Hope this helps. >> >>Heri >> >> -----Original Message----- >> *From:* Green, Jason M. [mailto:[EMAIL PROTECTED] >> *Sent:* Thursday, August 25, 2005 4:43 PM >> *To:* [email protected] >> *Subject:* [castor-user] Binding files >> >> Hey all, >> I sent this post out before, but I didn't get any responses. I >> am looking for help on the binding file. I tend to understand >> things like this if I have a direct example to work with. For >> example, I am getting a warning when I run the source generator. > > If > >> I had one example of how ot fix it, I could do the same for all >> issues ihave. Anyway, here is the warning I get. Can someone > > tell > >> me how I would set up the binding file? >> >> Warning: A class name generation conflict has occured between >> element 'complexType:ApprovalType/signature' and element >> '/defensiveTask/properties/validation/signature'. Please use a >> Binding file to solve this problem.Continue anyway [not > > recommended] > >> (y|n|?) >> >> Jason Green >> > > > > ------------------------------------------------- > If you wish to unsubscribe from this list, please send an empty message > to the following address: > > [EMAIL PROTECTED] > ------------------------------------------------- > > > ------------------------------------------------- > If you wish to unsubscribe from this list, please > send an empty message to the following address: > > [EMAIL PROTECTED] > ------------------------------------------------- > > ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------

