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

Add leafno to q element; for non-'false' leaves #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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: 13 additions & 5 deletions data/schemas/viscoll-datamodel2.rng
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
<text/>
</element>
</optional>


<element name="direction">
<documentation xmlns="http://relaxng.org/ns/compatibility/annotations/1.0">direction is required and the default value is l-r</documentation>
<attribute name="val">
Expand All @@ -83,15 +83,15 @@
</choice>
</attribute>
</element>


<documentation xmlns="http://relaxng.org/ns/compatibility/annotations/1.0">The manuscript begins with a list of quires</documentation>
<element name="quires">
<oneOrMore>
<ref name="quire"/>
</oneOrMore>
</element>

<oneOrMore>
<documentation xmlns="http://relaxng.org/ns/compatibility/annotations/1.0">One leaf element to describe each leaf in the manuscript</documentation>
<element name="leaf">
Expand Down Expand Up @@ -150,6 +150,8 @@
<optional>
<ref name="n"/>
</optional>
<!-- DE: Add @leafno to label non-"false" leaves -->
<optional><ref name="leafno"/></optional>
<!-- DE: Move conjoin element from parent leaf to q element to work with multiple quires per leaf -->
<optional>
<element name="conjoin">
Expand Down Expand Up @@ -243,6 +245,12 @@
</choice>
</attribute>
</define>
<!-- DE: Add leafno definition -->
<define name="leafno">
<attribute name="leafno">
<data type="positiveInteger"/>
</attribute>
</define>
<define name="position">
<attribute name="position">
<data type="positiveInteger"/>
Expand Down