Hello,
I have an XML with some redundant elements.
eg
<cybertraveler>
  <b>
    bbbb
  </b>

  <test>
    REDUNDANT
  </test>
</cybertraveler>

Now in the mapping, i don't map the redundant element i.e. "test"

On unmarshalling, castor gives error like.
unable to find FieldDescriptor for 'test' in ClassDescriptor of cybertraveler.

Looks like it is mandatory to give field description for all elements...Is there any way to ignore the redundant elements.

In my scenario, i need just a few elements, from the XML.

thanks and regards
Shweta.

 



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

Reply via email to