[
https://wso2.org/jira/browse/MASHUP-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yumani Ranaweera closed MASHUP-755.
-----------------------------------
> Tryit response does not show namespaces
> ---------------------------------------
>
> Key: MASHUP-755
> URL: https://wso2.org/jira/browse/MASHUP-755
> Project: WSO2 Mashup Server
> Issue Type: Bug
> Reporter: Keith Godwin Chapman
> Assignee: Jonathan Marsh
> Fix For: 1.1
>
>
> function addNamespace(){
> var namespace = new Namespace("test","http://wso2.com");
> var test = <item><item1/></item>;
> test.addNamespace(namespace);
> return test;
> }
> The output of the above function is
> <ws:addNamespaceResponse
> xmlns:ws="http://services.mashup.wso2.org/t?xsd"><return
> xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:js="http://www.wso2.org/ns/jstype" js:type="xml"
> xsi:type="xs:anyType"><item xmlns:test="http://wso2.com"><item1
> /></item></return></ws:addNamespaceResponse>
> The output shows by tryit is
> <item>
> <item1 />
> </item>
> whereas it should have been
> <item xmlns:test="http://wso2.com"><item1 /></item>
--
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