- From: Norman Walsh <ndw@nwalsh.com>
- Date: Tue, 06 Apr 2010 16:07:38 -0400
- To: XProc Dev <xproc-dev@w3.org>
- Message-ID: <m2vdc4cpkl.fsf@nwalsh.com>
Florent Georges <fgeorges@fgeorges.org> writes:
> On 6 April 2010 11:51, Norman Walsh wrote:
>
>> This morning I published XML Calabash V0.9.20:
>
> Good news!
>
>> * Removed trailing slash from the output of the cwd() extension
>> function.
>
> I didn't look in details regarding this, but that sounds rather
> weird to me. If I am right, URIs are considered to be directories iff
> they have a trailing slash. E.g. you get a different result when you
> try to resolve a relative URI against a URI with or without a trailing
> slash.
Hmm. True. I found myself using cwd() in contexts where I expected
it to return what cwd() usually returns: no slash. For example:
<p:with-option name="href" select="concat(cxf:cwd(), "/foo.txt")"/>
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | The stone fell on the pitcher? Woe to
http://nwalsh.com/ | the pitcher. The pitcher fell on the
| stone? Woe to the pitcher.--Rabbinic
| Saying
Received on Tuesday, 6 April 2010 20:08:12 UTC