- From: Florent Georges <fgeorges@fgeorges.org>
- Date: Mon, 2 Dec 2013 20:02:50 +0100
- To: Christian Grün <christian.gruen@gmail.com>
- Cc: EXPath CG <public-expath@w3.org>
On 2 December 2013 19:51, Christian Grün wrote:
>> Are are all files from the source copied (recursively) to the
>> target, each overriding any corresponding target if they exist?
> Yes.
OK. This should probably be explicited then, to be sure all
implementations behave the same way.
>> if ( file:is-dir('target') ) then
> In this case, I may have got you wrong: how can this expression
> yield true at all if "target" does not end with a slash?
Sorry, I was not clear. I meant that the first example, in the
current state of the spec:
(
if ( file:is-dir('target') ) then
()
else
file:create-dir('target'),
file:copy('...', 'target')
)
could be rewritten, if we used that trainling-slash convention for
directory names, as:
file:copy('...', 'target/')
Regards,
--
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
Received on Monday, 2 December 2013 19:03:41 UTC