Skip to content
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

<existDates> #144

Closed
SJagodzinski opened this issue Jul 17, 2020 · 10 comments
Closed

<existDates> #144

SJagodzinski opened this issue Jul 17, 2020 · 10 comments
Labels
Element Tested by Schema Team Passed both the RNG and XSD schemas.
Projects

Comments

@SJagodzinski
Copy link
Contributor

SJagodzinski commented Jul 17, 2020

Dates of Existence

  • add attributes:
    @audience
    @conventationDeclarationReference
    @localTypeDeclarationReference
    @maintenanceEventReference
    @scriptOfElement
    @sourceReference
  • change availability to repeatable

Creator of issue

  1. Silke Jagodzinski
  2. TS-EAS: EAC-CPF subgroup
  3. silkejagodzinski@gmail.com

EAD3 Reconciliation

EAC-CFP specific element

Context

The dates of existence of the entity being described, such as dates of establishment and dissolution for corporate bodies and dates of birth and death or floruit for persons.

May contain: <date>, <dateRange>, <dateSet>, <descriptiveNote>
May occur within: <description>
Attributes:
@localType - Optional
@xml:id - Optional
@xml:lang - Optional
Availability: Optional, Non-repeatable

Solution documentation: agreed solution for TL and guidelines

Rephrasing Summary, Description and Usage and Attribute usage needed?

May contain: <date>, <dateRange>, <dateSet>, <descriptiveNote>
May occur within: <description>
Attributes:
@audience - optional (values limited to: external, internal)
@conventationDeclarationReference - optional
@id - optional
@languageOfElement - optional
@localType - optional
@localTypeDeclarationReference - optional
@maintenanceEventReference - optional
@scriptOfElement - optional
@sourceReference - optional
Availability: Optional, repeatable

  • New or other example needed in relation with assertions

Example encoding

<description">
 <existDates audience="external" conventionDeclarationReference="conventiondeclaration1" id="existDates1" languageOfElement="en" localType="existDates" localTypeDeclarationReference="localTypeDeclaration1" maintenanceEventReference="maintenancevent1" scriptOfElement="lat" sourceReference="source1">
   <dateRange>
    <fromDate>start date of existence</fromDate>
     <toDate>end date of existence</toDate>
    </dateRange>
    <descriptiveNote>
     <p>descriptive Note for dates of existence</p>
    </descriptiveNote>
 </existDates>
@SJagodzinski SJagodzinski self-assigned this Jul 17, 2020
@SJagodzinski SJagodzinski added this to To do in EAC-CPF 2.0 via automation Jul 17, 2020
@SJagodzinski SJagodzinski assigned fordmadox and ailie-s and unassigned SJagodzinski Nov 1, 2020
@SJagodzinski SJagodzinski added this to the Schema milestone Nov 1, 2020
@SJagodzinski

This comment has been minimized.

@ailie-s
Copy link

ailie-s commented Nov 2, 2020

Tag Library Text:

Summary: An optional element within <description> encoding the dates of existence of the CPF entity being described, such as dates of establishment and dissolution for corporate bodies and dates of birth and death or floruit for persons.
May contain: (date or dateRange or dateSet (1..1)), descriptiveNote (0..1)
May occur within: description
Attributes:
@audience - optional (values limited to: external, internal)
@conventationDeclarationReference - optional
@id - optional
@languageOfElement - optional
@localType - optional
@localTypeDeclarationReference - optional
@maintenanceEventReference - optional
@scriptOfElement - optional
@sourceReference - optional
Description and usage:
The dates of existence of the CPF entity being described, such as dates of establishment and dissolution for corporate bodies and dates of birth and death or floruit for persons.
<existDates> must contain one of <date>, <dateRange>, or <dateSet>. These child elements may contain actual or approximate dates. A <descriptiveNote> may be included if a fuller explanation of the dates of existence is needed.
Use the <date> element to record the date of a single event, such as a date of birth or date of incorporation. Use <dateRange> to encode a pair of inclusive dates. Use <dateSet> to encode more complex date expressions that intermix <date> and <dateRange> elements.
See Also: Do not confuse with <useDates>, which is a child element of <nameEntry> or <nameEntryParallel> and represents the dates of use for a particular name or set of names.
Availability: Optional, repeatable

@karinbredenberg
Copy link
Member

karinbredenberg commented Nov 3, 2020

@ailie-s in issue #138 the cardinality for existDates is 0..1 and here its 0..n which one is the correct one?

@karinbredenberg
Copy link
Member

karinbredenberg commented Nov 3, 2020

Element exitDates tested:
May occur within: description Currently cardinality 0..n
date or dateRange or dateSet (1..1)), ok in both schemas
descriptiveNote (0..1) Missing in both schemas
@Audience - optional (values limited to: external, internal) ok in both schemas
@conventationDeclarationReference - optional ok in both schemas
@id - optional ok in both schemas
@languageOfElement - optional ok in both schemas
@localType - optional ok in both schemas
@localTypeDeclarationReference - optional ok in both schemas
@maintenanceEventReference - optional ok in both schemas
@scriptOfElement - optional ok in both schemas
@sourceReference - optional ok in both schemas

Result: Cardinality of the element itself needs to be checked and element descriptiveNote added in both.

@fordmadox

This comment has been minimized.

@ailie-s

This comment has been minimized.

@karinbredenberg

This comment has been minimized.

@karinbredenberg karinbredenberg added Tested by Schema Team Passed both the RNG and XSD schemas. and removed in progress labels Nov 4, 2020
@kerstarno kerstarno modified the milestones: Schema, Tag Library Nov 6, 2020
@SJagodzinski SJagodzinski moved this from To do to In progress in EAC-CPF 2.0 Nov 15, 2020
@fordmadox
Copy link
Member

Just noting that the APEX fork of the EAC schema makes existDates a required element. Not sure if we ever discussed that, but I like the approach that any element that's forced to show up first should also be required (with the one exception in the EAC draft schema currently being the "head" element, although in that case, I'd prefer that that element to be repeatable and to appear in any order, like h1-h6 in HTML, if it's needed at all). Granted, if existDates were required, then the migration path would need to create this element when it doesn't exist, but this would be an opportunity to demonstrate a preferred method for including "unknown" as a value.

@SJagodzinski
Copy link
Contributor Author

We never discussed having mandatory and I prefer to keep it optional.

@fordmadox
Copy link
Member

In that case, I might suggest that we consider moving existDates so that it is paired with the other repeatable elements (e.g. biogHist, etc.) rather than being the first element within the description section, but we don't have a schema-based principle for ordering of elements, and the order doesn't really matter, ultimately.

@SJagodzinski SJagodzinski moved this from nearly finished to Tag Library in EAC-CPF 2.0 Feb 2, 2021
@SJagodzinski SJagodzinski assigned SJagodzinski and unassigned ailie-s Mar 27, 2021
@SJagodzinski SJagodzinski moved this from Tag Library to To do in EAC-CPF 2.0 Apr 4, 2021
@SJagodzinski SJagodzinski moved this from To do to Tag Library in EAC-CPF 2.0 Jul 8, 2021
@SJagodzinski SJagodzinski moved this from Tag Library to Done in EAC-CPF 2.0 Dec 12, 2021
@SJagodzinski SJagodzinski removed this from the Tag Library milestone Dec 12, 2021
@SJagodzinski SJagodzinski removed their assignment May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Element Tested by Schema Team Passed both the RNG and XSD schemas.
Projects
EAC-CPF 2.0
  
Done
Development

No branches or pull requests

5 participants