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

Fails If Depth4 Marker is not uppercase alphabetic #390

Open
Efferon opened this issue Dec 20, 2017 · 0 comments
Open

Fails If Depth4 Marker is not uppercase alphabetic #390

Efferon opened this issue Dec 20, 2017 · 0 comments

Comments

@Efferon
Copy link

Efferon commented Dec 20, 2017

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.

@Efferon Efferon changed the title Fails If Depth4 Marker is not uppercase roman number Fails If Depth4 Marker is not uppercase alphabetic Dec 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant