Preston Carman created VXQUERY-36:
-------------------------------------
Summary: SubString Review of Double and Integer Parameters
Key: VXQUERY-36
URL: https://issues.apache.org/jira/browse/VXQUERY-36
Project: VXQuery
Issue Type: Bug
Reporter: Preston Carman
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 (http://www.w3.org/TR/xpath-functions/#func-substring). 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira