Hi,
as you have come to realize yourself, this is currently not supported by
Castor. But I'd be more than willing to work with you on adding that
feature to Castor, once we have come to the conclusion that this would
make sense, indeed.
Why don't you attach an initial patch to a new Jira issue, and we take
it from there ?
Regards
Werner
On 31.08.2010 16:17, Mads Henrik Stavang wrote:
Hello,
I want my Unmarshaller to ignore certain elements which are not defined
in the mapping-file. All other elements should be processed as normal
(throwing an exception when they do not exist). Unfortunately there is
only one flag for this, setIgnoreExtraElements which either ignore all
unknown elements or throws an exception on all unknown elements. I
really need a "ignore-this-undefined-mapping-element"-list, or something
similar.
Best regards,
Mads
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email