Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use <constraintDecl> in Guidelines and tei_customization, and add CMC to French Guidelines #2660

Merged
merged 1 commit into from
Jan 22, 2025
Merged
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
18 changes: 0 additions & 18 deletions P5/Source/Specs/TEI.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,6 @@
</alternate>
</sequence>
</content>
<constraintSpec ident="c1" scheme="schematron" xml:lang="en">
<constraint>
<sch:ns prefix="tei" uri="http://www.tei-c.org/ns/1.0"/>
<sch:ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema"/>
</constraint>
</constraintSpec>
<constraintSpec ident="c2" scheme="schematron" xml:lang="en">
<constraint>
<sch:ns prefix="rng" uri="http://relaxng.org/ns/structure/1.0"/>
<sch:ns prefix="rna" uri="http://relaxng.org/ns/compatibility/annotations/1.0"/>
</constraint>
</constraintSpec>
<constraintSpec ident="c3" scheme="schematron" xml:lang="en">
<constraint>
<sch:ns prefix="sch" uri="http://purl.oclc.org/dsdl/schematron"/>
<sch:ns prefix="sch1x" uri="http://www.ascc.net/xml/schematron"/>
</constraint>
</constraintSpec>
<attList>
<attDef ident="version" usage="opt">
<desc versionDate="2018-01-24" xml:lang="en">specifies the version number of the TEI Guidelines against
Expand Down
15 changes: 13 additions & 2 deletions P5/Source/guidelines-en.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ $Date$
$Id$
-->
<TEI xmlns="http://www.tei-c.org/ns/1.0"
xmlns:rng="http://relaxng.org/ns/structure/1.0" version="5.0"
rend="book" xml:lang="en">
xmlns:rng="http://relaxng.org/ns/structure/1.0"
xmlns:sch="http://purl.oclc.org/dsdl/schematron"
version="5.0" rend="book" xml:lang="en">
<teiHeader>
<fileDesc>
<titleStmt>
Expand Down Expand Up @@ -68,6 +69,16 @@ $Id$
</publicationStmt>
<sourceDesc><p>A long history from P2 onwards. See further <ptr target="#PREFS"/></p></sourceDesc>
</fileDesc>
<encodingDesc>
<constraintDecl scheme="schematron" xml:lang="en">
<sch:ns prefix="tei" uri="http://www.tei-c.org/ns/1.0"/>
<sch:ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema"/>
<sch:ns prefix="rng" uri="http://relaxng.org/ns/structure/1.0"/>
<sch:ns prefix="rna" uri="http://relaxng.org/ns/compatibility/annotations/1.0"/>
<sch:ns prefix="sch" uri="http://purl.oclc.org/dsdl/schematron"/>
<sch:ns prefix="sch1x" uri="http://www.ascc.net/xml/schematron"/>
</constraintDecl>
</encodingDesc>
<revisionDesc>
<change>
<date>$Date$.</date>
Expand Down
16 changes: 14 additions & 2 deletions P5/Source/guidelines-fr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ $Date$
$Id$
-->
<TEI xmlns="http://www.tei-c.org/ns/1.0"
xmlns:rng="http://relaxng.org/ns/structure/1.0" version="5.0"
rend="book" xml:lang="en">
xmlns:rng="http://relaxng.org/ns/structure/1.0"
xmlns:sch="http://purl.oclc.org/dsdl/schematron"
version="5.0" rend="book" xml:lang="en">
<teiHeader>
<fileDesc>
<titleStmt>
Expand Down Expand Up @@ -68,6 +69,16 @@ $Id$
</publicationStmt>
<sourceDesc><p>A long history from P2 onwards. See further <ptr target="#PREFS"/></p></sourceDesc>
</fileDesc>
<encodingDesc>
<constraintDecl scheme="schematron" xml:lang="fr">
<sch:ns prefix="tei" uri="http://www.tei-c.org/ns/1.0"/>
<sch:ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema"/>
<sch:ns prefix="rng" uri="http://relaxng.org/ns/structure/1.0"/>
<sch:ns prefix="rna" uri="http://relaxng.org/ns/compatibility/annotations/1.0"/>
<sch:ns prefix="sch" uri="http://purl.oclc.org/dsdl/schematron"/>
<sch:ns prefix="sch1x" uri="http://www.ascc.net/xml/schematron"/>
</constraintDecl>
</encodingDesc>
<revisionDesc>
<change>
<date>$Date$.</date>
Expand Down Expand Up @@ -113,6 +124,7 @@ $Id$
<include xmlns="http://www.w3.org/2001/XInclude" href="Guidelines/en/VE-Verse.xml"/>
<include xmlns="http://www.w3.org/2001/XInclude" href="Guidelines/en/DR-PerformanceTexts.xml"/>
<include xmlns="http://www.w3.org/2001/XInclude" href="Guidelines/en/TS-TranscriptionsofSpeech.xml"/>
<include xmlns="http://www.w3.org/2001/XInclude" href="Guidelines/en/CMC-ComputerMediatedCommunication.xml"/>
<include xmlns="http://www.w3.org/2001/XInclude" href="Guidelines/en/DI-PrintDictionaries.xml"/>
<include xmlns="http://www.w3.org/2001/XInclude" href="Guidelines/en/MS-ManuscriptDescription.xml"/>
<include xmlns="http://www.w3.org/2001/XInclude" href="Guidelines/en/PH-PrimarySources.xml"/>
Expand Down
4 changes: 4 additions & 0 deletions P5/Utilities/TEI-to-tei_customization.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,10 @@
<moduleRef key="namesdates" include="persName placeName orgName"/>
<xsl:comment> allow tables, figures, and formulæ </xsl:comment>
<moduleRef key="figures" except="notatedMusic"/>

<constraintDecl scheme="schematron" queryBinding="xslt2">
<sch:ns prefix="teix" uri="http://www.tei-c.org/ns/Examples"/>
</constraintDecl>

<constraintSpec scheme="schematron" ident="mode-child-sanity" xml:lang="en">
<constraint>
Expand Down
Loading