Skip to content

Commit c07be19

Browse files
Merge pull request #792 from aaaaalbert/fix-typos-in-ODD-tutorial
Fix typos, formatting, formulations in ODD tutorial
2 parents 2652c68 + 3db664f commit c07be19

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

_tutorials/180_understanding_odd/180_understanding_odd-03.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div>
22
<p>
3-
Despite it's name, the setup for working with ODD usually requires at least <u>two</u> <em>logical</em> files (though these may spread
3+
Despite its name, the setup for working with ODD usually requires at least <u>two</u> <em>logical</em> files (though these may spread
44
across many more files in the file system, as shown in the following step of this tutorial). The first of these files is the
55
so-called <em>source</em>: It holds the full specification of the format, in this case MEI. In our repository, it is located in the
66
<a href="https://github.com/music-encoding/music-encoding/blob/develop/source/mei-source.xml" target="_blank" rel="noopener, noreferrer">mei-source.xml</a> file.

_tutorials/180_understanding_odd/180_understanding_odd-06.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
<pre class="codeblock">&lt;elementSpec ident="dedicatee" module="MEI.shared"&gt;
7171
&lt;desc&gt;Entity to whom a creative work is formally offered.&lt;/desc&gt;
7272
&lt;classes&gt;
73-
&lt;-- other memberShips removed for brevity --&gt;
73+
&lt;!-- other memberShips removed for brevity --&gt;
7474
&lt;memberOf key="model.textPhraseLike.limited"/&gt;
7575
&lt;/classes&gt;
7676
&lt;content&gt;
@@ -81,7 +81,7 @@
8181
&lt;/rng:choice&gt;
8282
&lt;/rng:zeroOrMore&gt;
8383
&lt;/content&gt;
84-
&lt;-- constraintSpec removed for brevity--&gt;
84+
&lt;!-- constraintSpec removed for brevity--&gt;
8585
&lt;/elementSpec&gt;</pre>
8686
<p>
8787
The element has a <em>&lt;memberOf&gt;</em> element, which uses its <strong>@key</strong> attribute to reference the

_tutorials/180_understanding_odd/180_understanding_odd-07.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
applicable).
2121
</p>
2222
<p>
23-
Now let's have a look for these <em>&lt;attDef&gt;</em> elements are located. Even though that's not really the preferred solution, sometimes
23+
Now let's have a look where these <em>&lt;attDef&gt;</em> elements are located. Even though that's not really the preferred solution, sometimes
2424
attributes are defined at the element where they need to be used, as with the <em>@type</em> attribute on
2525
<a href="/guidelines/v5/elements/meiHead.html" target="_blank" rel="noopener, noreferrer">&lt;meiHead&gt;</a>:
2626
</p>
@@ -108,13 +108,13 @@
108108
&lt;/classes&gt;
109109
&lt;/classSpec&gt;</pre>
110110
<p>
111-
Again, it is through the use of a <em>&lt;memberOf</em> element with the proper <em>@key</em> how membership in different classes is achieved in
111+
Again, it is through the use of a <em>&lt;memberOf&gt;</em> element with the proper <em>@key</em> how membership in different classes is achieved in
112112
MEI, so this mechanism should be familiar already. And just like with <em>model classes</em>, <em>attribute classes</em> are used from rather generic
113113
classes to very specific sets of well-aligned attributes. By subscribing to the right attribute class(es), an element may thus get just the right set of
114114
attributes, and it becomes possible to selectively add or remove attributes to new or existing elements by modifying these memberships.
115115
</p>
116116
<p>
117-
In specs for <em>att.common</em> above reveal another attribute class <em>att.typed</em> which provides an attribute
117+
The specs for <em>att.common</em> above reveal another attribute class <em>att.typed</em> which provides an attribute
118118
<em>@type</em>. Obviously, this hasn't been used on <em>&lt;meiHead&gt;</em>, as seen above. The reason is that the attribute class
119119
provides a <em>@type</em> attribute which has only a very generic description: <em>Designation which characterizes the element
120120
in some sense, using any convenient classification scheme or typology that employs single-token labels.</em>

_tutorials/180_understanding_odd/180_understanding_odd-08.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
RelaxNG. The <em>@maxOccurs</em> and <em>@minOccurs</em> attributes define how often a value of this type may be given. An
1717
example for other values can be found for the <em>@staff</em> attribute defined in <em>att.staffIdent</em>. This attribute
1818
is used to associate
19-
<a href="/guidelines/v5/content/introduction.html#eventsControlevents" target="_blank" rel="noopener, noreferrer">controlevents</a>
19+
<a href="/guidelines/v5/content/introduction.html#eventsControlevents" target="_blank" rel="noopener, noreferrer">ControlEvents</a>
2020
with one or more staves, and may hold one or more integers. It uses
2121
<a href="/guidelines/v5/attribute-classes/att.staffIdent.html" target="_blank" rel="noopener, noreferrer">the following markup</a> to achieve this:
2222
</p>
@@ -156,4 +156,4 @@
156156
<em>attribute classes</em>, data types are often considered to be more accessible when getting into ODD – there is
157157
surely less to learn. So let's move on to <em>Macros</em>.
158158
</p>
159-
</div>
159+
</div>

0 commit comments

Comments
 (0)