Skip to content

Commit b0d8be1

Browse files
committed
Update test files
1 parent 90dbe29 commit b0d8be1

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed

tests/mei-CMN/altsym_ornaments.mei

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<?xml-model href="../../schemata/mei-all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
3-
<?xml-model href="../../schemata/mei-all.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
4-
<mei xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.music-encoding.org/ns/mei" meiversion="3.0.0">
2+
<?xml-model href="../../schemata/mei-CMN.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
3+
<?xml-model href="../../schemata/mei-CMN.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
4+
<mei xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.music-encoding.org/ns/mei"
5+
meiversion="3.0.0">
56
<meiHead>
67
<fileDesc>
78
<titleStmt>
@@ -25,7 +26,7 @@
2526
<body>
2627
<mdiv>
2728
<score>
28-
<scoreDef meter.count="4" meter.unit="4" >
29+
<scoreDef meter.count="4" meter.unit="4">
2930
<symbolTable>
3031
<symbolDef xml:id="alt_mordent">
3132
<!-- SMuFL ornamentMordentInverted -->
@@ -45,10 +46,7 @@
4546
</symbolDef>
4647
</symbolTable>
4748
<staffGrp>
48-
<staffDef n="1"
49-
clef.line="2"
50-
clef.shape="G"
51-
lines="5"/>
49+
<staffDef n="1" clef.line="2" clef.shape="G" lines="5"/>
5250
</staffGrp>
5351
</scoreDef>
5452
<section>
@@ -60,10 +58,12 @@
6058
<note pname="g" oct="4" dur="4"/>
6159
<note pname="c" oct="4" dur="4"/>
6260
</layer>
63-
</staff>
64-
<mordent form="norm" tstamp="1" altsym="#alt_mordent"/>
65-
<turn form="norm" tstamp="2" altsym="#alt_turn"/>
66-
<trill tstamp="4" altsym="#alt_trill"/>
61+
</staff>
62+
<!-- @altsym or @glyphname can be used to refer to a symbol -->
63+
<!-- @glyphname is the more direct method -->
64+
<mordent form="norm" tstamp="1" altsym="#alt_mordent" glyphnum="#xE56D"/>
65+
<turn form="norm" tstamp="2" altsym="#alt_turn" glyphnum="#xE569"/>
66+
<trill tstamp="4" altsym="#alt_trill" glyphnum="#xE584"/>
6767
</measure>
6868
</section>
6969
</score>

tests/mei-all/mei2015_testing.mei

+11-8
Original file line numberDiff line numberDiff line change
@@ -392,13 +392,13 @@
392392
<!-- relative line-height and letter-spacing values now permitted -->
393393
<rend rend="line-height(150%) letter-spacing(5%)" halign="center" fontsize="12">
394394
<lb/>
395-
<rend rend="x-large">THE POEMS</rend>
395+
<rend fontsize="x-large">THE POEMS</rend>
396396
<lb/>
397-
<rend rend="small">OF</rend>
397+
<rend fontsize="small">OF</rend>
398398
<lb/>
399-
<rend rend="xx-large" color="red">ALGERNON CHARLES SWINBURNE</rend>
399+
<rend fontsize="xx-large" color="red">ALGERNON CHARLES SWINBURNE</rend>
400400
<lb/>
401-
<rend rend="large line-height(150%)">IN SIX VOLUMES</rend>
401+
<rend fontsize="large" rend="line-height(150%)">IN SIX VOLUMES</rend>
402402
</rend>
403403
</title>
404404
<byline>
@@ -408,7 +408,7 @@
408408
</byline>
409409
<editor>Edited by John Doe</editor>
410410
<title>VOLUME I.<lb/>
411-
<rend rend="x-large smcaps" color="red">POEMS AND BALLADS</rend></title>
411+
<rend fontsize="x-large" rend="smcaps" color="red">POEMS AND BALLADS</rend></title>
412412
<title>FIRST SERIES</title>
413413
<imprint>
414414
<pubPlace>London</pubPlace> Printed for <name>E. Nutt</name>, at <pubPlace>Royal
@@ -445,10 +445,13 @@
445445
meter.unit="4" meter.sym="common" system.leftline="true">
446446
<symbolTable>
447447
<symbolDef xml:id="mySymbol1">
448-
<curve startid="#n1" endid="#n2" lform="dotted" lwidth="0.2mm" curvedir="above"/>
449-
<symbol altsym="#mySymbol1"/>
450-
<graphic target="www.mySite.org/cuteGraphic.png" width="10px" height="11px"/>
448+
<curve startid="#n1" endid="#n2" lform="dotted" lwidth="0.2mm" curvedir="above"
449+
bulge="2 50%"/>
450+
<symbol altsym="#mySymbol2" startid="#n1"/>
451+
<graphic target="www.mySite.org/cuteGraphic.png" width="10px" height="11px" ulx="0"
452+
uly="0"/>
451453
</symbolDef>
454+
<symbolDef xml:id="mySymbol2"/>
452455
</symbolTable>
453456
<keySig pname="c" accid="s" mode="minor"/>
454457
<meterSig count="4" unit="4" sym="common"/>

0 commit comments

Comments
 (0)