Skip to content

Revise and document corpus.xml#167

Merged
cmil merged 11 commits intomainfrom
108-corpus-xml-revision
Mar 25, 2026
Merged

Revise and document corpus.xml#167
cmil merged 11 commits intomainfrom
108-corpus-xml-revision

Conversation

@cmil
Copy link
Copy Markdown
Member

@cmil cmil commented Dec 2, 2025

This implements a custom dracorCorpus element to serve as root element for our corpus.xml files. Thus we don't need to "abuse" or modify the teiCorpus element. The PR also simplifies the markup a bit and adds a new chapter "Corpus Structure and Metadata" to the ODD.

resolve #108
resolve #68
resolve #44

@cmil cmil added this to the 1.3.0 milestone Dec 2, 2025
@cmil cmil marked this pull request as draft December 2, 2025 01:48
@cmil cmil force-pushed the 108-corpus-xml-revision branch 2 times, most recently from ebaf055 to dcbbb1c Compare December 19, 2025 02:02
@cmil cmil force-pushed the 108-corpus-xml-revision branch from dcbbb1c to bea1d87 Compare December 20, 2025 18:43
@cmil cmil force-pushed the 108-corpus-xml-revision branch from bea1d87 to fe7d304 Compare January 24, 2026 13:27
@cmil cmil force-pushed the 108-corpus-xml-revision branch from fe7d304 to e87deb3 Compare February 18, 2026 09:45
@cmil cmil force-pushed the 108-corpus-xml-revision branch from e87deb3 to 29db89f Compare March 23, 2026 17:09
@cmil cmil marked this pull request as ready for review March 23, 2026 17:10
cmil added a commit to dracor-org/fredracor that referenced this pull request Mar 24, 2026
cmil added a commit to dracor-org/fredracor that referenced this pull request Mar 24, 2026
cmil added a commit to dracor-org/fredracor that referenced this pull request Mar 24, 2026
cmil added a commit to dracor-org/dracor-api that referenced this pull request Mar 24, 2026
dracorCorpus is replacing teiCorpus in our corpus.xml files,
but we still need to support it until the next major API version.

see dracor-org/dracor-schema#167
cmil added a commit to dracor-org/testdracor that referenced this pull request Mar 24, 2026
cmil added a commit to dracor-org/testdracor that referenced this pull request Mar 24, 2026
* Move metadata from standOff to sourceDesc

* Adopt corpus.xml changes

see dracor-org/dracor-schema#167
cmil added a commit to dracor-org/dracor-api that referenced this pull request Mar 24, 2026
dracorCorpus is replacing teiCorpus in our corpus.xml files,
but we still need to support it until the next major API version.

see dracor-org/dracor-schema#167
@cmil cmil force-pushed the 108-corpus-xml-revision branch 2 times, most recently from 2a44eff to a6af955 Compare March 25, 2026 01:28
@github-actions
Copy link
Copy Markdown

📄 Preview available: https://staging.dracor.org/previews/odd-167.html

Updated on every push to this PR.

1 similar comment
@github-actions
Copy link
Copy Markdown

📄 Preview available: https://staging.dracor.org/previews/odd-167.html

Updated on every push to this PR.

@cmil cmil force-pushed the 108-corpus-xml-revision branch 2 times, most recently from d05051a to 1aecf23 Compare March 25, 2026 07:00
@github-actions
Copy link
Copy Markdown

Preview available: https://staging.dracor.org/previews/odd-167.html

@github-actions
Copy link
Copy Markdown

Preview available: https://staging.dracor.org/previews/odd-167.html

1 similar comment
@github-actions
Copy link
Copy Markdown

Preview available: https://staging.dracor.org/previews/odd-167.html

@cmil cmil force-pushed the 108-corpus-xml-revision branch from 75d2ed3 to 04c13d4 Compare March 25, 2026 08:51
@github-actions
Copy link
Copy Markdown

Preview available: https://staging.dracor.org/previews/odd-167.html

cmil added a commit to dracor-org/spandracor that referenced this pull request Mar 25, 2026
cmil added 11 commits March 25, 2026 11:33
In order to make corpus.xml TEI compliant without overriding the content
model of teiCorpus this defines a new root element dracorCorpus. It has
exactly one teiHeader child element.

In addition we simplifz the declaration of the corpus name with an
untyped idno element and use the more appropriate ref instead of idno
to declare the repository URL.
@cmil cmil force-pushed the 108-corpus-xml-revision branch from b81cea2 to b7903fc Compare March 25, 2026 10:34
@cmil cmil merged commit 765fb61 into main Mar 25, 2026
2 checks passed
@cmil cmil deleted the 108-corpus-xml-revision branch March 25, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Revise and properly document corpus.xml Customise the teiCorpus element schema for corpus.xml

1 participant