FamilySearch / GEDCOM.io

Files for the GEDCOM.io website
2 stars 5 forks source link

Remove empty linevals from most sample files #108

Closed tychonievich closed 10 months ago

tychonievich commented 10 months ago

Dangling spaces are forbidden by ABNF

The relevant parts of section 1.3 of the spec are

Line    = Level D [Xref D] Tag [D LineVal] EOL
LineVal = pointer / lineStr
lineStr = (nonAt / atsign atsign) *nonEOL ; leading @ doubled

Note that an empty LineVal is not possible: empty LineVals must be omitted.

We have empty LineVals in spaces.ged too, with NOTEs identifying them as intentional. I don't know why we have that, so I have not included fixing that in this commit.

tychonievich commented 10 months ago

Accidentally based this PR on the wrong branch

tychonievich commented 10 months ago

Fixed branch problem

tychonievich commented 10 months ago

No, not fixed after all