Re: Proposed dynamic error: a select that doesn't select nodes

hum....
for me a
   <p:input select="/div">
     <p:empty/>
   </p:input>

should give an empty sequence and not a dynamic error

I also agree that

   <p:input select="3 + 2">
     <p:empty/>
   </p:input>

should raise a dynamic error and even a static one because *IT WOULD
NEVER SELECT A NODE SET* whatever the input

Mohamed

On 6/1/07, Norman Walsh <ndw@nwalsh.com> wrote:
> I propose that a select expression on a p:input (or it's synonyms)
> which does not select a set of nodes is a dynamic error.
>
> In other words, you can't do this:
>
>   <p:input select="3+5"/>
>
> It follows, I think, that any use of a select expression on an input
> bound to p:empty is always going to raise this error. But I'm not
> inclined to add that as a static error.
>
>                                         Be seeing you,
>                                           norm
>
> --
> Norman Walsh <ndw@nwalsh.com> | Anger ventilated often hurries towards
> http://nwalsh.com/            | forgiveness; anger concealed often
>                               | hardens into revenge.--Edward G.
>                               | Bulwer-Lytton
>
>


-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Friday, 1 June 2007 19:41:33 UTC