IMO, when ojb parses the repository file is the optimal location. collection-descriptors are processed after the all of the field-descriptors have been processed. So in the endElement routine, if we're processing a collection-descriptor, just make sure the number of inverse-foreignkey entries in the collection-descriptor that was just processed matches the number of field-descriptors that are marked as being a primary key.
Ron Gallagher Atlanta, GA [EMAIL PROTECTED] > > From: "Matthew Baird" <[EMAIL PROTECTED]> > Date: 2003/02/03 Mon PM 12:11:33 EST > To: "OJB Users List" <[EMAIL PROTECTED]> > Subject: RE: Collection help, please... > > the question then is can we improve the error reporting and give the user enough >info to have the problem become evident? > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]