Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Fails If Depth4 Marker is not uppercase alphabetic #390

@Efferon

Description

@Efferon

PARSER DEPTH finding -doesn't account for different outlining schemes.

See 21 CFR 113.40(a)(1)(i)(a) [https://www.gpo.gov/fdsys/pkg/CFR-2001-title21-vol2/xml/CFR-2001-title21-vol2-part113.xml] as an example of this issue.

The process to identify the depth of the citation outline makes the assumption that Level_1 is lowercase, Level_2 is numerical, Level_3 is lowercase roman numerals, Level_4 is uppercase. In many of the older FDA regulations for Level _4 the regulation uses lowercase italicized rather than the current standard for uppercase-non-italicized. As a result the parser will error out and break.

A work around is to convert the lowercase citations to uppercase in the input xml file, but technically the citation 21 CFR 113.40(a)(1)(i)(a) is not the same as 21 CFR 113.40(a)(1)(i)(A). Further changing the citation is, in fact, likely to confuse people as its not what was printed in the Federal Register.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions