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

Re: Error vocabulary

From: Alessandro Vernet <avernet@orbeon.com>
Date: Tue, 24 Apr 2007 17:50:19 -0700
Message-ID: <4828ceec0704241750u2fb9da6fibd9bad87e9f65066@mail.gmail.com>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>

On 4/24/07, Norman Walsh <ndw@nwalsh.com> wrote:
> Revised proposal:
>
> <err:errors name="stepname" type="p:steptype">
>   <error code="pfx:localname" href="uri" line="#" column="#" offset="#">
>     any wf content
>   </error>
> </errors>

Sounds good!

> <err:errors name="foo" type="p:xslt">
>   <error code="p:error" href="style.xsl" line="400" column="30">You blew it, kid</error>
> </err:errors>

Is the idea here that we could have a stack of errors? For instance,
if style.xsl is called from pipeline.xpl, we could have:

<err:errors name="foo" type="p:xslt">
    <error code="p:error" href="style.xsl" line="400" column="30">You
blew it, kid</error>
    <error code="p:error" href="pipeline.xpl" line="200" column="20"/>
</err:errors>

Alex
-- 
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/
Received on Wednesday, 25 April 2007 00:50:26 GMT

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