Hi Devs,

Please find the attached patch for the fix [1].

[1] https://wso2.org/jira/browse/DS-1053

-- 
*Madhawa Gunasekara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 719411002 <+94+719411002>
blog: *http://madhawa-gunasekara.blogspot.com
<http://madhawa-gunasekara.blogspot.com>*
linkedin: *http://lk.linkedin.com/in/mgunasekara
<http://lk.linkedin.com/in/mgunasekara>*
Index: dependencies/axis2/modules/json/src/org/apache/axis2/json/AbstractJSONMessageFormatter.java
===================================================================
--- dependencies/axis2/modules/json/src/org/apache/axis2/json/AbstractJSONMessageFormatter.java	(revision 212668)
+++ dependencies/axis2/modules/json/src/org/apache/axis2/json/AbstractJSONMessageFormatter.java	(working copy)
@@ -288,7 +288,7 @@
 	}
 
 	private void removeNamespaces(OMElement elem, boolean processAttrbs) {
-		OMFactory omFactory = OMAbstractFactory.getOMFactory();
+		OMFactory omFactory = elem.getOMFactory();
         OMNamespace ns = elem.getNamespace();
         String prefix;
         if (ns != null) {
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to