Exactly. And for this to work, some (just a few) naming conventions have to be met.
Werner Marcelo Henrique wrote: > Hi, > are you using some mapping file? Because if not you're using castor default > behavior that is through refletion to get the fields and fill the object. > > Regards, > > *-----------------------------------------------------* > || Marcelo Henrique De Oliveira Lima > || Ciência da Computação - UECE > || Linux User #399803 > || Slackware GNU/Linux Powered! > *-----------------------------------------------------* > > > > ----- Mensagem original ---- > De: Jesus Lopez <[EMAIL PROTECTED]> > Para: [email protected] > Enviadas: Quinta-feira, 29 de Maio de 2008 7:31:46 > Assunto: [castor-user] castor doesn´t unmarshal all my fields > > > When I use castor to > convert one XML file to Object, castor doesn´t unmarshal all my fields, only > both first ones, and the rest with "null" value. > I don`t understand > this ... > > For example, here > castor only unmarshal "id" and "nivel", and "Text" and "EText" with null > value: > > <?xml > version="1.0" > encoding="UTF-8"?> > <course> > <module> > <level> > <question > id="1" nivel="0" Text="De las siguientes afirmaciones, ¿cuál de ellas se > ajusta > mejor a la definición de ordenador?" EText="Ondokoetatik, zein > da"> > > </question> > .... > > > Thanks a > lot > > > Jesús López Lobo > ************************************ DISCLAIMER > ***************************************** > This message may contain confidential, proprietary or legally > privilegedinformation. > If you are not the intended recipient of this message, please notify it tothe > sender and delete without resending or backing it, as it is legallyprohibited. > > > ************************************* AVISO LEGAL > **************************************** > > Este mensaje puede contener información confidencial, en propiedad > olegalmente protegida. > Si usted no es el destinatario, le rogamos lo comunique al remitentey proceda > a borrarlo, sin reenviarlo ni conservarlo, ya que su uso no autorizado > estáprohibido legalmente. > > ***************************************************************************************** > > > > Abra sua conta no Yahoo! Mail, o único sem limite de espaço para > armazenamento! > http://br.mail.yahoo.com/ --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

