W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > October 2008

Detecting errors

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 09 Oct 2008 08:14:27 -0400
To: public-xml-processing-model-comments@w3.org
Message-ID: <m21vyqq82k.fsf@nwalsh.com>
Consider the following pipeline:

<p:declare-step name="main" ...>
  <p:input port="source"/>
  <p:output port="source"/>

  <p:declare-step type="px:unused">
    <p:input port="source"/>
    <p:output port="source"/>
    <px:undeclared/>
  </p:declarestep>

  <p:identity/>
</p:declare-step>

(a) Does this pipeline contain an error?
(b) Are implementations allowed to report it?
(c) Are implementations required to report it?

I think the answer to (a) is yes. I think the answers to (b) and (c)
should either both be yes or both be no, for interoperability reasons.
I'm inclined towards yes, but I'm not sure the spec gives a definitive
answer.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | I'm NOT in denial!
http://nwalsh.com/            | 

Received on Thursday, 9 October 2008 12:15:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:25 UTC