Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .last-modified/schema/frus.odd
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<last-modified xml:id="schema0x2Ffrus.odd" seconds_since_epoch="1755598401">2025-08-19T10:13:21Z</last-modified>
<last-modified xml:id="schema0x2Ffrus.odd" seconds_since_epoch="1771371803">2026-02-17T23:43:23Z</last-modified>
2 changes: 1 addition & 1 deletion .last-modified/schema/frus.rnc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<last-modified xml:id="schema0x2Ffrus.rnc" seconds_since_epoch="1755598401">2025-08-19T10:13:21Z</last-modified>
<last-modified xml:id="schema0x2Ffrus.rnc" seconds_since_epoch="1771371803">2026-02-17T23:43:23Z</last-modified>
2 changes: 1 addition & 1 deletion .last-modified/schema/frus.sch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<last-modified xml:id="schema0x2Ffrus.sch" seconds_since_epoch="1755598401">2025-08-19T10:13:21Z</last-modified>
<last-modified xml:id="schema0x2Ffrus.sch" seconds_since_epoch="1771371803">2026-02-17T23:43:23Z</last-modified>
35 changes: 33 additions & 2 deletions schema/frus.odd
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@
says what element(s) are allowed as the root element of documents
conforming to this schema. There is no official default, but Roma
behave as if the default is "teiCorpus TEI".-->
<schemaSpec ident="frus" start="TEI" source="tei:4.9.0">
<schemaSpec ident="frus" start="TEI">



Expand Down Expand Up @@ -1264,10 +1264,41 @@
</content>
</elementSpec>

<!--
constrain revisionDesc/@status
-->
<elementSpec ident="revisionDesc" module="header" mode="change">
<desc>Restrict @status values for tei:revisionDesc elements for status of a volume</desc>
<attList>
<attDef ident="status" usage="req" mode="replace">
<valList type="closed">
<valItem ident="planned">
<gloss>Has been registered in a sub-series plan</gloss>
</valItem>
<valItem ident="being-researched">
<gloss>Research has begun</gloss>
</valItem>
<valItem ident="being-cleared">
<gloss>Editing and declassification has begun</gloss>
</valItem>
<valItem ident="published">
<gloss>Has been published</gloss>
</valItem>
<valItem ident="partially-published">
<gloss>Some but not yet all chapters in a volume have been published</gloss>
</valItem>
<valItem ident="being-digitized">
<gloss>A published volume is being digitized and will be released online</gloss>
</valItem>
</valList>
</attDef>
</attList>
</elementSpec>

<!--
constrain change/@status
-->
<elementSpec ident="change" module="core" mode="change">
<elementSpec ident="change" module="header" mode="change">
<desc>Restrict @status values for tei:change elements for status of divisions within a volume</desc>
<attList>
<attDef ident="status" usage="req" mode="replace">
Expand Down
38 changes: 31 additions & 7 deletions schema/frus.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ namespace teix = "http://www.tei-c.org/ns/Examples"
namespace xi = "http://www.w3.org/2001/XInclude"
namespace xlink = "http://www.w3.org/1999/xlink"

# Schema generated from ODD source 2025-08-13T14:16:14Z. .
# TEI Edition: P5 Version 4.9.0. Last updated on 24th January 2025, revision f73186978
# TEI Edition Location: https://www.tei-c.org/Vault/P5/4.9.0/
# Schema generated from ODD source 2026-02-04T17:18:32Z. .
# TEI Edition: P5 Version 4.10.2. Last updated on 4th September 2025, revision bcfa98f42
# TEI Edition Location: https://www.tei-c.org/Vault/P5/4.10.2/
# FRUS TEI Schema Spec

#
Expand Down Expand Up @@ -2733,11 +2733,32 @@ keywords =
}
revisionDesc =

## (revision description) summarizes the revision history for a file. [2.6. The Revision Description 2.1.1. The TEI Header and Its Components]
## (revision description) Restrict @status values for tei:revisionDesc elements for status of a volume [2.6. The Revision Description 2.1.1. The TEI Header and Its Components]
element revisionDesc {
(\list+ | change+),
att.global.attributes,
att.docStatus.attributes,

##
attribute status {

## (Has been registered in a sub-series plan)
"planned"
|
## (Research has begun)
"being-researched"
|
## (Editing and declassification has begun)
"being-cleared"
|
## (Has been published)
"published"
|
## (Some but not yet all chapters in a volume have been published)
"partially-published"
|
## (A published volume is being digitized and will be released online)
"being-digitized"
},
empty
}
change =
Expand Down Expand Up @@ -3049,10 +3070,11 @@ opener =
}
closer =

## (closer) groups together salutations, datelines, and similar phrases appearing as a final group at the end of a division, especially of a letter. [4.2.2. Openers and Closers 4.2. Elements Common to All Divisions]
## (closer) groups together salutations, datelines, bylines, and similar phrases appearing as a final group at the end of a division, especially of a letter. [4.2.2. Openers and Closers 4.2. Elements Common to All Divisions]
element closer {
(text
| model.gLike
| byline
| signed
| dateline
| salute
Expand Down Expand Up @@ -3612,7 +3634,9 @@ facsimile =

## contains a representation of some written source in the form of a set of images rather than as transcribed or encoded text. [12.1. Digital Facsimiles]
element facsimile {
(front?, (model.graphicLike | surface)+, back?)
(front?,
((model.graphicLike | surface)+ | facsimile+),
back?)
>> sch:pattern [
id =
"frus-facsimile-no_facsimile_text_nodes-constraint-rule-22"
Expand Down
3 changes: 1 addition & 2 deletions schema/frus.sch
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@
square brackets: "[]". Only use in the rare circumstance that the volume has a block
of unnumbered documents outside the normal stream of numbered documents. Please
verify that the @n value is correct.</assert>
<assert role="warn" test="matches(./@n, '^\[.+?\]$') or ./@n castable as xs:integer"
>Non-number component found in document number "<value-of select="@n"/>". Please
<assert role="warn" test="matches(./@n, '^\[.+?\]$') or ./@n castable as xs:integer or substring-after(./@n, '–') castable as xs:integer">Non-number component found in document number "<value-of select="@n"/>". Please
verify that the document number is correct.</assert>
</rule>
<rule context="tei:body">
Expand Down