Skip to main content

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.0.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 XML produced follows RFC 7749 [1] in version 1.x of the tool, and will follow RFC 7991 [2] in version 2.x, which will be released once support is available to process XML sources which follows the RFC 7991 vocabulary.

Changelog

Version 1.1.0 (27 Jul 2017)

This release provides minor changes in response to feedback from the RFC Editor staff.

  • Added space normalization when checking / skipping boilerplate text.

  • Added support for using reference anchors to identify references that may have bibxml entries, including W3C, IEEE and 3GPP references. Tweaked the reference organization pattern. Some refactoring.

  • Tweaked the help text for trace switches.

  • Removed the dependency on pyterminalsize, but will use it if installed.

Version 1.0.3 (01 Jul 2017)

This release tweaks some regular expressions and other items to improve processing, based on feedback from the RFC Editor staff, but does not provide any new functionality.

  • Added recognition of series info of the form ‘RFC1234’ in addition to the form ‘RFC 12334’. Added recognition of ‘Internet Draft’ on the first page left column, in addition to ‘Internet-Draft’. Added some guidance to the reference parsing failure message. Added another reference pattern.

  • Tweaked the section number regexp.

  • Added acceptance of day of month in footer line date. This improves extraction of short title, too.

  • Be more permissive regarding blank lines in the author address format.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

id2xml-1.1.0.tar.gz (163.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page