我不明白为什么此 XML 在我的 RSS 提要中无法验证
我正在尝试使此 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
XML 没有任何问题,但看起来换行导致了解析器问题。你使用什么解析器?
Nothing wrong with the XML, but looks like the line feed is causing your parser issues. What parser are you using?