W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > May 2007

Re: Allow unknown steps?

From: Jeni Tennison <jeni@jenitennison.com>
Date: Fri, 25 May 2007 19:38:54 +0100
Message-ID: <46572D3E.20302@jenitennison.com>
To: public-xml-processing-model-wg@w3.org

Norman Walsh wrote:
> I wonder if we should say instead that it's an error to attempt to
> evaluate a step that the implementation does not know how to perform.
> Then the above pipeline would not be an error. It would also not be an
> error to use p:system-property to make choices based on XProc vendor
> information.

I'd rather use a p:step-available() than p:system-property() (since what 
individual implementations can do usually changes more quickly than I 
imagine updating my pipelines).

Another alternative is to use <p:try>/<p:catch>, assuming that 
<p:try>/<p:catch> can catch dynamic errors?

Jeni
-- 
Jeni Tennison
http://www.jenitennison.com
Received on Friday, 25 May 2007 18:39:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:52 GMT