Open alicerusso opened 2 years ago
Another input file with the same issue (Traceback exactly as above): https://www.rfc-editor.org/v3test/test9200.xml
Another sample input (Traceback exactly as above): https://www.rfc-editor.org/v3test/test9484.xml
(Useful output would be about the missing tags around "MUST NOT" on line 1553.)
When running
rfclint -n --bcp14 --no-spell --no-xml --no-abnf --no-dup-detection
(as a script called checkbcp14), it crashes when<bcp14>
tags are missing, rather than giving output to point out the missing element.Looks like a similar crash, whether the input contains a "MUST", "MUST NOT", "MAY" (or other keyword from BCP 14) that is missing the
<bcp14>
. Previously, it gave output such as:Sample input: https://www.rfc-editor.org/v3test/test9229.xml (missing tags around "MUST" on line 289)
Sample input: https://www.rfc-editor.org/v3test/test9143.xml (missing tags around "MUST NOT" on line 1720) yields same Traceback.