-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extension tags in YAML format #114
Comments
@tychonievich comments? |
I don't understand what problem you are trying to solve nor what problem you are finding with the current system. Maybe you are trying to create YAML files to help parse undocumented extensions? But I don't see how this proposed change actually helps solve the hard problem there, i.e. that same extTag is used to mean different things by different applications. I added |
Yes, that's one.
It solves it by using subsumes with application-specific URIs that can be derived from existing GEDCOM files without changes.
I follow how
I can neither agree nor disagree, since I don't yet understand the use you suggest. |
After some reflection and playing with some examples,
|
Currently https://gedcom.io/terms/format has:
However,
extTag
is ambiguous. That is, two separate applications might use the sameextTag
with very different meanings, even under the same superstructure. As such, simply listing theextTag
underextension tags
can cause tools that consume the YAML to do the wrong thing with GEDCOM files. A URI on the other hand would be unambiguous. So would the combination ofHEAD.SOUR
payload plusextTag
.I claim that the new
subsumes
key can be used to more accurately represent the intent of the extension tags key, in an unambiguous way. Now that we havesubsumes
, I believeextension tags
provides no real value and I would propose replacingstandard tag
andextension tags
with justtag
(which could be a standard tag or anextTag
) and the existingsubsumes
.To resolve ambiguity of different applications using the same
extTag
, a URI is required for use withsubsumes
, even for undocumented extension tags. A proposal to construct such a URI is:SCHMA
HEAD.SOUR
payload is itself a URI as suggested by https://gedcom.io/specifications/FamilySearchGEDCOMv7.html#HEAD-SOUR, construct the extension URI as: HEAD.SOUR payload / extTagThe text was updated successfully, but these errors were encountered: