解决办法: 顶部有这两行信息即可解决警告: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xml> 转载于:https://www.cnblogs.com/xiaohan970121/p/9552190.html