W3C home > Mailing lists > Public > xproc-dev@w3.org > April 2012

Re: EXProc ZIP content representation

From: Alex Muir <alex.g.muir@gmail.com>
Date: Sun, 15 Apr 2012 21:46:33 +0000
Message-ID: <CAFtPEJbciCZEYiGCtu-_CVhwO1P7VSokQSaYcYRQ86Z9R9XYgw@mail.gmail.com>
To: Florent Georges <fgeorges@fgeorges.org>
Cc: XProc Dev <xproc-dev@w3.org>

Is it good advice to just write you own simple java zip. I wrote one
for a client and it also can handle some find and replace before
saving which was needed. Simple but easy..


On Sun, Apr 15, 2012 at 6:26 PM, Florent Georges <fgeorges@fgeorges.org> wrote:
>  Hi,
>  From http://exproc.org/proposed/steps/other.html#zip, I try to
> understand how to create a ZIP file including both files from the
> filesystem and XML documents generated in the pipeline itself.
>  I guess documents generated should be passed on the port "source",
> but I am not sure how to relate them to the corresponding "entry"
> elements on the port "manifest".
>  Any idea?  Did I miss something?
>  BTW, I don't undesrtand why the entries are represented as a flat
> list, instead of a tree of dirs and files.  The entry names in a ZIP
> file are a flattened view of what they represent: a tree structure.
> Wouldn't it make more sense to represent it in XML?  That's what we
> have in the EXPath ZIP functions <http://expath.org/spec/zip> for
> instance, and IMHO it is way easier to use with XML technologies
> (naturally tree-oriented).
>  Regards,
> --
> Florent Georges
> http://fgeorges.org/
> http://h2oconsulting.be/
Received on Sunday, 15 April 2012 21:47:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:17:03 UTC