Re: UrlValidator (why not use java.net.URL?)

2005-07-28 Thread Marc Logemann
Hi, after looking into the code of UrlValidator and moreover looking into a similar class in Tapestry which is no longer active as it seems, i wonder why commons-validator UrlValidator is using Regex so much. Wouldnt it be enough to just use java.net.URL and let this class do the

Re: UrlValidator (why not use java.net.URL?)

2005-07-28 Thread Laurie Harper
I'd guess the reason is to make it easier to keep the client- and server-side validation in sync. java.net.URL is, obviously, not available to the client-side validation. The Commons Validator list is probably the right place to follow this up. L. Marc Logemann wrote: Hi, after looking