commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otto, Frank" <o...@delta-barth.de>
Subject AW: AW: AW: [Validator] Downloading 1.1
Date Wed, 24 Mar 2004 14:38:18 GMT
So, how can I use the bundle attribute in my validation.xml or is this not possible?

Regards,

Frank

-----Ursprüngliche Nachricht-----
Von: David Graham [mailto:grahamdavid1980@yahoo.com]
Gesendet: Mittwoch, 24. März 2004 15:20
An: Jakarta Commons Users List
Betreff: Re: AW: AW: [Validator] Downloading 1.1


Ok, now I remember adding this :-).  The bundle attribute is used in one
of the test xml files but there isn't a test to see that it is properly
set into the Arg or Msg objects.

The file is validator-name-required.xml and RequiredNameTest is the test
case that uses that config file.  I'll try to take a look at this but
patches for more tests are always welcome :-).

David

--- "Otto, Frank" <otto@delta-barth.de> wrote:
> Thanks for your answer.
> 
> Please take a look a this dtd:
> http://jakarta.apache.org/commons/dtds/validator_1_1.dtd
> 
> ...
> <!ELEMENT msg EMPTY>
> <!ATTLIST msg key CDATA #REQUIRED>
> <!ATTLIST msg name CDATA #REQUIRED>
> <!ATTLIST msg bundle CDATA #IMPLIED>
> <!ATTLIST msg resource CDATA #IMPLIED>
> ...
> <!ELEMENT arg EMPTY>
> <!ATTLIST arg key CDATA #REQUIRED>
> <!ATTLIST arg bundle CDATA #IMPLIED>
> <!ATTLIST arg name CDATA #IMPLIED>
> <!ATTLIST arg resource CDATA #IMPLIED>
> <!ATTLIST arg position CDATA #IMPLIED>
> ...
> 
> Regards,
> 
> Frank
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: David Graham [mailto:grahamdavid1980@yahoo.com]
> Gesendet: Dienstag, 23. März 2004 18:27
> An: Jakarta Commons Users List
> Betreff: Re: AW: [Validator] Downloading 1.1
> 
> 
> I don't have the DTD in front me but I don't believe a bundle attribute
> is
> defined for either of those elements.  I remember seeing a Struts
> example
> that used that attribute but it has no effect because commons validator
> doesn't support it.  Check the DTD to make sure though.
> 
> David
> 
> --- "Otto, Frank" <otto@delta-barth.de> wrote:
> > Hi,
> > 
> > I have downloaded this version. The bundle attribute in msg element or
> > in arg element is been ignored, as in version 1.0.2.
> > 
> > Has someone an idea?
> > 
> > 
> > Regards,
> > 
> > Frank
> > 
> > 
> > -----Ursprüngliche Nachricht-----
> > Von: Dirk Verbeeck [mailto:dirk.verbeeck@pandora.be]
> > Gesendet: Freitag, 19. März 2004 21:39
> > An: Jakarta Commons Users List
> > Betreff: Re: [Validator] Downloading 1.1
> > 
> > 
> > Validator 1.1.x is only available as an alpha release.
> > (as in alpha,beta,final status)
> > You can download & test it but be careful is isn't production quality.
> > http://jakarta.apache.org/~rleland/ValidatorAlpha/1.1.1/
> > 
> > -- Dirk
> > 
> > Derek Richardson wrote:
> > 
> > > Is Validator 1.1 available for download anywhere? On both the
> binaries
> > and source download pages, the only distributions are marked 1.0.2.
> > > 
> > > Thanks,
> > > 
> > > Derek Richardson
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-user-help@jakarta.apache.org
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-user-help@jakarta.apache.org
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance Tax Center - File online. File on time.
> http://taxes.yahoo.com/filing.html
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message