W3C home > Mailing lists > Public > xproc-dev@w3.org > March 2010

Re: empty arg in p:exec

From: Florent Georges <fgeorges@fgeorges.org>
Date: Fri, 19 Mar 2010 14:41:34 +0000
Message-ID: <ebaca5bf1003190741m3ef04e52l79fd62711a4dd889@mail.gmail.com>
To: Romain Deltour <rdeltour@gmail.com>
Cc: xproc-dev@w3.org
On 19 March 2010 08:59, Romain Deltour wrote:

> The issue is caused by the double space between "-quiet yes" and
> "-show-warnings no". The default args separator is a space, which means that
> the arg list computed by Calabash is
> [-asxml,--quiet,yes,,--show-warnings,no]. It took me a while to get over
> this one!

  A tricky one, sure.  From my reading of the spec, this is the
required behavior.  It seems that is going to lead to the same
"not-really-strict-language" issues as with the shells.  I would
rather prefer something like:

    <arg>-asxml</arg>
    <arg>--quiet</arg>
    <arg>yes</arg>
    <arg>--show-warnings</arg>
    <arg>no</arg>

  Which could permit everything:

    <arg> !"_'*:,   </arg>

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/
Received on Friday, 19 March 2010 14:42:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 19 March 2010 14:42:30 GMT