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

[REBOL] Re: Problem with url! value in path! value

From: rotenca:telvia:it at: 7-Jun-2002 19:59

I think it is not a bug but a consequence of the load behaviour. When you load a string with a path, the function tries to figure where every element ends and of what type it is. In this case: html/xmlns/xml:lang/lang html -> word! / -> end of word xmlns -> word! / -> end of word! xml: -> start of url! xml:lang -> url! continue xml:lang/ -> url! continue xml:lang/lang -> end of url! at the end it has 3 elements for the path: 2 words and one url! Instead in this code: to path! [html xmlns xml:lang lang] to path! finds 4 different item (because of space) and builds a 4 elements path --- Ciao Romano