-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from axelberndt/develop
v2.1.2 - Added <tei:att>source</tei:att> to element <tei:gi>schemaSpec</tei:gi> to indicate the latest TEI ODD version that this schema is developed with. - Corrections in the guidelines as of <tei:ref target="https://github.com/axelberndt/MPM/issues/56">GitHub issue 56</tei:ref>: Wrong attribute <tei:att>bpm</tei:att> in a <tei:gi>dynamics</tei:gi> element has been changed to <tei:att>volume</tei:att>. - Moved <tei:att>scale</tei:att> from element <tei:gi>accentuationPattern</tei:gi> to attribute class att.scale so it can be used also in other elements.
- Loading branch information
Showing
3 changed files
with
35 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml-model href="https://tei-c.org/release/xml/tei/custom/schema/relaxng/tei_odds.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?> | ||
<?xml-model href="https://tei-c.org/release/xml/tei/custom/schema/relaxng/tei_odds.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> | ||
<tei:classSpec ident="att.scale" type="atts" module="mpm.core" mode="add" xmlns:tei="http://www.tei-c.org/ns/1.0"> | ||
<tei:gloss>scale attribute class</tei:gloss> | ||
|
||
<tei:desc>This attribute class provides attribute <tei:att>scare</tei:att>.</tei:desc> | ||
|
||
<tei:attList> | ||
<tei:attDef ident="scale" usage="req"> | ||
<tei:gloss>scaling factor</tei:gloss> | ||
<tei:desc>This attribute is required to scale relative values (which are defined in [0.0; 1.0]) to explicit values.</tei:desc> | ||
<tei:datatype> | ||
<tei:dataRef name="double"/> | ||
</tei:datatype> | ||
<tei:remarks> | ||
<tei:p>Typically, the scale value is non-negative. In element <tei:gi>accentuationPattern</tei:gi> it sets the value of the strongest accentuation. Its negative marks the strongest restraint. Setting scale to a negative value will have an inverted effet. Setting scale to 0.0 effectively deactivates any effect.</tei:p> | ||
</tei:remarks> | ||
</tei:attDef> | ||
</tei:attList> | ||
</tei:classSpec> |