Hi all,
I�m getting Marshaling exception when the xml comes with more than 10 elemens of an object. <?xml version="1.0"?> <!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Object Mapping DTD Version 1.0//EN" "http://castor.exolab.org/mapping.dtd"> <mapping> <class name="beans.BeanAta"> <map-to xml="BEANATA"/> <field name="data" type="java.lang.String"> <bind-xml name="DATA" node="element"/> </field> <field name="codMunicipio" type="java.lang.Integer"> <bind-xml name="CODMUNICIPIO" node="element"/> </field> <field name="tipoExame" type="java.lang.String"> <bind-xml name="TIPOEXAME" node="element"/> </field> <field name="codTurma" type="java.lang.Integer" > <bind-xml name="CODTURMA" node="element"/> </field> <field name="condutores" type="beans.BeanCondutor" collection="vector"> <bind-xml name="COND"/> </field> <field name="nomeExa" type="java.lang.String" > <bind-xml name="NOMEXA" node="element"/> </field> <field name="local" type="java.lang.String" > <bind-xml name="LOCAL" node="element"/> </field> <field name="dturma" type="java.lang.String" > <bind-xml name="DTURMA" node="element"/> </field> <field name="horario" type="java.lang.String" > <bind-xml name="HORARIO" node="element"/> </field> </class> <class name="beans.BeanCondutor"> <map-to xml="COND"/> <field name="reg" type="java.lang.String"> <bind-xml name="RG" node="element"/> </field> <field name="nomcondutor" type="java.lang.String"> <bind-xml name="NM" node="element"/> </field> <field name="resultadoA" type="java.lang.String"> <bind-xml name="RESA" node="element"/> </field> <field name="resultadoB" type="java.lang.String"> <bind-xml name="RESB" node="element"/> </field> </class> </mapping> When i get a XML with more than 10 condutores, the unmarshaller returns a marshallerException... if i decrease the number of condutores to less than 10, it works fine... anyone can help? []�s Daniel A. ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
