FamilySearch/gedcomx

Is the spec missing root element properties?

Closed this issue · 2 comments

Gedcomx.java lists three properties that are not mentioned in the Conceptual Model, JSON Serialization Format, or XML Serialization Format: lang, description, profile. Are they supposed to be included in the spec?

The lang property is implied in section 1.4.

The Gedcomx data type isn't defined in the conceptual model because its use is as a container for serialization purposes. So:

  • The lang property is defined in the XML, JSON specs (see section 4.3 of each spec).
  • The description property is defined in the XML, JSON specs (see section 4.3 of each spec).
  • The profile property was added as an experiment in the Java library, but it's not getting used, so I'll remove it for now.

Thanks. I remember looking at section 4.3 in the JSON spec. Not sure how I missed lang and description in there.