解释拉解析器错误消息

发布于 2025-01-01 01:31:02 字数 272 浏览 4 评论 0原文

我在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

幸福丶如此 2025-01-08 01:31:02

有人正在发送未正确转义(因此无效)的 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 &

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文