outputType="xs:integer", "xs:double", etc. fails
------------------------------------------------

                 Key: MASHUP-677
                 URL: http://wso2.org/jira/browse/MASHUP-677
             Project: WSO2 Mashup Server
          Issue Type: Bug
    Affects Versions: 1.0
            Reporter: Jonathan Marsh
            Assignee: Channa Gunawardena
             Fix For: 1.1


returnInt works, others fail to convert.  Please check all other numeric types 
as well (xs:short, etc)  Also, documentaiton doesn't say how the js 'number' is 
converted to these types - if the type is an xs:int is it truncated or rounded, 
or does an error occur if there's a fractional part (I hope not)?

returnInt.outputType = "xs:int";
function returnInt()
{
   return 150000;
}

returnDouble.outputType = "xs:double";
function returnDouble()
{
   return 150000;
}

returnInteger.outputType = "xs:integer";
function returnInteger()
{
   return 150000;
}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to