W3C home > Mailing lists > Public > uri@w3.org > January 2008

Re: URIs for the standard output and input streams

From: Noah Slater <nslater@bytesexual.org>
Date: Tue, 15 Jan 2008 23:28:51 +0000
To: Paul Prescod <paul@prescod.net>
Cc: James M Snell <jasnell@gmail.com>, Erik Wilde <dret@berkeley.edu>, uri@w3.org
Message-ID: <20080115232851.GP12624@bytesexual.org>

On Tue, Jan 15, 2008 at 01:45:50PM -0800, Paul Prescod wrote:
> As a practical note: if one asks one of today's XSLT to read stdin and
> output it to stdout, would you rather it complained: "I've never heard
> of the posix URI protocol scheme" or "http://purl.org/posix/stdin
> returned 404"?

This is misleading, the respective errors messages would be:

  Could not resolve http://purl.org/posix/stdin.
  Could not resolve std:in.

Both are pretty "wrong" from a users POV and pretty horrendous either
way. The real question you should be asking in this situation is of
the application designer, "why on earth are you using URIs for
STDIN/STDOUT/STDERR when these things have a long and solid foundation
in Unix history of being expressed using shell redirection or special
devices on the local filesystem?"

Noah Slater <http://bytesexual.org/>

"Creativity can be a social contribution, but only in so far as
society is free to use the results." - R. Stallman
Received on Tuesday, 15 January 2008 23:28:58 UTC

This archive was generated by hypermail 2.4.0 : Sunday, 10 October 2021 22:17:50 UTC