My original thought was that a call to validate prior to Marshal would work. But that doesn't seem to do anything. Then I found a reference to a property in the castor.properties file called
org.exolab.castor.marshalling.validation that I have tried with true and false to no avail. Any thing else that I should know about? TIA Danny On 10/13/05, Werner Guttmann <[EMAIL PROTECTED]> wrote: > Danny, > > No, you are not. How are you instructing the XML parser (via Castor) to > use XML Schema validation ? > > Werner > > wg> -----Original Message----- > wg> From: Danny Collins [mailto:[EMAIL PROTECTED] > wg> Sent: Wednesday, October 12, 2005 1:35 PM > wg> To: [email protected] > wg> Subject: [castor-user] Schema Validation > wg> > wg> Hello, > wg> > wg> I seem to be having problems getting the my objects > wg> validated against the schema - it seems to be able to tell > wg> me if I am missing required objects, but it doesn't seem to > wg> be able to validate other restrictions like maxlength. Am I > wg> misinterpreting the validation abilities? > wg> > wg> > wg> TIA > wg> Danny > wg> > wg> ------------------------------------------------- > wg> If you wish to unsubscribe from this list, please send an > wg> empty message to the following address: > wg> > wg> [EMAIL PROTECTED] > wg> ------------------------------------------------- > wg> > wg> > > ------------------------------------------------- > If you wish to unsubscribe from this list, please > send an empty message to the following address: > > [EMAIL PROTECTED] > ------------------------------------------------- > > ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------

