[Mashup-dev] [jira] Commented: (MASHUP-882) Return of an xmllist
with a single item should be just xml, not xmllist.
Keith Godwin Chapman (JIRA)
jira at wso2.org
Wed Jul 2 10:54:34 PDT 2008
[ https://wso2.org/jira/browse/MASHUP-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17848#action_17848 ]
Keith Godwin Chapman commented on MASHUP-882:
---------------------------------------------
I guess we better annotate the return as xml if a returned xmlList has only one child
> 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
More information about the Mashup-dev
mailing list