ArchivesPortalEuropeFoundation / EAG2012

Maintenance of EAG2012, the Encoded Archival Guide for describing institutions with archival holdings
5 stars 1 forks source link

[Major revision] Changes to <maintenanceStatus> and <publicationStatus> #114

Open kerstarno opened 1 year ago

kerstarno commented 1 year ago

Provide a general summary of the issue in the Title above. Delete the part of the issue template that does not apply depending on whether you describe a change to an existing element / attribute or the addition of a new one.

Creator of issue

State your name, organisation and ways to reach you. Name: Kerstin Arnold Organisation: Archives Portal Europe Foundation, Working Group on Standards Email: standards@archivesportaleurope.net GitHub username (if applicable): @kerstarno

Changes to existing element / attribute

Give the current name of the element / attribute. Include the tag name and the full name. Name: <maintenanceStatus> and <publicationStatus>

Change in context

List all parent elements to which the element / attribute should be added. Furthermore, list all parent elements from which the element / attribute should be removed.

Remove from

Parent element(s): <control>

Change in content model (elements)

List all sub-elements and attributes that should be removed from or added to the element's content model.

New element / attribute

Give the name of the new element / attribute. Include the tag name and the full name. Name: @maintenanceStatus and @publicationStatus

Context and availability

List all parent elements to which the element / attribute should be added. For elements, give an indication of their availability within each parent element ("1..1" for required but not repeatable, "1 (or another number)..n" for required and repeatable, "0..1" for optional but not repeatable", "0..n" for optional and repeatable). For attributes, indicate their availability with "1" for required or "0" for optional within each parent element. Parent element(s): <control>; @maintenanceStatus (1), @publicationStatus (0)

Data type (attributes)

Indicate the new attribute's data type including the mention of specific default values (if applicable). New data type (with default values): @maintenanceStatus with values "cancelled", "deleted", "deletedMerged", deletedReplaced", "deletedSplit", "derived", "new", "revised"; @publicationStatus with values "approved", "inProcess", "published"

Example of XML code

Provide a sample encoding in XML of the new / changed element (with potential attributes). Write your text after the "Example:" below. Example: <control maintenanceStatus="revised" publicationStatus="published"/>

kerstarno commented 1 year ago

For conversion, <maintenanceStatus> is transformed into @maintenanceStatus within <control> with the element's content being transferred into the attribute's value. The same applies to any existing <publicationStatus> element, which is transformed into @publicationStatus within <control>.