<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>Web SGML</a0:anchor> で追加された <a0:anchor>SGML宣言</a0:anchor>の引数
<dfn><code class="SGML">NETENABL</code></dfn> (<code class="SGML"><a0:anchor>SHORTTAG</a0:anchor></code> &gt; <code class="SGML"><a0:anchor>STARTTAG</a0:anchor></code> &gt; <code class="SGML">NETENABL</code>) は、 
<a0:anchor>NET可能開始タグ</a0:anchor>と<a0:anchor>NULL終了タグ</a0:anchor>の使用の可否について指定します。</p><p>仕様書: Web SGML K.3.5.1
<a0:anchor-external a0:resParameter="http://www.y12.doe.gov/sgml/sc34/document/0029.htm" a0:resScheme="URI">http://www.y12.doe.gov/sgml/sc34/document/0029.htm</a0:anchor-external></p><p><a0:anchor-end a0:anchor="2">[2]</a0:anchor-end> 引数値:<dl><dt><code class="SGML">NETENABL ALL</code></dt><dd>
<a0:anchor>終了タグ</a0:anchor>を持つことが認められるすべての要素について、
<a0:anchor>開始タグ</a0:anchor>に <abbr>NET<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">NULL 終了タグ</title></abbr> 
可能開始タグを使用して構いません。
(NET 可能開始タグに対応する終了タグは <abbr>NET<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">NULL 終了タグ</title></abbr> 
にしても構いませんし、そうしなくても構いません。)</dd><dt><code class="SGML">NETENABL IMMEDNET</code></dt><dd>
終了タグを持つことが認められる<a0:anchor>空要素</a0:anchor>について、
開始タグに <abbr>NET<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">NULL 終了タグ</title></abbr> 可能開始タグを使用して構いません。
その時、終了タグは <abbr>NET<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">NULL 終了タグ</title></abbr> でなければなりません。</dd><dt><code class="SGML">NETENABL NO</code></dt><dd>
仕様書に説明はありませんが、 <abbr>NET<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">NULL 終了タグ</title></abbr> 
可能開始タグおよび <abbr>NET<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">NULL 終了タグ</title></abbr> が使用できないと思われます。</dd></dl></p><p><q>終了タグを持つことが認められる</q>という条件から、
<a0:anchor>強制空要素</a0:anchor>で NET を使う時には、
<code class="SGML"><a0:anchor>EMPTYNRM</a0:anchor> YES</code> でなければなりません。</p><p><a0:anchor-end a0:anchor="2">[2]</a0:anchor-end> ところで、 <a0:anchor>JIS X 4151</a0:anchor>‐1992 6.4.1.3 を見ますと、</p><blockquote><p>要素の開始タグは、その要素が<a0:anchor>基本文書要素</a0:anchor>の一部である場合、
<code class="SGML">net</code> 可能開始タグとしてもよい。</p></blockquote><p>と書かれていて、他の条件は見当たりません。</p><p><code class="SGML">SHORTTAG YES</code> のときと <code class="SGML">NETENABL ALL</code>
は同じかと思っていましたが、違うのでしょうか。</p><p><a0:anchor-end a0:anchor="3">[3]</a0:anchor-end>
つまらない8文字制限のせいで <code class="SGML">NET<em>ENABL</em></code> です。 <code class="char">e</code> がありません。ご注意を。
(<a0:anchor>名無しさん</a0:anchor>)</p></body></html>