Skip to content

Commit

Permalink
Remove text content for birth, death, sex, affiliation as per #215.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomazErjavec committed May 3, 2022
1 parent a047777 commit 5f7b66d
Show file tree
Hide file tree
Showing 6 changed files with 461 additions and 465 deletions.
8 changes: 4 additions & 4 deletions TEI/ParlaMint-schemaSpecs.editing.odd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,7 @@

<elementSpec ident="sex" module="namesdates" mode="change">
<content>
<textNode/>
<empty/>
</content>
<attList>
<attDef ident="value" mode="replace" usage="req">
Expand All @@ -1487,7 +1487,7 @@
<content>
<alternate>
<elementRef key="placeName" minOccurs="0" maxOccurs="1"/>
<textNode/>
<empty/>
</alternate>
</content>
<attList>
Expand All @@ -1499,7 +1499,7 @@
<content>
<alternate>
<elementRef key="placeName" minOccurs="0" maxOccurs="1"/>
<textNode/>
<empty/>
</alternate>
</content>
<attList>
Expand All @@ -1521,7 +1521,7 @@

<elementSpec ident="affiliation" module="namesdates" mode="change">
<content>
<textNode/>
<empty/>
</content>
<attList>
<attDef ident="role" mode="replace" usage="req">
Expand Down
8 changes: 4 additions & 4 deletions TEI/ParlaMint-schemaSpecs.odd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3852,7 +3852,7 @@
</elementSpec>
<elementSpec ident="sex" module="namesdates" mode="change">
<content>
<textNode/>
<empty/>
</content>
<attList>
<attDef ident="value" mode="replace" usage="req">
Expand Down Expand Up @@ -3914,7 +3914,7 @@
<content>
<alternate>
<elementRef key="placeName" minOccurs="0" maxOccurs="1"/>
<textNode/>
<empty/>
</alternate>
</content>
<attList>
Expand Down Expand Up @@ -3984,7 +3984,7 @@
<content>
<alternate>
<elementRef key="placeName" minOccurs="0" maxOccurs="1"/>
<textNode/>
<empty/>
</alternate>
</content>
<attList>
Expand Down Expand Up @@ -4112,7 +4112,7 @@
</elementSpec>
<elementSpec ident="affiliation" module="namesdates" mode="change">
<content>
<textNode/>
<empty/>
</content>
<attList>
<attDef ident="role" mode="replace" usage="req">
Expand Down
10 changes: 5 additions & 5 deletions TEI/ParlaMint.odd.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace xi = "http://www.w3.org/2001/XInclude"
namespace xlink = "http://www.w3.org/1999/xlink"
namespace xsl = "http://www.w3.org/1999/XSL/Transform"

# Schema generated from ODD source 2022-05-02T11:53:49Z. 2022-03-04.
# Schema generated from ODD source 2022-05-03T11:05:44Z. 2022-03-04.
# TEI Edition: Version 4.4.0a. Last updated on
# 14th March 2022, revision 3a89ab0a0
# TEI Edition Location: https://www.tei-c.org/Vault/P5/Version 4.4.0a./
Expand Down Expand Up @@ -1902,7 +1902,7 @@ tei_affiliation =

## (affiliation) contains an informal description of a person's present or past affiliation with some organization, for example an employer or sponsor. [15.2.2. The Participant Description]
element affiliation {
text,
empty,
tei_att.global.analytic.attribute.ana,
tei_att.datable.w3c.attribute.when,
tei_att.datable.w3c.attribute.from,
Expand Down Expand Up @@ -2045,7 +2045,7 @@ tei_birth =

## (birth) contains information about a person's birth, such as its date and place. [15.2.2. The Participant Description]
element birth {
(tei_placeName? | text),
(tei_placeName?),

## supplies the value of the date or time in a standard form, e.g. yyyy-mm-dd.
attribute when {
Expand All @@ -2064,7 +2064,7 @@ tei_death =

## (death) contains information about a person's death, such as its date and place. [15.2.2. The Participant Description]
element death {
(tei_placeName? | text),
(tei_placeName?),

## supplies the value of the date or time in a standard form, e.g. yyyy-mm-dd.
attribute when {
Expand Down Expand Up @@ -2334,7 +2334,7 @@ tei_sex =

## (sex) specifies the sex of a person. [13.3.2.1. Personal Characteristics]
element sex {
text,
empty,

##
attribute value {
Expand Down
8 changes: 3 additions & 5 deletions TEI/ParlaMint.odd.rng
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns:xlink="http://www.w3.org/1999/xlink"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="http://www.tei-c.org/ns/1.0"><!--
Schema generated from ODD source 2022-05-02T11:53:46Z. 2022-03-04.
Schema generated from ODD source 2022-05-03T11:05:40Z. 2022-03-04.
TEI Edition: Version 4.4.0a. Last updated on
14th March 2022, revision 3a89ab0a0
TEI Edition Location: https://www.tei-c.org/Vault/P5/Version 4.4.0a./
Expand Down Expand Up @@ -2736,7 +2736,7 @@ On <name/>, either the @marks attribute should be used, or a paragraph of descri
<define name="tei_affiliation">
<element name="affiliation">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(affiliation) contains an informal description of a person's present or past affiliation with some organization, for example an employer or sponsor. [15.2.2. The Participant Description]</a:documentation>
<text/>
<empty/>
<ref name="tei_att.global.analytic.attribute.ana"/>
<ref name="tei_att.datable.w3c.attribute.when"/>
<ref name="tei_att.datable.w3c.attribute.from"/>
Expand Down Expand Up @@ -2842,7 +2842,6 @@ On <name/>, either the @marks attribute should be used, or a paragraph of descri
<optional>
<ref name="tei_placeName"/>
</optional>
<text/>
</choice>
<attribute name="when">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies the value of the date or time in a standard form, e.g. yyyy-mm-dd.</a:documentation>
Expand All @@ -2867,7 +2866,6 @@ On <name/>, either the @marks attribute should be used, or a paragraph of descri
<optional>
<ref name="tei_placeName"/>
</optional>
<text/>
</choice>
<attribute name="when">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies the value of the date or time in a standard form, e.g. yyyy-mm-dd.</a:documentation>
Expand Down Expand Up @@ -3192,7 +3190,7 @@ On <name/>, either the @marks attribute should be used, or a paragraph of descri
<define name="tei_sex">
<element name="sex">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(sex) specifies the sex of a person. [13.3.2.1. Personal Characteristics]</a:documentation>
<text/>
<empty/>
<attribute name="value">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
<choice>
Expand Down
2 changes: 1 addition & 1 deletion TEI/ParlaMint.odd.sch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
<title>ISO Schematron rules</title>
<!-- This file generated 2022-05-02T11:53:52Z by 'extract-isosch.xsl'. -->
<!-- This file generated 2022-05-03T11:05:46Z by 'extract-isosch.xsl'. -->
<!-- ********************* -->
<!-- namespaces, declared: -->
<!-- ********************* -->
Expand Down
Loading

0 comments on commit 5f7b66d

Please sign in to comment.