[mashup-dev] [jira] Commented: (MASHUP-357) xs:date types result in
bad JS Date
Keith Godwin Chapman (JIRA)
jira at wso2.org
Tue Oct 23 23:04:22 PDT 2007
[ http://www.wso2.org/jira/browse/MASHUP-357?page=comments#action_13039 ]
Keith Godwin Chapman commented on MASHUP-357:
---------------------------------------------
Now we inject a NativeDate (This means that the parameter received is equivalent to a date created from JS itself) instead of java.util.date. This should give a consistant behaviour.
> xs:date types result in bad JS Date
> -----------------------------------
>
> Key: MASHUP-357
> URL: http://www.wso2.org/jira/browse/MASHUP-357
> Project: WSO2 Mashup Server
> Issue Type: Bug
> Environment: 0.2
> Reporter: Jonathan Marsh
> Assigned To: Keith Godwin Chapman
> Fix For: 0.3
>
>
> photoForDate.inputTypes = {"requestedDate" : "xs:date"};
> photoForDate.outputType = "xml";
> function photoForDate(requestedDate) {
> print(requestedDate);
> print(typeof(requestedDate));
> return <success/>;
> }
> Results in :"ERROR [2007-10-16 20:43:33,783] Invalid JavaScript value of type java.util.Date"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.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