解释拉解析器错误消息
我在 Tomcat 日志中看到以下错误消息。我不确定这是什么意思。有人可以帮忙翻译一下吗:
org.xmlpull.v1.XmlPullParserException: entity reference names can not start with character ' ' (position: START_TAG seen ...</DID><TOKEN>d & ... @1:8134)
谢谢你,
E
I am seeing the following error message in my tomcat logs. I'm not sure what it means. Can someone help with interpretation:
org.xmlpull.v1.XmlPullParserException: entity reference names can not start with character ' ' (position: START_TAG seen ...</DID><TOKEN>d & ... @1:8134)
Thank you,
E
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有人正在发送未正确转义(因此无效)的 XML。除非它位于 CDATA 部分,并且与号必须是实体引用中的起始字符。根据错误消息,似乎有一个未转义的“&”符号后跟一个空格。在 XML 中表示这一点的正确方法是
&
Someone is sending improperly escaped (and therefore invalid) XML. Unless its in a CDATA section, and amperand must be the start character in an entity reference. Based on the error message it looks like there's an unescaped ampersand followed by a space. The correct way to represent this in the XML is
&