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

RE: An unfulfilled requirement maybe?

From: Vasil Rangelov <boen.robot@gmail.com>
Date: Fri, 30 Nov 2007 17:43:00 +0200
To: <public-xml-processing-model-comments@w3.org>
Message-ID: <47502f89.0c58560a.22fc.ffffe4a4@mx.google.com>

OK. Maybe I did go overboard with the second parameter thing. Still, there
should be a way to embed the value of an environmental variable into the
path (or URI), or any of the argument values. ANY way.

And now that I think about it, using a file path in COMMAND may not be a bad
idea exactly because environment variables would store paths in the OS'

The best way I think may be to allow both. That is, first check if the value
is a valid URI, and resolve it to the proper file path if it is, otherwise,
cast it on the interpreter as is.

-----Original Message-----
From: Henry S. Thompson [mailto:ht@inf.ed.ac.uk] 
Sent: Wednesday, November 28, 2007 11:31 AM
To: Vasil Rangelov
Cc: public-xml-processing-model-comments@w3.org
Subject: Re: An unfulfilled requirement maybe?

Hash: SHA1

In my opinion, the cost-benefit on this has gotten out of hand --
designing ways to mess about with environment variables which
reproduce the complexities of the union of all the likely
platforms. . .  Just say 'no'!

Having said that, the documentation probably does need to say
_something_ about environment variables, even if it's no more than "It
is implementation-defined what environment variables, if any, are
passed down."  I know from bitter experience that if steps are _not_
taken to pass the SYSTEMROOT env. var. when running on Windoz OSes
then obscure failures result. . .

- -- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged
Version: GnuPG v1.2.6 (GNU/Linux)

Received on Friday, 30 November 2007 15:43:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:24 UTC