Xpath2.0 and <sql:param>

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Xpath2.0 and <sql:param>

Peter.Heintz
Hello,
Does the sql:param select attribute support xpath2.0?
I have problems with the following construct:

<sql:param select="if string(number(/form/data/ref-attendee-id='NaN'                                                                        
then 0
else number(/form/data/ref-attendee-id)" type="xs:int"/>)

Thank you in advance
-Peter



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Xpath2.0 and <sql:param>

Erik Bruchez
Administrator
Peter,

At this point, only XPath 1.0 is supported in the SQL processor. It
shouldn't be very hard to migrate to 2.0 though.

-Erik

[hidden email] wrote:

> Hello,
> Does the sql:param select attribute support xpath2.0?
> I have problems with the following construct:
>
> <sql:param select="if string(number(/form/data/ref-attendee-id='NaN'                                                                        
> then 0
> else number(/form/data/ref-attendee-id)" type="xs:int"/>)
>
> Thank you in advance
> -Peter


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Xpath2.0 and <sql:param>

Erik Bruchez
Administrator
Erik Bruchez wrote:

> At this point, only XPath 1.0 is supported in the SQL processor. It
> shouldn't be very hard to migrate to 2.0 though.

And here is the RFE:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=303873&group_id=168&atid=350210

-Erik



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws