Hi there,
Is there any way to do some kind of simple data validation in Castor.
For example, lets say when I'm reading the data from the XML, I want to
flag an error if there is no data for a particular element. Let say I
have this XML, I need to flag an error if I see no value for the
title-cd element.
<aplct-indvl-title>
<id>
<firm-crd-nb>11363</firm-crd-nb>
<flng-seq-nb>1</flng-seq-nb>
<title-seq-nb>3</title-seq-nb>
<indvl-crd-nb>415771</indvl-crd-nb>
</id>
<title-cd>PRSDT</title-cd>
</aplct-indvl-title>
<aplct-indvl-title>
<id>
<firm-crd-nb>11363</firm-crd-nb>
<flng-seq-nb>1</flng-seq-nb>
<title-seq-nb>4</title-seq-nb>
<indvl-crd-nb>818536</indvl-crd-nb>
</id>
<title-cd></title-cd>
</aplct-indvl-title>
Thanks
- Harjit
This email, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this email is not the
intended recipient or his or her authorized agent, the reader is
hereby notified that any dissemination, distribution or copying of this
email is prohibited. If you have received this email in error,
please notify the sender by replying to this message and delete this
email immediately.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email