All,
First, thank you to all those who so quickly responded to my last post
(Dean!)
I have another question conserning Unmarshaller.setValidate(). I'm building
an application that collects many fields of input from the user. In the
name of user-friendlyness, there are several different pages used to collect
them. Additionally, I need to save the input from each page upon POST, in
case there is an application/infrastructure failure, session times out, or
the user wishes to finish the work tomorrow. We're modelling the data as a
single XML document (I hope we can continue to do that).
I examined the API, and found setValidate() on both the Marshaller and
Unmarshaller. I found that I can save partial data to XML. However, I
cannot retrieve it with Unmarshaller.setValidate(false). Is this a bug, or
am I misunderstanding the purpose of the property? I'm told the document
cannot be loaded because it is missing required data. Here's the error I
get on Unmarshall:
Marshal error: ValidationException: A minimum of 1 scheduleId object(s) are
required.;
- location of error: XPATH: schedule{file: [not available]; line: 7;
column: 12}
Is there another technique I should use?
> --
> David Bicking
> aCIGNA CPF Systems
>
>
------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: If you have received this e-mail in error, please immediately
notify the sender by e-mail at the address shown. This e-mail transmission may
contain confidential information. This information is intended only for the use of
the individual(s) or entity to whom it is intended even if addressed incorrectly.
Please delete it from your files if you are not the intended recipient. Thank you for
your compliance. Copyright (c) 2003 CIGNA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev