Metadata-Version: 2.1
Name: id2xml
Version: 1.5.1
Summary: Convert text-format RFCs and Internet-Drafts to .xml format
Home-page: https://tools.ietf.org/tools/ietfdb/browser/branch/elft/id2xml/
Author: Henrik Levkowetz
Author-email: henrik@levkowetz.com
License: Simplified BSD
Keywords: Internet-Draft text to xml conversion
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Other Audience
Classifier: Topic :: Text Processing
Classifier: Topic :: Text Processing :: Markup :: XML
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Provides-Extra: dev
License-File: LICENSE

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.  

.. [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>.


Changelog
=========

Version 1.5.1 (12 Jul 2023)
------------------------------------------------


  * test: Improve tests (#14)

  * fix: Parse boilerplate with revised BSD license (#13)




Version 1.5.0 (03 Sep 2019)
------------------------------------------------


  * Fixed a few Python 3.x nits in the parser code.

  * Changed generated anchor slugs so as to not collide with IDs used by 
    xml2rfc, which in v3 mode reserves certain prefixes used for section, 
    figure and table anchors and fragment identifiers.  Also fixed an xml2rfc 
    v2v3 convertere compatibility issue.

  * Added outdent to id2xml progress statements in order to more clearly 
    differentiate them from warnings and errors.

  * Added the possibility of setting document stream, IPR, and consensus 
    values with switches instead of deriving them from the 'Status of this 
    Memo' section, to make processing of documents with old status wording 
    easier.

  * Added a list of valid submission types and stream names to id2xml.utils.

  * Tweaked several command-line options to better match those of xml2rfc.  
    Added help for trace options when --help is given together with --debug.



