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

37 CFR 1: markers in GPOTABLEs #7

Merged
merged 1 commit into from
Apr 14, 2017

Conversation

gregoryfoster
Copy link
Contributor

eregs/regulations-parser does not currently process regulatory markers found within GPOTABLE objects (see issue 368). This causes the parser to fail in circumstances where the depth of regulatory markers around a GPOTABLE object cannot be accurately determined.

This pull request fixes two of these errors found in the 37 CFR 1 2012 and 2013 annual editions.

<GPOTABLE CDEF="s30,8" COLS="2" OPTS="L0,tp0,p1,8/9,g1,t1">
<ROW>
<ENT I="01">(i) A basic portion</ENT>
<ENT I="01">A basic portion</ENT>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed by pulling the marker outside of the table, per @cmc333333's suggestion.

<GPOTABLE CDEF="s50,10" COLS="2" OPTS="L0,tp0,p0,8/9,g1,t1">
<ROW>
<ENT>(j) [Reserved]</ENT>
</ROW>
<ROW>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed by pushing the marker inside of the table.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might make more sense to pop (k), (l), etc. out in the long run as they're not addressable otherwise. Something to consider!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to push it inside because (j) was the only marker at that level outside of a GPOTABLE.

@cmc333333
Copy link
Member

👍 Looks good @gregoryfoster

@cmc333333 cmc333333 merged commit 3c72959 into eregs:master Apr 14, 2017
@gregoryfoster gregoryfoster deleted the 37_cfr_1_tables branch April 19, 2017 16:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants