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

Re: p:break

From: James Fuller <james.fuller.2007@gmail.com>
Date: Fri, 2 May 2008 15:22:03 +0200
Message-ID: <a0ad8ffe0805020622jd8de83ape1b35bc548057983@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-comments@w3.org

On Fri, May 2, 2008 at 3:17 PM, Norman Walsh <ndw@nwalsh.com> wrote:
> / James Fuller <james.fuller.2007@gmail.com> was heard to say:
>
>
> | do not feel strongly about this;
>  |
>  | though should we consider a step that stops processing ?
>  |
>  | <p:break/>
>  |
>  | which if supplied with a test attribute provides a condition for stopping
>  |
>  | <p:break test="somexpathstatement"/>
>
>  How is that different from p:error, possibly in a p:choose?

because there can arise conditions, which are not errors, that one may
want to halt processing. Plenty of precedent in lots of computer
languages for this.

cheers, Jim Fuller
Received on Friday, 2 May 2008 13:22:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 2 May 2008 13:22:36 GMT