xml2rfc validator
This validator does up to 4 passes on the uploaded XML document:
- Preprocessing:
- Change references to the DTD to point to my local copy.
- Change parameter entity references (which only belong in DTDs themselves)
into general entity references (the right way to include references if
you're not using <?rfc include=''?> by removing the '%' after 'ENTITY'.
- Expand <?rfc include=''?> processing instructions, if present.
Note that this step can change line numbers by reformatting the XML.
- Check, using xmllint, against the RFC2629(bis) DTD (currently using the
DTD released with xml2rfc 1.32, January 7, 2007). This checks both that the
XML is well-formed and that it matches the DTD.
Any external entities are loaded during this phase.
- Check, using a funky xsl transform,
additional issues that just checking against the DTD can't, e.g.,
- Require anchors on references if using symrefs or sortrefs PIs
- Warn that figure inside t is deprecated
- Long titles need short abbrev attributes
- No duplicate anchors
- FYI on unreferenced anchors (error when it's a reference)
- FYI when plain text contains something that looks like an anchor
(e.g., <t>this is seen in [RFC2822]</t>)
- Warn about multiple <city>, <region>, <code> or <country>
- Note that "Internet Draft" or "I-D" in seriesInfo should be "Internet-Draft"
- Require ipr or number on <rfc> element unless <?rfc private?>
- Warn that iprExtract is meaningless unless the ipr declared is restrictive
- Note that historic documents don't get a seriesNo
- Note that pre-3978 IPR will not be accepted after 6 May 2005
- <?rfc strict="yes"?> items (fyi unless the strict PI is in the document):
- No more than 5 authors
- No references in abstract
- Missing abstract
- Warn about references to expired, withdrawn, replaced or published Internet Drafts (if you're using the reference library via <?rfc include=''> or entity references).
- Warn about references to obsoleted RFCs (if you're using the reference library via <?rfc include=''> or entity references).
If you can think of more checks that might be useful, please
let me know.
Note that by default, XML submitted gets archived to help
Bill with his tool development. If you don't want to allow this, please
select the checkbox below.