Hi all,
I have a piece of
XML that I want to map to my Java Object but I don't
want to map all the
elements in my XML. An example :-
<foo>
<bar>......</bar>
<cat>.....</cat>
<dog>....<./dog>
</foo>
public class
foo{
public void get/setBar()
public void get/setDog()
}
As it is clear from
above example, i don't want to unmarshall the <cat>,,,,</cat>
element
and hence omit it
from my mapping file, but castor chokes at it saying no
field-descriptor
found for element
"cat".
Is there a way I can stop Castor to "ensure" that
everything from the XML is mapped to
my Java Object.
Narinder
