<sch:rule context="@lsegs">
<sch:assert test="matches(../@lform, '(dashed|dotted|wavy)')">@lform attribute
matching "dashed", "dotted", or "wavy" required.</sch:assert>
</sch:rule>
<classSpec ident="att.lineRend.base" module="MEI.shared" type="atts">
<desc>Attributes that record the basic visual rendition of lines.</desc>
<attList org="group">
<attDef ident="lform" usage="opt">
<desc>Describes the line style of a line.</desc>
</attDef>
<attDef ident="lsegs" usage="opt">
<desc>Describes the number of segments into which a dashed or dotted line may be divided,
or
the number of "peaks" of a wavy line; a pair of space-separated values (minimum and
maximum, respectively) provides a range between which a rendering system-supplied
value
may fall, while a single value indicates a fixed amount of space; that is, the minimum
and
maximum values are equal.</desc>
<datatype maxOccurs="2" minOccurs="1">
<rng:data type="positiveInteger">
<rng:param name="minInclusive">2</rng:param>
</rng:data>
</datatype>
<constraintSpec ident="check_lsegs" scheme="isoschematron">
<constraint>
<sch:rule context="@lsegs">
<sch:assert test="matches(../@lform, '(dashed|dotted|wavy)')">@lform attribute
matching "dashed", "dotted", or "wavy" required.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
<attDef ident="lwidth" usage="opt">
<desc>Width of a line.</desc>
</attDef>
</attList>
</classSpec>