Document validation is an important step for an Internet-Draft to ensure that it is correctly formatted. This is different from the syntax validation that some of the tools perform as you use them.
For information on validating SVG see Diagrams and for information on validating formal languages see Formal languages.
There are three approaches to validation:
Author Tools is a fully featured web service for validation, rendering and more. It allows you to validate documents written in a range of common formats by chaining together multiple tools. For more details see Author Tools web service.
There are two key command line tools provided for validation. Both can be installed locally for command line access, or as part of an automated build system, or in a web service.
The command line validation tools below only support I-Ds written in RFCXML or plaintext. It is common for authors who draft in other formats to to create their own local build process, chaining together multiple tools.
xml2rfc is the core tool for validating and transforming RFCXML files with a wide range of features. xml2rfc is the main tool used behind the scenes in the Author Tools web service.
rfclint is used by the RFC Production Center as a validation tool for RFCXML files. rfclint performs the following checks:
idnits validates plaintext I-Ds. idnits is also used behind the scenes by the Author Tools web service.
When an I-D is submitted to Datatracker it automatically validates the I-D and reports any errors. For more details, see Submitting your Internet-Draft.