Title: RE: [castor-dev] Unwanted "myClassCount=3" type attributes being generated for vector...

Guess: Another class path problem. I have seen these when the generated descriptor classes were not found in the classpath (or were not compiled :-))


-----Original Message-----
From: Keith Visco [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 17, 2002 5:34 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Unwanted "myClassCount=3" type attributes
being generated for vector...



I've never seen that before...but as you mentioned it only happens when
running under Apache Tomcat. I don't run Castor inside Apache Tomcat.

Anyone with more information is welcome to comment.

I've also cc'd a friend of mine from Sun, who works on Tomcat and has
worked on Castor in the past, to see if they know of any reason for the
issues you face.

Thanks,

--Keith


> Alex Miller wrote:
>
> For the given class:
>
> public class MyObject
> {
>   java.util.Vector SubObject;
>   java.util.Vector SubObject2;
> }
>
> ...say I had three entries in the first vector and one entry in the =
> second vector, why does the marshal routine generate xml like this? :
>
> <MyObject   SubObjectCount=3D3 SubObject2Count=3D1>...
>
> I don't want these attributes!  They only seem to be generated when my
> code is running under apache tomcat.  When I run my program
> standalone,
> the marshaller does not generate these "Count=3Dx" attributes.  Is
> there
> a library conflict under apache?  Is there a way I can suppress these
> attributes in Castor?
>
> Thanks!

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to