mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
add omit xml declaration
This commit is contained in:
parent
f3626f7073
commit
cf10fc9acc
@ -6,6 +6,7 @@
|
||||
## 5.1.2
|
||||
|
||||
### 新特性
|
||||
* 【core 】 XmlUtil支持可选是否输出omit xml declaration(pr#732@Gtihub)
|
||||
|
||||
### Bug修复
|
||||
* 【core 】 修复isExpired的bug(issue#733@Gtihub)
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user