We've discovered a case where the annual_editions command fails when attempting to import the 2001 annual edition of 37 CFR 1. The failure occurs in the get_app_title() function at interpparser/gpo_cfr.py:317 when attempting to traverse an empty titles array. The appendix observed does not abide by previous expectations encoded in the function.
@cmc333333 identified a solution which accounts for the appendix's novel usage of the WHED tag to encode a title. He intimates there may be more to this fix.
Issue first identified by @meriouma and @cmc333333 as part of #355.
We've discovered a case where the
annual_editions
command fails when attempting to import the 2001 annual edition of 37 CFR 1. The failure occurs in theget_app_title()
function atinterpparser/gpo_cfr.py:317
when attempting to traverse an emptytitles
array. The appendix observed does not abide by previous expectations encoded in the function.@cmc333333 identified a solution which accounts for the appendix's novel usage of the
WHED
tag to encode a title. He intimates there may be more to this fix.Issue first identified by @meriouma and @cmc333333 as part of #355.