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: Innovimax SARL <innovimax@gmail.com>
Date: Tue, 28 Aug 2007 18:59:01 +0200
Message-ID: <546c6c1c0708280959i1faef814ld429a454f0069ba0@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org

On 8/28/07, Norman Walsh <ndw@nwalsh.com> wrote:
> / 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?

You mean statically...I prefer not to do that
But the way it was written, there was no other way !

So It might better be a dynamic error which is also lacking

Mohamed
-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Tuesday, 28 August 2007 16:59:04 GMT

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