Is this all you mean?:
<xs:element name="loanRiskRatingRequest">
<xs:complexType>
<xs:sequence>
<xs:element ref="loanProperties"/>
</xs:sequence>
<xs:attribute name="modelVersion" use="optional" type="xs:integer"/>
</xs:complexType>
</xs:element>
> -----Original Message-----
> From: Werner Guttmann [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 06, 2007 11:43 PM
> To: [email protected]
> Subject: AW: [castor-user] Default binding of xs:integer
> changed from int to long between v0.9.6 and v1.1.1
>
> Show me a XML schema fragment with an <xs:integer> typed
> element definition, and I'll provide the <elementBinding>.
>
> Werner
>
> > -----Ursprüngliche Nachricht-----
> > Von: Karr, David [mailto:[EMAIL PROTECTED]
> > Gesendet: Dienstag, 06. März 2007 22:15
> > An: [email protected]
> > Betreff: RE: [castor-user] Default binding of xs:integer
> changed from
> > int to long between v0.9.6 and v1.1.1
> >
> > > -----Original Message-----
> > > From: Werner Guttmann [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, March 06, 2007 12:25 PM
> > > To: [email protected]
> > > Subject: Re: [castor-user] Default binding of xs:integer changed
> > > from int to long between v0.9.6 and v1.1.1
> > >
> > > Actually, it should be able to override this using a <member>
> > > element within an <*Binding>.
> >
> > From the examples on the web site, I don't see how exactly
> this is done.
> >
> > > Werner
> > >
> > > PS Thanks for reading the release notes .. ;-)
> >
> > From my point of view, I can interpret this two ways, so
> I'm not sure
> > which one you meant. If you really meant to thank me for
> reading the
> > release notes, then I'll say I didn't actually read them :) , I
> > determined this by trying the release. If you mean that I
> should have
> > seen this in the release notes, how would I know where the release
> > notes are for this release? I don't see any in an obvious place.
> >
> > > Karr, David wrote:
> > > > I just tried the latest 1.1.1 snapshot this morning,
> and now that
> > > > other issues have been resolved, I'm now seeing that
> the default
> > > > binding of "xs:integer" changed from "int" to "long"
> > > between v0.9.6 and v1.1.1.
> > > > Why was this change made? Can I override this in the binding
> > > > file, leaving it bound to "int"?
> > > >
> > > >
> > >
> --------------------------------------------------------------------
> > > -
> > > > 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
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > 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
>
>
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email