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

Re: p:when : what if it not a valid XPath

From: Norman Walsh <ndw@nwalsh.com>
Date: Wed, 29 Aug 2007 09:22:27 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2r6lmscfg.fsf@nwalsh.com>
/ Innovimax SARL <innovimax@gmail.com> was heard to say:
| The way it is written in the spec
| [[ Each p:when branch of the p:choose has a test attribute which
| **must** contain an [XPath 1.0] expression. ]]
| It seems it is a static error if the p:when do not contains an XPath
| If it is the case, please add a static error for reporting that

I added a dynamic error for this. And a proviso elsewhere that
implementations may report statically any dynamic error that will
always occur. Which I guess means only the first p:when can be
reported statically, but *shrug*. Implementations are always free to
warn users they're being stupid w/o regard to what the spec says.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | There are infinite possibilities of
http://nwalsh.com/            | error, and more cranks take up
                              | unfashionable untruths than
                              | unfashionable truths.--Bertrand Russell

Received on Wednesday, 29 August 2007 13:22:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:44 UTC