<html xmlns="http://www.w3.org/1999/xhtml" a0:Name="SuikaWiki" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:Version="0.9"><head></head><body><p><a0:anchor-end a0:anchor="1">[1]</a0:anchor-end> この制約のある<a0:anchor>区切子機能</a0:anchor>は、対応する
<code class="SGML"><a0:anchor>dso</a0:anchor></code> が存在したのと同じ<a0:anchor>実体</a0:anchor>においてのみ<a0:anchor>認知</a0:anchor>します。
(<a0:anchor>JISX4151</a0:anchor>-1992 8.6.2 参照。)</p><p><a0:anchor-end a0:anchor="2">[2]</a0:anchor-end> この制約が課されているのは <code class="SGML"><a0:anchor>dsc</a0:anchor></code>
だけです。すなわち、<a0:anchor>宣言部分集合</a0:anchor>は必ずそれが始まったのと同じ実体で終了する必要があるのです。</p><p><a0:anchor-end a0:anchor="3">[3]</a0:anchor-end> よい例:<pre>&lt;!ENTITY % n1.datatype '
  DATA n1 [
    foo=&quot;foo&quot;
    bar=&quot;bar&quot;
  ]
'&gt;

&lt;!ATTLIST el
  type %n1.datatype; #IMPLIED&gt;</pre></p><p>悪い例:<pre>&lt;!ENTITY % n1.datatype '
  DATA n1 [
    foo=&quot;foo&quot;
'&gt;

&lt;!ATTLIST el
  type %n1.datatype; bar=&quot;bar&quot; ] #IMPLIED&gt;</pre></p></body></html>