Skip to content

Commit

Permalink
Issue 65: which objects have IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
michmech committed Jan 4, 2024
1 parent 246d4b6 commit ef10025
Show file tree
Hide file tree
Showing 12 changed files with 71 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
<para><literal>"endIndex"</literal>
<glossterm>required</glossterm>, number</para>
</listitem>
<listitem>
<para><literal>"id"</literal>
<glossterm>optional</glossterm>, string</para>
</listitem>
<listitem>
<para><literal>"lemma"</literal>
<glossterm>optional</glossterm>, string</para>
Expand All @@ -34,5 +30,13 @@
<olink targetptr="core_label">label</olink> object type</para>
</listitem>
</itemizedlist>

<itemizedlist>
<title>Members if implementing the Linking Module</title>
<listitem>
<para><literal>"id"</literal>
<glossterm>optional</glossterm>, string. Collocate markers that have an ID can appear as members of relations.</para>
</listitem>
</itemizedlist>

</section>
12 changes: 8 additions & 4 deletions dmlex-v1.0/specification/serializations/JSON/objects/entry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@

<itemizedlist>
<title>Members</title>
<listitem>
<para><literal>"id"</literal>
<glossterm>optional</glossterm>, string</para>
</listitem>
<listitem>
<para><literal>"headword"</literal>
<glossterm>required</glossterm>, string</para>
Expand Down Expand Up @@ -50,6 +46,14 @@
</listitem>
</itemizedlist>

<itemizedlist>
<title>Members if implementing the Linking Module</title>
<listitem>
<para><literal>"id"</literal>
<glossterm>optional</glossterm>, string. Entries that have an ID can be members of relations.</para>
</listitem>
</itemizedlist>

<itemizedlist>
<title>Members if implementing the Annotation Module</title>
<listitem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<title>Members</title>
<listitem>
<para><literal>"ref"</literal>
<glossterm>required</glossterm>, string</para>
<glossterm>required</glossterm>, string: the <code>id</code> of an <code>entry</code>, a <code>sense</code> or a <code>collocateMarker</code>.</para>
</listitem>
<listitem>
<para><literal>"role"</literal>
Expand Down
14 changes: 10 additions & 4 deletions dmlex-v1.0/specification/serializations/JSON/objects/sense.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@

<itemizedlist>
<title>Members</title>
<listitem>
<para><literal>"id"</literal>
<glossterm>optional</glossterm>, string</para>
</listitem>
<listitem>
<para><literal>"indicator"</literal>
<glossterm>optional</glossterm>, string</para>
Expand All @@ -36,6 +32,16 @@
</listitem>
</itemizedlist>

<itemizedlist>
<title>Members if implementing the Linking Module</title>
<listitem>
<para><literal>"id"</literal>
<glossterm>optional</glossterm>, string.
Senses that have an ID can be members of relations.
</para>
</listitem>
</itemizedlist>

<itemizedlist>
<title>Members if implementing the Crosslingual Module</title>
<listitem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@

<itemizedlist>
<title>Child nodes</title>
<listitem>
<para><literal>id</literal> <glossterm>optional</glossterm> (zero or one)</para>
</listitem>
<listitem>
<para><literal>lemma</literal> <glossterm>optional</glossterm> (zero or one)</para>
</listitem>
Expand All @@ -30,5 +27,12 @@
</listitem>
</itemizedlist>

<itemizedlist>
<title>Child nodes if implementing the Linking Module</title>
<listitem>
<para><literal>id</literal> <glossterm>optional</glossterm> (zero or one). Collocate markers that have an ID can appear as members of relations.</para>
</listitem>
</itemizedlist>


</section>
10 changes: 7 additions & 3 deletions dmlex-v1.0/specification/serializations/NVH/nodes/entry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@

<itemizedlist>
<title>Child nodes</title>
<listitem>
<para><literal>id</literal> <glossterm>optional</glossterm> (zero or one)</para>
</listitem>
<listitem>
<para><literal>homographNumber</literal> <glossterm>optional</glossterm> (zero or one)</para>
</listitem>
Expand All @@ -41,6 +38,13 @@
</listitem>
</itemizedlist>

