Why does GEDCOM 7 spec show HEAD etc as level n and not level 0? #293
Replies: 1 comment 1 reply
-
Yes, that is correct
This notation was introduced in version 5.0. Named rules have their top-level specified as As a result, every structure has a level given only once. The level is set once
and is then propagated through various other productions
and
to give the final level of the record.
There's no technical ambiguity, but doing so might make the presentation a bit simpler. The downsides are fairly minor: if we make the change we'd have the same level specified more than once, and it would change a machine-parseable syntax which could require small patches to tools using it. |
Beta Was this translation helpful? Give feedback.
-
Am I correct in saying that several records including HEAD, INDI and FAM have to be level 0?
If that is not correct please can you give examples where these records would not be level 0.
If it is correct then why does the specification use "n" to denote the level of these records? Wouldn't it be less ambiguous to specify them as level 0?
Beta Was this translation helpful? Give feedback.
All reactions