You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update gedstruct to make cross reference identifiers optional
Fixes#408
Signed-off-by: Dave Thaler <[email protected]>
* Revert "Update gedstruct to make cross reference identifiers optional"
* Deprecate using stdTag in non-standard ways
As discussed in issue #97
Signed-off-by: Dave Thaler <[email protected]>
* Update specification/gedcom-1-hierarchical-container-format.md
* Update gedcom-3-structures-3-meaning.md (#423)
Copy a line from next-minor per #416
* Fix typos (#431)
Fix spelling of "contains" in a README file.
Fix formatting in GEDCOM spec caused by lack of a blank line before
bulleted list.
Change bullets in source from "*" to "-" just for consistency with
rest of source.
Signed-off-by: Dave Thaler <[email protected]>
Co-authored-by: Dave Thaler <[email protected]>
* Add note about oddly formed age payloads (#432)
* Add note about oddly formed age payloads
Signed-off-by: Dave Thaler <[email protected]>
* Update specification/gedcom-2-data-types.md
Co-authored-by: Luther Tychonievich <[email protected]>
---------
Signed-off-by: Dave Thaler <[email protected]>
Co-authored-by: Dave Thaler <[email protected]>
Co-authored-by: Luther Tychonievich <[email protected]>
* Update extracted files (#427)
Co-authored-by: Dave Thaler <[email protected]>
---------
Signed-off-by: Dave Thaler <[email protected]>
Co-authored-by: Dave Thaler <[email protected]>
Co-authored-by: Dave Thaler <[email protected]>
Co-authored-by: Luther Tychonievich <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dave Thaler <[email protected]>
A **tagged extension structure** is a structure whose tag matches production `extTag`. Tagged extension structures may appear as records or substructures of any other structure. Their meaning is defined by their tag, as is discussed more fully in the section [Extension Tags].
320
320
321
321
Any substructure of a tagged extension structure that uses a tag matching `stdTag` is an **extension-defined substructure**.
322
-
Substructures of an extension-defined substructure that uses a tag matching `stdTag` are also extension-defined substructures.
322
+
Substructures of an extension-defined substructure that uses a tag matching `stdTag` are also extension-defined substructures, but this specification deprecates using a `stdTag` with a definition that does not match any standard type with that tag.
323
323
The meaning and use of each extension-defined substructure is defined by the tagged extension structure it occurs within, not by its tag alone nor by this specification.
324
324
325
325
:::example
@@ -337,7 +337,8 @@ In the following
337
337
```
338
338
339
339
- Both uses of `_LOC` are tagged extension structures, as is `_POP`.
340
-
- `_LOC`.`NAME` and `_LOC`.`NAME`.`DATE` are both extension-defined substructures. Their meaning is defined by the specification defining `_LOC`.
340
+
- `_LOC`.`NAME` and `_LOC`.`NAME`.`DATE` are both extension-defined substructures. Their meaning is defined by the specification defining `_LOC`, but since no standard definition of `NAME` permits `DATE` as a substructure, such use is
341
+
deprecated.
341
342
- `_POP`.`DATE` is an extension-defined substructure. Its meaning is defined by the specification defining `_POP`.
342
343
- Even though both `DATE`s appear to have `g7:type-DATE` payloads, we can't know that is the intended data type without consulting the defining specifications of `_LOC` and `_POP`, respectively. The first might be a `g7:type-DATE#period` and the second a `g7:type-DATE#exact`, for example.
Copy file name to clipboardexpand all lines: specification/gedcom-2-data-types.md
+9-2
Original file line number
Diff line number
Diff line change
@@ -225,6 +225,12 @@ Because numbers are rounded down, `>` effectively includes its endpoint; that is
225
225
226
226
Different cultures count ages differently. Some increment years on the anniversary of birth and others at particular seasons. Some round to the nearest year, others round years down, others round years up. Because users may be unaware of these traditions or may fail to convert them to the round-down convention, errors in age of up to a year are common.
227
227
228
+
:::note
229
+
Because age payloads are intended to allow recording the age as it was recorded in records that could contain errors,
230
+
odd ages such as `8w 30d`, `1y 400d`, `1y 30m`, etc. are permitted. Some applications might convert these to more
231
+
standard forms; if so, it is recommended that they use a `PHRASE` substructure to hold the original form.
232
+
:::
233
+
228
234
Age payloads may also be omitted entirely if no suitable form is known but a substructure (such as a `PHRASE`) is desired.
229
235
230
236
:::note
@@ -304,13 +310,14 @@ registered values and extension values.
304
310
MediaType = type "/" subtype parameters
305
311
```
306
312
where:
307
-
*`type` and `subtype` are defined in [RFC 2045](https://www.rfc-editor.org/info/rfc2045)
313
+
314
+
-`type` and `subtype` are defined in [RFC 2045](https://www.rfc-editor.org/info/rfc2045)
308
315
section 5.1, and registered values (i.e., those not beginning with "x-") are further
0 commit comments