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

Re: Calabash: Java API

From: Florent Georges <fgeorges@gmail.com>
Date: Thu, 23 Jul 2009 16:00:38 +0200
Message-ID: <ebaca5bf0907230700o1f24aec5pe3575c245524080f@mail.gmail.com>
To: "David A. Lee" <dlee@calldei.com>
Cc: Toman_Vojtech@emc.com, xproc-dev@w3.org
2009/7/23 David A. Lee wrote:

> This also aids in integrating if documents specified *within
> the pipeline* are relative, and presumably they are relative to
> the pipeline, not the CWD.  That lets you treat both input (to
> the pipeline) and embedded documents the same way.

  But they are not the same thing.  If I follow your rationale,
if I open a shell and execute the following command:

    > calumet http://example/xproc/pipe.xproc -i source=./data.xml

then you expect Calumet to evaluate pipe.xproc against the
document http://example/xproc/data.xml, and not against the
content of the local file data.xml (in the current dir.)

  That sounds weird to me.

> Now if you want the opposite behavior, explicitly either doing
> the path resolution yourself, or setting the System ID on
> either the Pipeline or the documents should take precedence.

  But that's the whole point: when you identify a Source by a
system ID, how should it be resolve when it is relative? ;-)


Florent Georges
Received on Thursday, 23 July 2009 14:01:21 UTC

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