incubator-vxquery-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Preston Carman (JIRA)" <>
Subject [jira] [Assigned] (VXQUERY-36) SubString Review of Double and Integer Parameters
Date Sat, 08 Sep 2012 00:15:07 GMT


Preston Carman reassigned VXQUERY-36:

    Assignee: Preston Carman
> SubString Review of Double and Integer Parameters
> -------------------------------------------------
>                 Key: VXQUERY-36
>                 URL:
>             Project: VXQuery
>          Issue Type: Bug
>            Reporter: Preston Carman
>            Assignee: Preston Carman
> (Till suggestion) For fn:substring I think that we should keep the possibility to directly
consume integer arguments, as this will we the most common case. We only need to insure, that
the compiler won't always introduce the promotion to double. 
> The handling of double arguments to fn:substring is not correct. Using intValue on the
double will truncate the value, while the specification says that it needs to be rounded (
I would propose to leave it as-is for now and to fix it using our implementation for fn:round
once that it available. If that's what we do, we should file a bug to ensure that we don't
forget it.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message