mirror of
https://github.com/Theodor-Springmann-Stiftung/KGPZ.git
synced 2025-10-29 17:15:31 +00:00
Datumsformat geändert ->
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
|
||||
<xsd:group name="BeitragInfo">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="datum" type="xsd:date" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xsd:element name="datum" type="kgpz:date" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xsd:element name="ort" minOccurs="0" maxOccurs="unbounded" type="kgpz:ref" />
|
||||
<xsd:element name="kategorie" minOccurs="1" maxOccurs="unbounded" type="kgpz:ref" />
|
||||
<xsd:element name="autor" minOccurs="0" maxOccurs="unbounded" type="kgpz:ref" />
|
||||
|
||||
@@ -25,4 +25,70 @@
|
||||
</xsd:extension>
|
||||
</xsd:simpleContent>
|
||||
</xsd:complexType>
|
||||
<xsd:attributeGroup name="dateattributes">
|
||||
<xsd:attributeGroup ref="kgpz:when"/>
|
||||
<xsd:attributeGroup ref="kgpz:notBefore"/>
|
||||
<xsd:attributeGroup ref="kgpz:notAfter"/>
|
||||
<xsd:attributeGroup ref="kgpz:from"/>
|
||||
<xsd:attributeGroup ref="kgpz:to"/>
|
||||
</xsd:attributeGroup>
|
||||
|
||||
<!-- This section is alsmost exacty as in TEI -->
|
||||
<xsd:complexType name="date">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>(date) contains a date in any format. [3.6.4. Dates and Times 2.2.4. Publication, Distribution, Licensing, etc. 2.6. The Revision Description 3.12.2.4. Imprint, Size of a Document, and Reprint Information 15.2.3. The Setting Description 13.4. Dates]</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:attributeGroup ref="kgpz:dateattributes"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:attributeGroup name="when">
|
||||
<xsd:attribute name="when">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>supplies the value of the date or time in a standard form, e.g. yyyy-mm-dd.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:simpleType>
|
||||
<xsd:union memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime"/>
|
||||
</xsd:simpleType>
|
||||
</xsd:attribute>
|
||||
</xsd:attributeGroup>
|
||||
<xsd:attributeGroup name="notBefore">
|
||||
<xsd:attribute name="notBefore">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>specifies the earliest possible date for the event in standard form, e.g. yyyy-mm-dd.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:simpleType>
|
||||
<xsd:union memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime"/>
|
||||
</xsd:simpleType>
|
||||
</xsd:attribute>
|
||||
</xsd:attributeGroup>
|
||||
<xsd:attributeGroup name="notAfter">
|
||||
<xsd:attribute name="notAfter">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>specifies the latest possible date for the event in standard form, e.g. yyyy-mm-dd.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:simpleType>
|
||||
<xsd:union memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime"/>
|
||||
</xsd:simpleType>
|
||||
</xsd:attribute>
|
||||
</xsd:attributeGroup>
|
||||
<xsd:attributeGroup name="from">
|
||||
<xsd:attribute name="from">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>indicates the starting point of the period in standard form, e.g. yyyy-mm-dd.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:simpleType>
|
||||
<xsd:union memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime"/>
|
||||
</xsd:simpleType>
|
||||
</xsd:attribute>
|
||||
</xsd:attributeGroup>
|
||||
<xsd:attributeGroup name="to">
|
||||
<xsd:attribute name="to">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>indicates the ending point of the period in standard form, e.g. yyyy-mm-dd.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:simpleType>
|
||||
<xsd:union memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime"/>
|
||||
</xsd:simpleType>
|
||||
</xsd:attribute>
|
||||
</xsd:attributeGroup>
|
||||
</xsd:schema>
|
||||
@@ -16,7 +16,7 @@
|
||||
<xsd:element name="nummer" type="xsd:positiveInteger" minOccurs="1" maxOccurs="1" />
|
||||
|
||||
<!-- Lässt sich aus Nummer + Jahr berechnen. -->
|
||||
<xsd:element name="datum" type="xsd:date" minOccurs="1" maxOccurs="1" />
|
||||
<xsd:element name="datum" type="kgpz:date" minOccurs="1" maxOccurs="1" />
|
||||
|
||||
<!-- Von + bis lässt sich aus Nummer berechnen (n-1) * 4 + 1 bzw. (n-1) * 4 + 1 -->
|
||||
<xsd:element name="von" type="xsd:positiveInteger" minOccurs="1" maxOccurs="1"/>
|
||||
@@ -35,7 +35,7 @@
|
||||
</xsd:complexType>
|
||||
<xsd:unique name="uniqueNummer">
|
||||
<xsd:selector xpath="kgpz:stueck" />
|
||||
<xsd:field xpath="kgpz:datum" />
|
||||
<xsd:field xpath="kgpz:datum/@when" />
|
||||
</xsd:unique>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
@@ -48,7 +48,7 @@
|
||||
<xsd:element name="druck" type="kgpz:ref" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xsd:element name="verlag" type="kgpz:ref" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xsd:element name="vertrieb" type="kgpz:ref" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xsd:element name="jahr" type="kgpz:Year" minOccurs="0" maxOccurs="1" />
|
||||
<xsd:element name="datum" type="kgpz:date" minOccurs="0" maxOccurs="1" />
|
||||
</xsd:sequence>
|
||||
</xsd:group>
|
||||
</xsd:schema>
|
||||
Reference in New Issue
Block a user