Hello,

I am using the castor-0.9.3.9-xml.jar
is the above mentioned jar,  the CVS version jar file??

In case no, kindly let me know the procedure for downloading the CVS version jar.

I am behind the firewall..

As far as the example is concerned, a small one would not be possible as i am mapping our entire object network...and am not sure at point this  exception is thrown.

The same is not given with the old version though.

Regds.




Chetan Rathi
Augsburger Str.336
70327 Stuttgart
Tel no.0711-7861-3148(off.)
Handy.no.015055564671
 
>From: Keith Visco <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: [castor-dev] org.exolab.castor.mapping.loader.J1CollectionHandlers$ArrayEnumerator
>Date: Tue, 30 Apr 2002 03:55:23 -0500
>
>
>Hi Chetan,
>
>Have you tried using the CVS version?
>
>Can a send me a small-as-possible sample and I will test it out here?
>
>Thanks,
>
>--Keith
>
>Chetan Rathi wrote:
> >
> > Hello Keith,
> >
> > I am using the castor-0.9.3.9-xml.jar
> >
> > I am using the marshalling and the unmarshalling facility of castor
> > tool with the mappinf file.
> >
> > I am gettignt he following runtime exception while marshalling.....
> >
> > The same doesnt come when using the castor.jar file.
> >
> > I am using castor-0.9.3.9-xml.jar for the reference functionality
> > which is not availbale with the older jar...
> >
> > Exceptionjava.lang.ClassCastException:
> > org.exolab.castor.mapping.loader.J1CollectionHandlers$ArrayEnumerator
> >
> > java.lang.ClassCastException:
> > org.exolab.castor.mapping.loader.J1CollectionHandlers$ArrayEnumerator
> >
> > at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:782)
> >
> > at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:969)
> >
> > at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:540)
> >
> > at
> > com.dekra.automobil.XMLMarshaller.xmlMarshaller(XMLMarshaller.java:303)
> >
> > Kindly let me know the possible reason for the same.
> >
> > Regds,
> >
> > Chetan Rathi
> > Augsburger Str.336
> > 70327 Stuttgart
> > Tel no.0711-7861-3148(off.)
> > Handy.no.015055564671
> >
> > >From: Keith Visco
> > >Reply-To: [EMAIL PROTECTED]
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: [castor-dev] [PATCH] Source Generation and XML
> > Generation patch
> > >Date: Tue, 30 Apr 2002 03:30:12 -0500
> > >
> > >
> > >
> > >Glenn Nielsen wrote:
> > > >
> > > > Keith Visco wrote:
> > > > >
> > > > > Hi Glenn,
> > > > >
> > > > > Thanks for the patches. I think the best place to post patches
> > (in the
> > > > > future) is bugzilla so that they don't get lost.
> > > >
> > > > These patches based on the castor source at the time
> > > > had been submitted to bugzilla months ago. These were
> > > > updated patches from the current CVS snapshot.
> > > >
> > >
> > >You can also update your Bugzilla entry with new patches as you see
> > >necessary. Especially patches that you simply make available to
> > people,
> > >but ones that might not get accepted to the CVS.
> > >
> > > > >
> > > > > I took a quick look, can you explain a couple of things...
> > > > >
> > > > > 1. Why does Group#getSchema always return null?
> > > > >
> > > >
> > > > It is an abstract method that only applies when overridden by
> > > > ModelGroup#getSchema.
> > >
> > >It's not actually abstract...so I think it might be nice to return
> > the
> > >actual
> > >Schema in Group as well as ModelGroup.
> > >
> > > >
> > > > > 2. Why do you want to prevent namespaces from being declared?
> > > > >
> > > >
> > > > When you create XML Schemas which use namespaces to import other
> > > > XML Schemas the XML marhsalled for those elements from classes
> > generated
> > > > by castor will include a namespace declaration. And elements will
> > be
> > > > qualified by a namespace.
> > > >
> > > > If your application doesn't need to use those namespace
> > declarations
> > > > in the XML marshalled it just bloats the XML. Which then reduces
> > > > performance of your application.
> > >
> > >Sounds reasonable enough. I will check these in, though I might make
> > >some
> > >minor modifications.
> > >
> > >Thanks,
> > >
> > >--Keith
> > >
> > >-----------------------------------------------------------
> > >If you wish to unsubscribe from this mailing, send mail to
> > >[EMAIL PROTECTED] with a subject of:
> > > unsubscribe castor-dev
> > >
> >
> > ----------------------------------------------------------------------
> > Chat with friends online, try MSN Messenger: Click Here
> > ----------------------------------------------------------- If you
> > wish to unsubscribe from this mailing, send mail to
> > [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
>
>-----------------------------------------------------------
>If you wish to unsubscribe from this mailing, send mail to
>[EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
>


Get your FREE download of MSN Explorer at http://explorer.msn.com.
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev

Reply via email to