This message contains a tip on how to write a mapping file which allows
fields to be skipped from the xml document:
http://www.mail-archive.com/[email protected]/msg00339.html
--Keith
Arnaud Blandin wrote:
>
> Hi Mikael,
>
> This is a feature that is not yet (AFAIK) implemented but is
> on our to-do list.
>
> Arnaud
>
> -> -----Original Message-----
> -> From: Mikael Bellec [mailto:[EMAIL PROTECTED]]
> -> Sent: Friday, September 21, 2001 8:01 AM
> -> To: [EMAIL PROTECTED]
> -> Subject: [castor-dev] FieldDescriptor
> ->
> ->
> -> Hi,
> ->
> -> I am new to castor and I am trying to use its xml-mapping
> -> functionnalities.
> -> I have a problem mapping a complex xml file to a java object.
> -> The object is
> -> quite simple and uses only few elements of the xml for its variables. My
> -> question is: is it possible to map only those few elements to
> -> that object? I
> -> created a mapping file for those elements I am interested in but it seems
> -> like castor's trying to map the other xml elements, resulting in a
> -> FieldDescriptor exception. Do all the xml elements need to be
> -> mapped to the
> -> object or can they be skipped?
> ->
> -> cheers,
> -> Mikael
> ->
> -> -----------------------------------------------------------
> -> If you wish to unsubscribe from this mailing, send mail to
> -> [EMAIL PROTECTED] with a subject of:
> -> unsubscribe castor-dev
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev