add omit xml declaration

This commit is contained in:
Looly
2020-01-22 07:32:48 +08:00
parent f3626f7073
commit cf10fc9acc
2 changed files with 2 additions and 1 deletions

View File

@@ -809,7 +809,7 @@ public class XmlUtil {
childEle = (Element) childNode;
final Object value = result.get(childEle.getNodeName());
Object newValue = null;
Object newValue;
if (childEle.hasChildNodes()) {
// 子节点继续递归遍历
final Map<String, Object> map = xmlToMap(childEle);