latest E4X Stubs fail to compile
--------------------------------

                 Key: MASHUP-745
                 URL: https://wso2.org/jira/browse/MASHUP-745
             Project: WSO2 Mashup Server
          Issue Type: Bug
            Reporter: Keith Godwin Chapman
            Assignee: Jonathan Marsh
            Priority: Blocker
             Fix For: 1.1


latest E4X Stubs fail to compile. The reson is that the stub contains the 
following

resultValue = /* xs:anyType */ convertJSType(response.ns::return, true);

Note that the default element name of the return is return and this is a 
keyword on JavaScript.

As confirmation the stub for the following script fails cause it uses the 
default return

function foo(){
return "hi";
}

while the stub of the following works. We have explicitly set the name of the 
return element

foo.outputType={"p":"string"};
function foo(){
return "hi";
}

-- 
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]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to