Case sensitivity for controlled enumerations #132
-
Are payload values in enumerations case-sensitive? In GEDCOM 5.5.1 there was a rule, that all controlled line_value choices should be considered as case insensitive. Is this rule still valid? The Compatibility Report Generator for GEDCOM 7 distinguishes between Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This is a great question. The GEDCOM 5.5.1 spec was clear because the RESTRICTION_NOTICE values were controlled line_value choices. The FamilySearch GEDCOM 7 spec however doesn't have the same language. The only language similar to the quote about controlled line_value choices is:
However, enumerations are not listed in the spec as delimited by double-quotes, and so the above text does not apply if taken literally, since enumerated values are not "literal strings". I suspect this is not the intent and this may be a bug in the FamilySearch GEDCOM 7 spec if so. |
Beta Was this translation helpful? Give feedback.
-
The intent of the 7.0 authoring team was that all case-insensitive components of 5.5.1 should be standardized to upper-case. We did this by
This change was inspired by reports that case insensitivity was a common source of incompatibilities between implementations. By removing case insensitivity we hope to make more applications interoperable with 7.0 than they were with 5.5.1. |
Beta Was this translation helpful? Give feedback.
The intent of the 7.0 authoring team was that all case-insensitive components of 5.5.1 should be standardized to upper-case. We did this by
%s"FROM"
and the like in all literal values in the ABNF grammarTag
andEnum
This change was inspired by reports that case insensitivity was a common source of incompatibilities between implementations. By removing case insensitivity we hope to make more applications interoperable with 7.0 than they were with 5.5.1.