James T.,

I took a look at the DTD you specify below and it is
for the *-rules.xml files, but doesn't seem to support
validation.xml.  Are you planning to add that DTD to
Commons Validator as well?

Currently Struts has two Validator DTDs:

validation_1_1.dtd
valitator-rules_1_1.dtd

I would prefer that we add these both to Commons and
get the naming scheme consistent now.

Here's what I propose they be in Commons:

validator_1_0.dtd  used as

<!DOCTYPE form-validation PUBLIC
     "-//Apache Software Foundation//DTD Commons
Validator Configuration 1.0//EN"
    
"http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";>

validator-rules_1_0.dtd  used as

<!DOCTYPE form-validation PUBLIC
     "-//Apache Software Foundation//DTD Commons
Validator Rules Configuration 1.0//EN"
    
"http://jakarta.apache.org/commons/dtds/validator-rules_1_0.dtd";>


This means that the file you currently have in Commons
would need to be renamed to validator-rules_1_0.dtd
and then you'd need to add the main validator_1_0.dtd
file in.

I can take care of updating the Struts side if you can
tackle the Commons side.

-james h.


--- James Holmes <[EMAIL PROTECTED]> wrote:
> I can take care of that.  And by the way we share
> the
> same name :)  Not John.
> 
> -james
> 
> 
> --- James Turner <[EMAIL PROTECTED]> wrote:
> > I noticed that John just went in and added a
> DOCTYPE
> > line to all the DTDs 
> > for the Struts Validator rulesets.
> > 
> > I've been talking to Senor Cooper about this
> issue. 
> > We've put a copy of 
> > the validator DTD into the Validator release (and
> > the URL:
> >
>
http://jakarta.apache.org/commons/dtds/validator_1_0.dtd)
> > 
> > I'd suggest that we remove the DTD from Struts and
> > repoint the DOCTYPEs at 
> > the Validator verson)
> > 
> > James


__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to