Re: EXProc ZIP content representation

Hi,

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..

Alex

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