W3C home > Mailing lists > Public > xproc-dev@w3.org > May 2009

Re: Thoughts on cx:zip

From: Florent Georges <fgeorges@fgeorges.org>
Date: Tue, 26 May 2009 16:37:26 +0200
Message-ID: <ebaca5bf0905260737m6a75427evfe57be04bb292cf3@mail.gmail.com>
To: Norman Walsh <ndw@nwalsh.com>
Cc: XProc Dev <xproc-dev@w3.org>
2009/5/26 Norman Walsh wrote:

  Hi,

> I've been working on a cx:zip step.

  Good news.  I am working on a ZIP module for EXPath too.  I am
abroad now, just a few comments/thoughts...

  If I am right, the actual content of entries can be retrieve either
from external URIs (for instance the file system) or from the source
port.  Is it possible to have the content for several entries from the
source port?

  The orientation I took is to be able, in addition, to put content
directly into the ZIP structure (what you call the manifest,) with an
indication it has to be serialized as XML, HTML, text or binary.

  For the function set, I have one function to read the ZIP structure
(the manifest,) one to read a particular entry (actually 4 functions,
to return either a document node, possibly from HTML, or a string or a
base64Binary,) one to create a brand-new file and one to update an
existing file.

  Actually, the update function does not modify the file itself, but
create a new one based on an existing ZIP file + some changes.  The
idea is to not avoid side-effects.  But I know XProc is not afraid by
side-effects.

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/
Received on Tuesday, 26 May 2009 14:38:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 26 May 2009 14:38:10 GMT