atom feed19 messages in org.w3.xproc-devRe: Fileutils
FromSent OnAttachments
Norman WalshMay 25, 2009 11:58 am 
David A. LeeMay 25, 2009 2:21 pm 
Norman WalshMay 25, 2009 2:26 pm 
Norman WalshMay 25, 2009 3:11 pm 
Dave PawsonMay 25, 2009 10:04 pm 
mozerMay 25, 2009 11:34 pm 
Toma...@emc.comMay 26, 2009 12:19 am 
Norman WalshMay 26, 2009 5:06 am 
Norman WalshMay 26, 2009 5:07 am 
Norman WalshMay 26, 2009 5:09 am 
Dave PawsonMay 26, 2009 6:49 am 
Norman WalshMay 29, 2009 4:27 am 
Toma...@emc.comMay 29, 2009 4:47 am 
James FullerJun 1, 2009 5:07 am 
Leif WarnerJun 1, 2009 9:28 am 
James FullerJun 1, 2009 9:43 am 
Norman WalshJun 1, 2009 9:43 am 
James FullerJun 1, 2009 10:17 am 
Norman WalshJun 1, 2009 11:22 am 
Subject:Re: Fileutils
From:Dave Pawson (dave@gmail.com)
Date:May 25, 2009 10:04:42 pm
List:org.w3.xproc-dev

2009/5/25 Norman Walsh <nd@nwalsh.com>:

Dave's Ant/XProc thread of a few days ago makes it clear that some pipelines are going to want to interact with the local filesystem.

This seems like the ideal place for exproc; these steps aren't part of the XProc 1.0 standard, but there's no reason we implementors can't agree on their semantics and what they're called.

Before I try to write these up as extensions, let's see if we can all agree on the semantics that we think would be most useful. Here's what I've implemented so far, with a few notes.

How about a simpler list of 'user requirements' Norm? mkdir touch (create empty file) delete (file|directories [recurse]) copy (file|directory [recurse]) mv (file|directory) Retrieve value of a system property Retrieve list of file properties (R|W|X....)

(I've never used 'is readable|writable|exists - but I can see it being useful) (rename? I'd prefer move)

Q: Should "file" be made absolute wrt to the current base URI, or left unchanged (effectively making it relative to the implementations notion of current working directory)?

Any use made of PATH variable? Treat as per current OS, i.e. could be relative or absolute? Using base URI would make it 'odd' wrt other file utils? I.e. that is XML only, whereas fileutils is OS based? Some conflict there

Minor disagreement with your list!

HTH