xs:double accepts +INF as a valid input. Is it correct ?
--------------------------------------------------------
Key: MASHUP-1229
URL: https://wso2.org/jira/browse/MASHUP-1229
Project: WSO2 Mashup Server
Issue Type: Bug
Components: Core
Affects Versions: Nightly
Environment: WinXP, JDK16, FF3
Reporter: Yumani Ranaweera
Assignee: Keith Godwin Chapman
Fix For: 2.0
Steps:
----------
1. Deploy following as a JS service.
echoXSdouble.inputTypes="xs:double";
echoXSdouble.outputType="xs:double";
function echoXSdouble(param) {
return param;
}
2. Access ?tryit and give +INF as input
Issue:
--------
It accepts +INF as valid input and returns "Infinity' as the result.
Shouldn't this be rejected since positive infinity doesn't expect a sign.
(http://www.nedworks.org/books/O%27Reilly/xml/schema/ch16_01.htm)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Mashup-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/mashup-dev