W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > February 2009

p:exec - path separators

From: <Toman_Vojtech@emc.com>
Date: Mon, 23 Feb 2009 11:31:45 -0500
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870EA5AA15@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>
Hi all,

I have a question about p:exec. Section 7.2.1 says:

"If the command or cwd options contain any '/' or '\' characters, they
will be replaced with the platform-specific path separator character. If
the fix-slashes option is true, this fixup will be applied to args as
well."

What if I get totally crazy and put the executable in a directory that
has a backshlash in the name in a *nix like OS? Replacing of path
separators may break things in that case.

--

Also, how does the 'fix-slashes' option work with this:

<p:exec args="snake='\/\/\/\O<'">...</p:exec>

Does this 'fix' the slashes in the escaped argument value?


Regards,
Vojtech
Received on Monday, 23 February 2009 16:32:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 February 2009 16:32:41 GMT