EXProc ZIP content representation

  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 18:27:47 UTC