由于空格引起的xml错误之The processing instruction target matching "[xX][mM][lL]" is not allowed以及the markup in the document preceding the root element must be well-formed

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

由于空格引起的xml错误之The processing instruction target matching "[xX][mM][lL]" is not allowed以及the markup in the document preceding the root element must be well-formed

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

由于空格引起的xml错误之The processing instruction target matching "[xX][mM][lL]" is not allowed以及the markup in the document preceding the root element must be well-formed

 

相关文章:

  • 2022-12-23
  • 2022-02-21
  • 2021-04-27
  • 2021-07-23
  • 2021-08-10
  • 2021-11-29
  • 2021-08-15
  • 2022-12-23
猜你喜欢
  • 2021-10-15
  • 2022-12-23
  • 2021-06-30
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案