DATE: problem with GEDCOM 7.x definition for BEF and AFT #287
-
|
in our German group we have a discussion about the DATE payloads with BEF and AFT. Now GEDCOM 7.0 has modified the definition to: Example: How to handle this when converting GEDCOM 5.5.1 to GEDCOM 7.0 ? To have the same interpretation in GEDCOM 7, we have to write in GEDCOM 7.0: If one application does that, another does not, "same" data are represented in GEDCOM 7.0 in different ways. Questions:
For 2. we started to discuss using "<" for "BEF" from GEDCOM 5.5.1; and "<=" for "BEF" from GEDCOM 7.0 .... Albert (Emmerich) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 14 replies
-
My view (and my implementation) is that such an interpretation is not safe. |
Beta Was this translation helpful? Give feedback.
-
|
Gramps forum: Misleading date range labels? (Before, After, Between) |
Beta Was this translation helpful? Give feedback.
-
|
As the person who wrote the current 7.0 wording, here is why it was written as it is. I'm not claiming we made only correct decisions, but I will try to reveal the decisions we made and why we made them. 5.5.1's text was "BEF = Event happened before the given date." That text is ambiguous: does it mean before the beginning of the given date or before the end of it? This is especially significant when the date itself is imprecise. Does We looked to see if we could find consistency of interpretation in the wild. It didn't take long to find .ged files that had things like a source dated 1865 with text that referred to someone as deceased, and where that was the source of a If we were to remove the ambiguity, we were thus forced to pick something that did not align with the intent of many existing files. Two options were available: we could either cause people who interpreted it as "before the beginning/after the end" to find their data in 7.0 was not quite as precise as they had intended, or we could cause people who interpreted it as "before the end/after the beginning" to find their data in 7.0 was now more strict and possibly asserting falsehoods. This left three options
Option 3 was clearly out: at first glance that "clarification" was the most natural interpretation of the words in 5.5.1, but we had ample evidence that it was a more strict interpretation that many extant .ged files assumed and hence would amount to a breaking change. After multiple rounds of discussion, we decided that option 2 was superior to option 1 because it did not propagate past ambiguity into future versions of GEDCOM. |
Beta Was this translation helpful? Give feedback.
As the person who wrote the current 7.0 wording, here is why it was written as it is. I'm not claiming we made only correct decisions, but I will try to reveal the decisions we made and why we made them.
5.5.1's text was "BEF = Event happened before the given date."
That text is ambiguous: does it mean before the beginning of the given date or before the end of it? This is especially significant when the date itself is imprecise. Does
BEF 1865mean "< 1865-01-01 00:00:00" or "< 1865-12-25 23:59:59" or something in between?We looked to see if we could find consistency of interpretation in the wild. It didn't take long to find .ged files that had things like a source dated 1865 with text t…