Odi
Marcus Crafter wrote:
Hi All,
Hope all is well. I have a question to do with normalizing a URI with ..'s in it.
If I execute the following code:
URI u = new URI("my/relative/../../another/relative"); u.normalize(); u.getURI();
should the URI now be /another/relative or 'another/relative'
The code returns /another/relative but I was actually expecting 'another/relative' since the original URI was without a leading /.
Was my expectation wrong or could this be a defect? Any ideas?
Cheers,
Marcus
-- _________________________________________________________________ NOSE applied intelligence ag [www] http://www.nose.ch ortwin gl�ck [email] [EMAIL PROTECTED] hardturmstrasse 171 [pgp key] 0x81CF3416 8005 zurich [office] +41-1-277 57 35 switzerland [fax] +41-1-277 57 12
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
