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

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 UTC