|
Hi,
Which version of tomcat are you using?
Older version AFAIK (<3.3 or 4.0 don't knwo
exactly) used to have an outdated version of xerxes installed in the
classpath.
Maybe this causes your problems.
In tomcat 4.x the servlet container classes are
seperated from the application classes , so problems like this one are
solved.
julian
----- Original Message -----
Sent: Thursday, January 17, 2002 12:40
AM
Subject: [castor-dev] Unwanted
"myClassCount=3" type attributes being generated for vector...
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!
|