I don't think the validation is working. I set validation to be true and I
gave a bogus dtd at my DocType, the program still pass.
Unmarshaller unmar = new
Unmarshaller(Form.class);
unmar.setValidation(true);
Form form = (Form) unmar.unmarshal(new
DOMOutputter().output(doc));
--------------------------------------------------------------------------
Note: The information contained in this message may be privileged and
confidential and protected from disclosure. If the reader of this message is
not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and deleting it from
your computer. Thank you.
--------------------------------------------------------------------------
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev