Re: Error vocabulary

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 UTC