我不明白为什么此 XML 在我的 RSS 提要中无法验证

发布于 2024-12-09 08:47:30 字数 578 浏览 0 评论 0原文

我正在尝试使此 RSS 提要正常工作,但遇到了一个我无法弄清楚的奇怪错误。错误是:

XML parsing error: <unknown>:30:37: not well-formed (invalid token)

触发错误的代码是:

    <description><![CDATA[For this weeks poll to poll, we want to know whether or not you think the new enrollment policy is a huge mistake. Vote after the jump.
How do you feel about the new enrollment policy at Toms?]]></description>

该代码占用两行,第二行从“How do you Feel”开始,错误被列为发生在第一行(以“for this week”开始)轮询到轮询”并以“跳转”结束。)

我无法弄清楚错误在哪里,任何帮助都会很棒。谢谢,

杰克

I'm trying to make this RSS feed work, but I'm getting a weird error I can't figure out. The error is:

XML parsing error: <unknown>:30:37: not well-formed (invalid token)

and the code that is triggering the error is:

    <description><![CDATA[For this weeks poll to poll, we want to know whether or not you think the new enrollment policy is a huge mistake. Vote after the jump.
How do you feel about the new enrollment policy at Toms?]]></description>

This code takes up two lines, the second line beginning at "How do you feel" and the error is listed as occurring on the first line (starting with "for this weeks poll to poll" and ending at "jump.")

I can't figure out where the error is and any help would be awesome. Thanks,

Jake

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

扶醉桌前 2024-12-16 08:47:30

XML 没有任何问题,但看起来换行导致了解析器问题。你使用什么解析器?

Nothing wrong with the XML, but looks like the line feed is causing your parser issues. What parser are you using?

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