The validation_1_1.dtd and validator-rules_1_1.dtd files distributed within struts.jar are deprecated and suggest using:
<!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN" "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd"> However, commons-validator.jar contains both validator_1_0.dtd and validator_1_0_1.dtd so I'm assuming this should work as well: <!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0.1//EN" "http://jakarta.apache.org/commons/dtds/validator_1_0_1.dtd"> Quoting "Raible, Matt" <[EMAIL PROTECTED]>: > This one seems to work for me: > > <!DOCTYPE form-validation PUBLIC > "-//Apache Software Foundation//DTD Commons Validator Rules > Configuration 1.1//EN" > "http://jakarta.apache.org/commons/dtds/validator_1_1.dtd"> > > With struts 1.1 RC2. > > Matt > > -----Original Message----- > From: Rob Leland [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 10, 2003 9:41 PM > To: Struts Users Mailing List > Subject: Re: Correct validator DTD > > > Raible, Matt wrote: > > >Which is the correct DTD for the Validator: > > > ><!DOCTYPE form-validation PUBLIC > > "-//Apache Software Foundation//DTD Commons Validator Rules > >Configuration 1.0//EN" > > "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd"> > > > > If you are using Validator with struts 1.1 RC 1 or RC2 then it is > > http://jakarta.apache.org/commons/dtds/validator_1_0_1.dtd > > > > > >OR 1.1? > > > ><!DOCTYPE form-validation PUBLIC > > "-//Apache Software Foundation//DTD Struts Validation Configuration > >1.1//EN" > > "http://jakarta.apache.org/struts/dtds/validation_1_1.dtd"> > > > > This is used if you are using the Validator nightly build by itself or have > rebuilt struts from its source code against the nightly validator. > > -Rob > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

