是否有更新的方法来修复解析 XML 中的 DateTime 值时遇到的错误?

发布于 2024-09-18 10:11:23 字数 326 浏览 2 评论 0原文

正如你在这个问题中看到的 使用 C# 和 .net 3.5 读取 RSS 时出现问题 尝试阅读某些以不同方式表达日期的 Rss Feed 时会出现问题。

我已经尝试过那里发布的解决方法,但我经验不足,我正在 Windows Phone 7 上尝试。我的主要困难是 XmlTextReader 似乎无法访问。 所以我想知道是否有人可以帮助我改用 XmlReader,或者是否有人知道解决此问题的新方法。

谢谢。

As you can see in this question
Problems Reading RSS with C# and .net 3.5
There is a problem when trying to read some Rss Feeds that express their date differently.

I have tried the workaround posted there but I am not that experienced and I am trying it on Windows Phone 7. My main difficulty is that XmlTextReader seems to be inaccessible.
So I was wondering if anyone could help me use XmlReader instead or if anyone knows a new workaround for this problem.

Thanks.

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

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

发布评论

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

评论(1

无戏配角 2024-09-25 10:11:23

您尝试过使用 System.Xml.Linq 吗?我什至看到了 Windows Phone 7 的示例应用程序 (RSS Reader;p)。

http://dotnet.dzone.com/articles/building-rss-reader-windows-0

Have you tried to use System.Xml.Linq? I even saw a example application (RSS Reader ;p) for windows phone 7.

http://dotnet.dzone.com/articles/building-rss-reader-windows-0 ?

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