glasgow-ipl / ietfdata

Python libraries to access the IETF DataTracker and RFC Index
BSD 2-Clause "Simplified" License
18 stars 13 forks source link

rfcindex.py #137

Closed gregbo closed 9 months ago

gregbo commented 9 months ago

There's a duplicate test in line 265. Is it a typo?

elif (self.doc_id == "RFC2497") or (self.doc_id == "RFC2497") or \

Also, regarding the test in line 268 for RFC2708, as far as I can tell, U+0092 was introduced in draft-ietf-printmib-job-protomap-01 in multiple places. In -02, it was replaced with U+0027 everywhere except section 5.0. Somehow, that stray character became the corrupt text you identified.

csperkins commented 9 months ago

Thanks – line 265 is a typo and I'll remove the duplicate. Thanks for the update re RFC 2708.