You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Fabrice BLANQUART <fb...@covefi.com> on 2002/11/12 16:42:32 UTC

Validator and nightly build

Hi ,

I try to work with the last nightly build (20021111) and validator.

Having some problems getting the dtd from the web I try to get it locally.

Then I discover a strange thing.

In the commons-validator.jar , the dtd "validator_1_0.dtd" is in the path "/org/apache/commons/validator/resources" 
and in the source code of "ValidatorResourcesInitializer.java" , the register path is "/org/apache/commons/resources/validator_1_0.dtd".

I found a Workaround in generating another commons-validator.jar with the correct path.

May be a bug ?

Fabrice BLANQUART




*---------------------------------------------------------------*
* Cet e-mail et toutes les pièces jointes sont destinés aux     *
* seules personnes auxquelles ils sont spécifiquement adressés  *
* et n'engagent que le signataire de ces documents et non la    *
* structure dont il dépend.                                     *
* Leur existence et leur contenu ont un caractère confidentiel. *
* Toute utilisation ou diffusion non autorisée est interdite.   *
* Si vous avez reçu cet  e-mail ou si vous détenez sans en être *
* le destinataire, nous vous demandons de bien vouloir nous en  *
* informer immédiatement.                                       *
* Cette note assure que mimesweeper a vérifié que ce message    *
* ne comprenait aucun virus connu à ce jour, néanmoins tout     *
* message électronique est susceptible d'altération.            *
* Nous déclinons toute responsabilité au titre de ce message    *
* s'il a étéaltéré, déformé ou falsifié.                        *
*---------------------------------------------------------------*
 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Validator and nightly build

Posted by Martin Cooper <ma...@apache.org>.

On Tue, 12 Nov 2002, Fabrice BLANQUART wrote:

> Hi ,
>
> I try to work with the last nightly build (20021111) and validator.
>
> Having some problems getting the dtd from the web I try to get it locally.
>
> Then I discover a strange thing.
>
> In the commons-validator.jar , the dtd "validator_1_0.dtd" is in the path "/org/apache/commons/validator/resources"
> and in the source code of "ValidatorResourcesInitializer.java" , the register path is "/org/apache/commons/resources/validator_1_0.dtd".
>
> I found a Workaround in generating another commons-validator.jar with the correct path.
>
> May be a bug ?

Yes, this is a bug. I just checked in the fix, so it should be available
in tonight's nightly build.

FYI, since Validator is a Commons component, it would be better to use
the commons-dev or commons-user mailing list for Validator issues.

--
Martin Cooper


>
> Fabrice BLANQUART
>
>
>
>
> *---------------------------------------------------------------*
> * Cet e-mail et toutes les pi�ces jointes sont destin�s aux     *
> * seules personnes auxquelles ils sont sp�cifiquement adress�s  *
> * et n'engagent que le signataire de ces documents et non la    *
> * structure dont il d�pend.                                     *
> * Leur existence et leur contenu ont un caract�re confidentiel. *
> * Toute utilisation ou diffusion non autoris�e est interdite.   *
> * Si vous avez re�u cet  e-mail ou si vous d�tenez sans en �tre *
> * le destinataire, nous vous demandons de bien vouloir nous en  *
> * informer imm�diatement.                                       *
> * Cette note assure que mimesweeper a v�rifi� que ce message    *
> * ne comprenait aucun virus connu � ce jour, n�anmoins tout     *
> * message �lectronique est susceptible d'alt�ration.            *
> * Nous d�clinons toute responsabilit� au titre de ce message    *
> * s'il a �t�alt�r�, d�form� ou falsifi�.                        *
> *---------------------------------------------------------------*
>
>
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>