您的位置:首页 > 其它

由于空格引起的xml错误之The processing instruction target matching "[xX][mM][lL]" is not allowed以及the markup in the document prec

2017-04-11 09:27 519 查看

这里显示的就是The processing instruction target matching "[xX][mM][lL]" is not allowed,这个错误。将version="1.0"和encoding="UTF-8"之间插入一个空格后这个错误消失了



然而第二行出现了错误the markup in the document preceding the root element must be well-formed,这又是什么错误呢?删除!和DOCTYPE之间的空格就没问题了。



 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