xs:decimal accepts 1234.456E+2 as input. Is it correct?
-------------------------------------------------------

                 Key: MASHUP-1230
                 URL: https://wso2.org/jira/browse/MASHUP-1230
             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 the code below as a js service.

echoXSdecimal.inputTypes="xs:decimal";
echoXSdecimal.outputType="xs:decimal";
function echoXSdecimal(param) {
    return param;
}


2. Access the ?tryit

3. Give 1234.456E+2 as input.


Issue:
---------
It accepts '1234.456E+2' as input. Is it correct. Shouldn't scientific notation 
("E+2") be rejected. 
(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

Reply via email to