-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,

On 2/10/2010 6:27 PM, Christopher Schultz wrote:
> <constant-value>^.*(([0-9]+.*\p{L}+)|(\p{L}+.*[0-9]+)).*$</constant-value>
Okay, something must be wrong with my regular expression, or now I'm
expressing it in the XML, because when I set it to

  <constant-value>^[a]+$</constant-value>

...it will allow me to enter a series of a's and validator will succeed.

If the use of the <constant> documented anywhere? I couldn't find
anything on the website, in the wiki, etc. I was only lucky that I
thought of looking in the DTD to see that it was possible, and that the
"Constant" class from way back in version 1.0.1 has been indexed by
Google to see what the syntax was supposed to be.

I'd be happy to contribute some documentation if I know what form is best.

Thanks,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktzRVAACgkQ9CaO5/Lv0PCYSACghCjAIztuaV2nYDAmRLH6+BCA
T6EAn0uy/QAAUYTErT65o2k9gpAowbH4
=z0bC
-----END PGP SIGNATURE-----

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

Reply via email to