ietf-tools / rfclint

Perform Validation checks on Internet-Drafts
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

rfclint doesn't use the current schema #5

Closed ietf-svn-bot closed 2 years ago

ietf-svn-bot commented 2 years ago

type_defect | by arusso@amsl.com


rfclint doesn't rely on the current schema (v3.rnc).

Could run with the option --no-rng (disable RNG validation step) to avoid the error, but would be better if it used the current schema.

Example (the current schema has an indent attribute for ):

% rfclint --extract="abnf" rfc9051.notprepped.xml 
ERROR: Unable to validate the XML document: rfc9051.notprepped.xml
 rfc9051.notprepped.xml: Line 249: Invalid attribute indent for element t
 rfc9051.notprepped.xml: Line 256: Invalid attribute indent for element t
[...]

where rfclint = 0.6.1 rfctools_common = 0.6.2


Issue migrated from trac:682 at 2022-02-08 07:17:55 +0000

kesara commented 2 years ago

Duplicate of #6