Return of an xmllist with a single item should be just xml, not xmllist.
------------------------------------------------------------------------

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



test.outputType = "xml";
function test() {
    var x = <root><child/></root>;
    return x.child;
}

In 1.0 this returned js:type="xml".  Now it seems to return js:type="xmllist".  
Not backward compatible.

This doesn't matter in the e4x stub, but in the dom one, the xml element is 
wrapped in an Array and it must be extracted.

-- 
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