<itemizedlist>
<title>Child nodes if implementing the Linking Module</title>
<listitem>
<para><literal>id</literal> <glossterm>optional</glossterm> (zero or one). Entries that have an ID can be members of relations.</para>
</listitem>
</itemizedlist>

<itemizedlist>
<title>Child nodes if implementing the Annotation Module</title>
<listitem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<title>Value</title>
<listitem>
<para><literal>ref</literal>
<glossterm>required</glossterm></para>
<glossterm>required</glossterm>: the <code>id</code> of an <code>entry</code>, a <code>sense</code> or a <code>collocateMarker</code></para>
</listitem>
</itemizedlist>

Expand Down
10 changes: 7 additions & 3 deletions dmlex-v1.0/specification/serializations/NVH/nodes/sense.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@

<itemizedlist>
<title>Child nodes</title>
<listitem>
<para><literal>id</literal> <glossterm>optional</glossterm> (zero or one)</para>
</listitem>
<listitem>
<para><literal><olink targetptr="nvh_label">label</olink></literal> <glossterm>optional</glossterm> (zero or more)</para>
</listitem>
Expand All @@ -32,6 +29,13 @@
</listitem>
</itemizedlist>

<itemizedlist>
<title>Child nodes if implementing the Linking Module</title>
<listitem>
<para><literal>id</literal> <glossterm>optional</glossterm> (zero or one). Senses that have an ID can be members of relations.</para>
</listitem>
</itemizedlist>

<itemizedlist>
<title>Child nodes if implementing the Crosslingual Module</title>
<listitem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,18 @@

<itemizedlist>
<title>Attributes</title>
<listitem>
<para><literal>@id</literal> <glossterm>optional</glossterm></para>
</listitem>
<listitem>
<para><literal>@lemma</literal> <glossterm>optional</glossterm></para>
</listitem>
</itemizedlist>


<itemizedlist>
<title>Attributes if implementing the Linking Module</title>
<listitem>
<para><literal>@id</literal> <glossterm>optional</glossterm>. Collocate markers that have an ID can appear as members of relations.</para>
</listitem>
</itemizedlist>

<itemizedlist>
<title>Child elements</title>
<listitem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@
<itemizedlist>
<title>Attributes</title>
<listitem>
<para><literal>@id</literal> <glossterm>optional</glossterm></para>
<para><literal>@homographNumber</literal> <glossterm>optional</glossterm></para>
</listitem>
</itemizedlist>

<itemizedlist>
<title>Attributes if implementing the Linking Module</title>
<listitem>
<para><literal>@homographNumber</literal> <glossterm>optional</glossterm></para>
<para><literal>@id</literal> <glossterm>optional</glossterm>. Entries that have an ID can be members of relations.</para>
</listitem>
</itemizedlist>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<title>Attributes</title>
<listitem>
<para><literal>@ref</literal>
<glossterm>required</glossterm></para>
<glossterm>required</glossterm>: the <code>id</code> of an <code>entry</code>, a <code>sense</code> or a <code>collocateMarker</code></para>
</listitem>
<listitem>
<para><literal>@role</literal> <glossterm>optional</glossterm></para>
Expand Down
12 changes: 8 additions & 4 deletions dmlex-v1.0/specification/serializations/XML/elements/sense.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@
<title>XML element: <literal>&lt;sense&gt;</literal></title>
<para>Implements the <olink targetptr="core_sense">sense</olink> object type.</para>

<itemizedlist>
<itemizedlist>
<title>Child elements</title>
<listitem>
<para><literal>@id</literal> <glossterm>optional</glossterm></para>
</listitem>
<listitem>
<para><literal>&lt;indicator&gt;</literal> <glossterm>optional</glossterm> (zero or one)</para>
</listitem>
Expand All @@ -28,6 +25,13 @@
</listitem>
</itemizedlist>

<itemizedlist>
<title>Attributes if implementing the Linking Module</title>
<listitem>
<para><literal>@id</literal> <glossterm>optional</glossterm>. Senses that have an ID can be members of relations.</para>
</listitem>
</itemizedlist>

<itemizedlist>
<title>Child elements if implementing the Crosslingual Module</title>
<listitem>
Expand Down

0 comments on commit ef10025

Please sign in to comment.