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: Tue, 28 Aug 2007 12:43:39 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m27inf624k.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

Beyond a more general static error (not yet defined, but clearly
needing to be) for "required attribute not present" on an element?

You don't want to check the validity of the XPath expression, do you?
Or do you?

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | The things we have most longed for do
http://nwalsh.com/            | not happen; or if they do, it is never
                              | at the time nor under the circumstances
                              | when they could have made us
                              | happiest.--La Bruyère

Received on Tuesday, 28 August 2007 16:43:51 UTC

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