Commit 332b2ff0 by chengzhuoshen

fix code

parent fe1a91d5
...@@ -200,7 +200,8 @@ public class XmlUtil { ...@@ -200,7 +200,8 @@ public class XmlUtil {
prefix = m.group(1); prefix = m.group(1);
xmlStr = xmlStr.replace("<" + prefix + ":", "<").replace("</" + prefix + ":", "</"); xmlStr = xmlStr.replace("<" + prefix + ":", "<").replace("</" + prefix + ":", "</");
} }
xmlStr = xmlStr.replaceAll("xmlns:([\\w]*)", "xmlns"); xmlStr = xmlStr.replaceAll("AppHdr[\\s]*xmlns:([\\w]*)=", "AppHdr xmlns=");
xmlStr = xmlStr.replaceAll("Document[\\s]*xmlns:([\\w]*)=", "Document xmlns=");
return xmlStr; return xmlStr;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment