W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > January 2008

Re: Do the defaulted source/result on p:pipeline allow sequences?

From: Richard Tobin <richard@inf.ed.ac.uk>
Date: Mon, 7 Jan 2008 23:58:42 +0000 (GMT)
To: jeni@jenitennison.com, public-xml-processing-model-wg@w3.org
Message-Id: <20080107235842.092BF310BAC@macpro.inf.ed.ac.uk>

> > I though no, because of the likely difficulty of representing
> > sequences on the command line.

> If I were implementing a command-line processor, I'd allow people to 
> specify "*.xml" to create a sequence of XML files (for example).

I'm using directories for sequences (though of course I could have it
handle command line inputs specially).  I'd been imagining that the
declaration of the pipeline determined whether it used files or
directories, and that would imply that all abbreviated pipelines
used directories, which would be unreasonable.

I'd like to be able to use standard input and output too, which I only
expect to work for non-sequences.

I suppose I can just make it some kind of dynamic error if you try to
send a non-singleton sequence to a file.

-- Richard
Received on Monday, 7 January 2008 23:58:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:54 GMT