Hi Dennis, Thanks for reporting it, it was a bug. I've committed a fix and a test case in the CVS.
Arnaud > -----Original Message----- > From: Dennis Sosnoski [mailto:[EMAIL PROTECTED]] > Sent: Saturday, April 13, 2002 2:39 AM > To: [EMAIL PROTECTED] > Subject: [castor-dev] required attribute on field element > > I haven't been able to get the required="true" attribute value to work > on a <field> element in an XML mapping. I assume this is supposed to > check that the field is actually defined when you're unmarshalling a > document, and throw an exception or something if the field is missing > from the XML. It doesn't appear to do anything when I try it, though - I > just end up with null values for the missing properties, running Castor > 0.9.3.9. > > Am I doing something wrong or is this broken? > > Thanks, > > - Dennis > > ----------------------------------------------------------- > 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
