Skip to content

Commit efe5bb2

Browse files
authored
Merge pull request majlis-erc#760 from majlis-erc/759-works-add-note-types
works note types
2 parents 15e5eff + 9e81b43 commit efe5bb2

9 files changed

Lines changed: 128 additions & 630 deletions

forms/formGenerator/config.xml

Lines changed: 87 additions & 621 deletions
Large diffs are not rendered by default.

forms/schemas/work-schema.xml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,17 @@ End license statement: do not remove -->
674674
<memberOf key="att.written" mode="delete"/>
675675
</classes>
676676
<attList>
677-
<attDef ident="type" mode="delete"/>
677+
<attDef ident="type" mode="change">
678+
<gloss>Type</gloss>
679+
<valList type="closed" mode="change">
680+
<valItem mode="add" ident="authorship">
681+
<gloss>Authorship</gloss>
682+
</valItem>
683+
<valItem mode="add" ident="manuscripts">
684+
<gloss>Manuscripts</gloss>
685+
</valItem>
686+
</valList>
687+
</attDef>
678688
<attDef ident="xml:lang" mode="change">
679689
<gloss>Language</gloss>
680690
<valList type="closed" mode="change">

forms/templates/work-fulltemplate.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
<incipit xml:lang="" source=""/>
124124
<explicit xml:lang="" source=""/>
125125
<quote xml:lang="" type="" source=""/>
126-
<note xml:lang=""></note>
126+
<note xml:lang="" type=""/>
127127
<bibl xml:id="" type="">
128128
<title/>
129129
<citedRange unit="p"/>

forms/templates/work-template.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<incipit xml:lang="" source=""/>
1313
<explicit xml:lang="" source=""/>
1414
<quote xml:lang="" type="" source=""/>
15-
<note xml:lang=""></note>
15+
<note xml:lang="" type=""/>
1616
<bibl xml:id="" type="">
1717
<title/>
1818
<citedRange unit="p"/>

forms/worksTEI/templates/bibl-elementTemplate.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<incipit source="" xml:lang=""/>
4141
<explicit source="" xml:lang=""/>
4242
<quote source="" type="" xml:lang=""/>
43-
<note xml:lang=""/>
43+
<note type="" xml:lang=""/>
4444
<date source=""/>
4545
<ptr target=""/>
4646
<citedRange unit=""/>
@@ -203,7 +203,7 @@
203203
<namespace/>
204204
<normalization/>
205205
<notatedMusic/>
206-
<note xml:lang=""/>
206+
<note type="" xml:lang=""/>
207207
<notesStmt/>
208208
<num/>
209209
<objectDesc/>

forms/worksTEI/templates/bibl-schemaConstraints.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,17 @@
509509
teiElement="&lt;note/&gt;">
510510
<desc>Add observations on fields mentioned above.</desc>
511511
<availableAtts elementName="note">
512+
<attDef attLabel="Type" ident="type" mode="change">
513+
<gloss xmlns:rng="http://relaxng.org/ns/structure/1.0"
514+
xmlns:sch="http://purl.oclc.org/dsdl/schematron">Type</gloss>
515+
<valList xmlns:rng="http://relaxng.org/ns/structure/1.0"
516+
xmlns:sch="http://purl.oclc.org/dsdl/schematron"
517+
type="closed"
518+
mode="change">
519+
<valItem ident="authorship" attLabel="Authorship"/>
520+
<valItem ident="manuscripts" attLabel="Manuscripts"/>
521+
</valList>
522+
</attDef>
512523
<attDef attLabel="Language" ident="xml:lang" mode="change">
513524
<gloss xmlns:rng="http://relaxng.org/ns/structure/1.0"
514525
xmlns:sch="http://purl.oclc.org/dsdl/schematron">Language</gloss>

forms/worksTEI/templates/bibliography-elementTemplate.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<incipit source="" xml:lang=""/>
4141
<explicit source="" xml:lang=""/>
4242
<quote source="" type="" xml:lang=""/>
43-
<note xml:lang=""/>
43+
<note type="" xml:lang=""/>
4444
<date source=""/>
4545
<ptr target=""/>
4646
<citedRange unit=""/>
@@ -203,7 +203,7 @@
203203
<namespace/>
204204
<normalization/>
205205
<notatedMusic/>
206-
<note xml:lang=""/>
206+
<note type="" xml:lang=""/>
207207
<notesStmt/>
208208
<num/>
209209
<objectDesc/>

forms/worksTEI/templates/bibliography-schemaConstraints.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,17 @@
502502
teiElement="&lt;note/&gt;">
503503
<desc>Add observations on fields mentioned above.</desc>
504504
<availableAtts elementName="note">
505+
<attDef attLabel="Type" ident="type" mode="change">
506+
<gloss xmlns:rng="http://relaxng.org/ns/structure/1.0"
507+
xmlns:sch="http://purl.oclc.org/dsdl/schematron">Type</gloss>
508+
<valList xmlns:rng="http://relaxng.org/ns/structure/1.0"
509+
xmlns:sch="http://purl.oclc.org/dsdl/schematron"
510+
type="closed"
511+
mode="change">
512+
<valItem ident="authorship" attLabel="Authorship"/>
513+
<valItem ident="manuscripts" attLabel="Manuscripts"/>
514+
</valList>
515+
</attDef>
505516
<attDef attLabel="Language" ident="xml:lang" mode="change">
506517
<gloss xmlns:rng="http://relaxng.org/ns/structure/1.0"
507518
xmlns:sch="http://purl.oclc.org/dsdl/schematron">Language</gloss>

forms/worksTEI/templates/textClass-elementTemplate.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<incipit source="" xml:lang=""/>
4141
<explicit source="" xml:lang=""/>
4242
<quote source="" type="" xml:lang=""/>
43-
<note xml:lang=""/>
43+
<note type="" xml:lang=""/>
4444
<date source=""/>
4545
<ptr target=""/>
4646
<citedRange unit=""/>
@@ -203,7 +203,7 @@
203203
<namespace/>
204204
<normalization/>
205205
<notatedMusic/>
206-
<note xml:lang=""/>
206+
<note type="" xml:lang=""/>
207207
<notesStmt/>
208208
<num/>
209209
<objectDesc/>

0 commit comments

Comments
 (0)