Open kerstarno opened 1 year ago
For conversion, the current encoding
<timetable>
<opening xml:lang="[language of opening1]" source="[source of opening1]" href="[link for opening1]">opening1</opening>
<opening xml:lang="[language of opening2]" source="[source of opening2]" href="[link for opening2]">opening2</opening>
<closing xml:lang="[language of closing1]" source="[source of closing1]" standardDate="YYYY-MM-DD">closing1</closing>
<closing xml:lang="[language of closing2]" source="[source of closing2]" standardDate="YYYY-MM-DD">closing2</closing>
</timetable>
becomes
<control>
[...]
<sources>
<source id="source1">
<reference>source of opening1</reference>
</source>
<source id="source2">
<reference>source of opening2</reference>
</source>
<source id="source3">
<reference>source of closing1</reference>
</source>
<source id="source4">
<reference>source of closing2</reference>
</source>
</sources>
[...]
</control>
[...]
<timetable>
<opening languageOfElement="[language of opening1]" sourceReference="#source1" href="[link for opening1]">opening1</opening>
<opening languageOfElement="[language of opening2]" sourceReference="#source2" href="[link for opening2]">opening2</opening>
<closing languageOfElement="[language of closing1]" sourceReference="#source3">closing1</closing>
<closing languageOfElement="[language of closing2]" sourceReference="#source4">closing2</closing>
</timetable>
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:
<timetable>
,<opening>
,<closing>
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): remove
<timetable>
from<repository>
Add to
Parent element(s): add
<timetable>
to<description>
Change in availability
For elements, give an indication of their changed availability within each affected 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 added attributes, indicate their changed availability with "1" for required or "0" for optional within each affected parent element. Changed availability:
<timetable>
remains mandatory, but becomes repeatable (1..n) in this context;<timetable>
has to appear after<places>
and<access>
and before any other sub-elements of<description>
<timetable>
's sub-elements<opening>
(1..n) and<closing>
(0..n)Change in content model (elements)
List all sub-elements and attributes that should be removed from or added to the element's content model.
Remove
Attributes (with default values, if applicable):
@xml:lang
andsource
from<opening>
and<closing>
(see replacement below)@standardDate
from<closing>
without replacementAdd
Attributes (with default values, if applicable):
@audience
with values "external", "internal" (0),@id
(0),@languageOfElement
(0),@scriptOfElement
(0),@target
(0);@conventionDeclarationReference
(0),@maintenanceEventReference
(0),@sourceReference
(0); option to include attributes from any other namespace to<timetable>
,<opening>
, and<closing>
<opening>
and<closing>
,@languageOfElement
replaces@xml:lang
and@sourceReference
replaces@source
@href
to<closing>
(the attribute already is available with<opening>
)@linkRole
and@linkTitle
to<opening>
and<closing>