将文本格式的RFC和Internet草稿转换为.xml格式

id2xml的Python项目详细描述


Internet草稿文本到XML转换工具

此工具“id2xml”供rfc编辑器人员使用,以便 从纯文本Internet草稿生成第一个与xml2rfc兼容的XML版本 提交。

ID2XML对于希望开始工作的Internet草稿作者也很有用 在旧草稿或rfc的新版本上,没有与xml2rfc兼容的xml 来源可用。

版本1.x可以处理 处理xml2rfc可以接受的xml文件,还可以处理 其他测试文件为可接受的XML。缺少内部链接 数字和表格。

生成的默认xml遵循该工具1.x版中的rfc 7749[1]。 对于该工具的1.3.0版,可以根据rfc 7991[2]获得输出 使用'-3'开关。

[1]Reschke, J., “The “xml2rfc” Version 2 Vocabulary”, RFC 7749, DOI 10.17487/RFC7749, February 2016, <http://www.rfc-editor.org/info/rfc7749>.
[2]Hoffman, P., “The “xml2rfc” Version 3 Vocabulary”, RFC 7991, DOI 10.17487/RFC7991, December 2016, http://www.rfc-editor.org/info/rfc7991>.

更改日志

版本1.4.4(2018年10月17日)

  • Since ‘–’ isn’t allowed inside html comments, trying to add a comment that contains that string will fail. Under some circumstances, id2xml inserts comments about conversion errors into the generated xml, and if the failed text contained ‘–’, this would fail. Tweaked comment insertion to avoid this.
  • Added code to look for Abstract both before and after Status-of-Memo and Copyright sections. The placement of the Abstract changes around the time of RFC 5550.

版本1.4.3(2018年10月12日)

  • Fixed some issues with author recognition and an infinite loop.
  • Added handling for the grammar change ‘a candidate’ –> ‘candidates’ in the status of memo boilerplate.
  • Aligned the short options for verbose and version with common practice.

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java HikariCP连接池Tomcat调试启用   java如何在javascript中访问JSON数组的元素?   jasper使用HttpServlet报告Java空白PDF   用于存储海量数据的java最佳集合   JBPM&springboot组织。流口水。坚持不懈jta。JtaTransactionManager在JNDI位置[java:comp/UserTransaction]未找到任何UserTransaction   java Grails maven插件需要Groovy 2.4.2   获取列表中访问最少的元素(Java 8)   java在IntelliJ中下载cn1lib不起作用   java Akka构造函数通过spring进行布线   swing在Java中创建JList时,如何更改条目的背景颜色?   为什么Java8Lambda允许访问非最终类变量?   javajavax。邮政MessaginException:无法连接到SMTP主机   java Android Webview高度在滚动后增加