Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Bug! Rebol's parsing of urls is incorrect.

From: ryanc:iesco-dms at: 9-Feb-2001 16:36

Hey Andrew, I am not so quick to call these bugs myself. You do bring up some interesting points though on rebol's data validation capability. To say that http://www.rebol.com? is not a URL at all, is a stretch from my perspective. What about 23'12'67? Is that not a number? Maybe 'type? should be as loose as possible, allowing for the greatest flexibility on its use? A seperate pickier and slower data validation function could be used to say that something is not ready for the outside world. After all, 'type?'s docs just say "Returns a value's datatype," no mention of validity. What do you think? --Ryan Andrew Martin wrote:
> Rebol also has a problem with parsing urls: > >> type? http://www.rebol.com! > == url! > >> type? http://www.rebol.com. > == url! > >> type? http://www.rebol.com? > == url! > >> type? http://www.rebol.com, > == url! > > My email client correctly leaves out the exclamation mark "!", period ".", > question mark "?" and comma "," but Rebol treats all of them as part of the > URL, which is clearly incorrect. > > Andrew Martin > ICQ: 26227169 http://members.nbci.com/AndrewMartin/ > -><- > > -- > To unsubscribe from this list, please send an email to > [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
-- Ryan Cole Programmer Analyst www.iesco-dms.com 707-468-5400 I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world. -Einstein