[mashup-dev] [jira] Commented: (MASHUP-677) outputType="xs:integer", "xs:double", etc. fails

Keith Godwin Chapman (JIRA) jira at wso2.org
Wed Apr 2 01:47:44 PDT 2008


    [ https://wso2.org/jira/browse/MASHUP-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16125#action_16125 ] 

Keith Godwin Chapman commented on MASHUP-677:
---------------------------------------------

Fixed in revision 15478.

> outputType="xs:integer", "xs:double", etc. fails
> ------------------------------------------------
>
>                 Key: MASHUP-677
>                 URL: https://wso2.org/jira/browse/MASHUP-677
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Jonathan Marsh
>            Assignee: Keith Godwin Chapman
>             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: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the Mashup-dev mailing list