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

Step errors

From: Norman Walsh <ndw@nwalsh.com>
Date: Wed, 25 Apr 2007 07:15:18 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <87d51shfi1.fsf@nwalsh.com>
We have established error codes for static and dynamic pipeline
errors, but what do we expect implementors to do with the errors that
come from a step.

Consider XInclude, there are at least three ways it can fail:

1. Malformed xi:include element
2. Resource error with no fallback
3. Circular inclusion

When the XInclude step fails, what error code should it raise? Do we
want to have a generic "step failed" error code? On the one hand, more
information would be nice, on the other, getting interoperable error
codes for all steps seems hopeless.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Whatever else we are intended to do, we
http://nwalsh.com/            | are not intended to succeed: failure is
                              | the fate allotted.--Robert Louis
                              | Stevenson

Received on Wednesday, 25 April 2007 11:42:47 GMT

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