有 RFC 文档的解析器吗?

发布于 2024-09-13 11:47:46 字数 1539 浏览 2 评论 0原文

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

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

发布评论

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

评论(2

旧城空念 2024-09-20 11:47:46

有限数量的 RFC 以 XML 形式提供,位于 http://xml.resource.org/public/ rfc/xml/

您还可以使用来自 http:// /xml.resource.org/public/rfc/bibxml/

A limited number of RFCs are offerd as XML at http://xml.resource.org/public/rfc/xml/

Also you could merge the text data using Bib XML from http://xml.resource.org/public/rfc/bibxml/

深海不蓝 2024-09-20 11:47:46

IETF 以 HTML 形式维护最低标记的 RFC,例如:

https://www. rfc-editor.org/rfc/rfc2616.html

但标记主要由实现目录的锚点组成;主体标记大部分是

 ... 

。尽管如此,还是可以对这些 RFC 进行一些有意义的解析。

W3C 有一些 HTML 化的 RFC,例如:

http://www.w3.org/Protocols /rfc2616/rfc2616.html

其中标记的语义更丰富,因此可能更适合解析。

IETF maintains minmally-marked-up RFCs in HTML, for example:

https://www.rfc-editor.org/rfc/rfc2616.html

but the markup consists mostly of anchors to implement a table of contents; and main-body markup that is mostly <pre> ... </pre>. Nevertheless, it might be possible to do some meaningful parsing on those RFCs.

W3C has some HTMLized RFCs, for example:

http://www.w3.org/Protocols/rfc2616/rfc2616.html

in which the markup is somewhat richer in its semantics and so perhaps more amenable to parsing.

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