Chris-

Glad to help :-)

Stephen


On 4/18/06, ELVART, CHRISTOPHER (SBCSI) <[EMAIL PROTECTED]> wrote:
> Sorry to waste your time.  It was indeed not using the mapping I gave
> it.  Once I fixed that everything is good.
>
> Thanks,
> Chris Elvart
> SBC Public Communications
> 312 727-4445
>
> "This e-mail and any files transmitted with it are the property of SBC,
> are confidential, and are intended solely for the use of the individual
> or entity to whom this e-mail is addressed.  If you are not one of the
> named recipients or otherwise have reason to believe that you have
> received this message in error, please notify the sender at (312) 727
> 4445 and delete this message immediately from your computer.  Any other
> use, retention, dissemination, forwarding, printing, or copying of this
> e-mail is strictly prohibited."
>
>
>
>
>
> -----Original Message-----
> From: Stephen Bash [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 18, 2006 3:12 PM
> To: [email protected]
> Subject: Re: [castor-user] XML element and attribute order
>
>
> Chris-
>
> Castor should marshal/unmarshal elements and attributes in the order
> they are in the mapping file.  If they are not in the order you
> specify, then it is possible for some reason Castor isn't using the
> mapping file you've specified.  One common problem is calling one of
> the static marshal/unmarshal methods.  Can you post the code you use
> to marshal/unmarshal the objects?
>
> Thanks,
> Stephen
>
>
> On 4/18/06, ELVART, CHRISTOPHER (SBCSI) <[EMAIL PROTECTED]> wrote:
> > I have a class with a bunch of fields.  The class was given to me and
> I
> > can not change it.
> >
> > I have a mapping that lists the fields I am interested in in the order
> I
> > want them but Castor 1.0 ignores my order and puts them in some
> > seemingly random order.
> >
> > Is there a way to get Castor to respect my order.  It is important
> > because if you call setField1() then setField2() you get a different
> > object state than if you call them in the reverse order.
> >
> > I have the same problem with a list of attributes.
> >
> > Thanks,
> > Chris Elvart
> > AT&T
> >
> >
> > -------------------------------------------------
> > 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]
> -------------------------------------------------
>
>

Reply via email to