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

Allow unknown steps?

From: Norman Walsh <ndw@nwalsh.com>
Date: Fri, 25 May 2007 07:10:49 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <87odk9nop2.fsf@nwalsh.com>
In 5.9 p:declare-step, we say:

  It is a static error (err:XS0020) to identify a step in a subpipeline
  that the implementation does not know how to perform. It is not an
  error to declare such a step, only to use it.

I interpret that to mean that the following pipeline contains a static

<p:pipeline xmlns:p="http://www.w3.org/2007/03/xproc"
<p:output port="result"/>
<p:input port="source"/>

  <p:declare-step type="px:you-dont-know-how-to-do-this">
    <p:input port="source"/>
    <p:output port="result"/>

    <p:when test="true()">
      <p:output port="result"/>
      <p:output port="result"/>

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

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | Oh well, no matter what happens,
http://nwalsh.com/            | there's always death.-- Napoleon

Received on Friday, 25 May 2007 11:11:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:43 UTC