Convert text-format RFCs and Internet-Drafts to .xml format
Project description
Internet-Draft text to XML Conversion Tool
This tool, ‘id2xml’, is intended for use by the RFC-Editor staff, in order to produce a first xml2rfc-compatible XML version from text-only Internet-Draft submissions.
id2xml may also be useful for Internet-Draft authors who wish to start working on a new version of an older draft or RFC, for which no xml2rfc-compatible XML source is available.
Version 1.x can process the drafts specified in the development Statement of Work to XML files acceptable to xml2rfc, and can also process a number of other test files to acceptable XML. Missing is internal <xref/> links to figures and tables.
The default XML produced follows RFC 7749 [1] in version 1.x of the tool. With version 1.3.0 of the tool, output according to RFC 7991 [2] is available by use of the ‘-3’ switch.
Changelog
Version 1.4.4 (17 Oct 2018)
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.
Version 1.4.3 (12 Oct 2018)
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file id2xml-1.4.4.tar.gz
.
File metadata
- Download URL: id2xml-1.4.4.tar.gz
- Upload date:
- Size: 166.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.8.1 pkginfo/1.4.1 requests/2.19.1 setuptools/35.0.2 requests-toolbelt/0.7.1 clint/0.5.1 CPython/2.7.9 Linux/3.16.0-5-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc8e800e74f10b1940af1bd12a4c7d350c6e681a057b009214bcc4e26e74dd10 |
|
MD5 | 19077b15d41892eb899cb16da90b3ba3 |
|
BLAKE2b-256 | a09562a7e6ab8adff0bd25b131d1c3e27058ed8cddfd1d80483ffe449b7d444f |