Hello,
Thanx for suggestion... however WAS Studio is giving me problems
When building my application
I have specified following as DTD reference
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules
Configuration 1.1.3//EN"
"/org/apache/commons/validator/resources/validator_1_1_3.dtd">
and WAS Studio keeps on telling me that it cannot find the dtd on
filesystems..
anyone had similar problems?
Regards marco
-----Original Message-----
From: Derek Broughton [mailto:[EMAIL PROTECTED]
Sent: 01 December 2004 14:05
To: Struts Users Mailing List
Subject: Re: disable validation of validator.xml & validator-rules.xml
On Wednesday 01 December 2004 08:36, Joe Germuska wrote:
> Ultimately, this is the responsibility of the commons-validator
> library which Struts uses. For each config file, a
> "ValidatorResources" object is constructed. This object uses
> commons-digester to process the XML config.
>
>
http://cvs.apache.org/viewcvs.cgi/jakarta-commons/validator/src/share/or
g/a
>pache/commons/validator/ValidatorResources.java?view=markup
>
> This object exposes no way to turn off validation, but it does make
> use of Digester's facility for registering DTDs against copies in the
> classpath. If your file uses one of the DTDs listed in
> the"registrations" array in ValidatorResources (see source at above
> URL) then you won't have any problem. From a brief glance, I wonder
> if some new registrations need to be added? If you have time to
> check, perhaps you could file a bug against commons-validator at
> http://issues.apache.org/bugzilla
>
> For the near term, the suggestion of specifying an alternate local
> URL for the DTD is probably best.
I had the same problem last week, and the simplest solution is to make
sure
you have the latest commons-validator jar. 1.1.3 validates properly
against
the DTD in the jar file, rather than needing to go to the web.
(But thanks for the more detailed explanation of _why_ going to 1.1.3
worked
for me, Joe)
--
derek
---------------------------------------------------------------------
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]