<!-- Part 1 - Entity set --> <!-- The Preparation parameter entity shall be set to IGNORE for HTML, and to INCLUDE for a document to be submitted to the preparation process --> <!ENTITY % Preparation "IGNORE" > <!-- This definition generates the inverse entity NoPreparation which is internal to the DTD --> <![ %Preparation; [ <!ENTITY % NoPreparation "IGNORE" -- Inverse of Preparation = INCLUDE --> ]]> <!ENTITY % NoPreparation "INCLUDE" -- Inverse of Preparation = IGNORE --> <!-- End of definition --> <!-- Tokens defined by other standards --> <!ENTITY % Content-Type "CDATA" -- MIME content type, RFC1521 --> <!ENTITY % HTTP-Method "(get | post)" -- as per HTTP/1.1 RFC2068 --> <!ENTITY % URI "CDATA" -- Universal Resource Identifier, RFC1630 -->
なんか,よくわかりません。Entity set
って実体定義って訳で良い?META要素への設定とかの話しでしょうか。
HTML4.01ではインライン要素という分類があったのですが,JIS-HTMLではそういう分類がありません。ただ,テキスト要素がほぼ同じ扱いの要素グループだと思ってよいかと思います。で,#PCDATA(文字データ)以外の要素についての分類です。なお,この分類は,HTML4.01の特殊要素,フレーズ要素,フォントスタイル要素にほぼ対応します。
<!-- Element tokens -->
<!ENTITY % special "A | BDO | BR | IMG | OBJECT | MAP | Q | SPAN" >
<!-- Logical character styles --> <!ENTITY % logical.styles "ABBR | ACRONYM | CITE | CODE | DFN | EM | KBD | SAMP | STRONG | VAR" >
<!-- Physical character styles --> <!ENTITY % physical.styles "B | I | SUB | SUP | TT" >
<!-- Model groups -->
<!-- Block-like elements eg. paragraphs and lists --> <!ENTITY % block "BLOCKQUOTE | DIV | DL | FIELDSET | FORM | HR | OL | P | PRE | TABLE | UL" >
<!-- Form fields - input elements that may appear only within forms --> <!ENTITY % form.fields "BUTTON | INPUT | LABEL | SELECT | TEXTAREA" >
<!-- Character level elements and text strings --> <!ENTITY % text "#PCDATA | %physical.styles; | %logical.styles; | %special;" >
<!-- Elements that may appear in a form, section or table -->
<!ENTITY % form.content "(%block; | %text; | %form.fields; | ADDRESS)+" >
<!ENTITY % section.content "(%block; | %text; | ADDRESS)+" >
<!ENTITY % table.content "(%block; | %text;)*" >
<!-- Generic attributes --> <!ENTITY % core "CLASS CDATA #IMPLIED -- Comma separated list of class values -- --The name space of the ID attribute is shared with the name space of the NAME attributes of <A> elements. ID and NAME values shall be distinct. It is an error for an ID or NAME value to be duplicated within a document. It is recommended that authors of documents intended for further processing specify the ID attribute in preference to the NAME attribute. -- ID ID #IMPLIED -- Document-wide unique id -- TITLE CDATA #IMPLIED -- Advisory title or amplification --" >
「i18n」とは,Internationalizationの略語で,初めと最後の文字であるiとnの間に18文字あるよ,ということらしい。国際化標準という意味で良いのだろうか?
<!-- Internationalization attributes --> <!ENTITY % i18n "DIR (ltr|rtl) #IMPLIED -- Direction for weak/neutral text -- LANG NAME #IMPLIED -- RFC1766 language value --" >
<!-- Presentation styles -->
<!ENTITY % shape "(circle | default | poly | rect)" >
<!ENTITY % InputType "(checkbox | file | hidden | password | radio | reset | submit | text)" >
<!-- SHORTREF mapping for the tab character --> <!-- Use of the tab character is deprecated. However, to facilitate the preparation of conforming documents by authors who use it, the tab character is tolerated and is mapped into a single space. --> <!ENTITY nontab " " > <!SHORTREF tabmap " " nontab > <!USEMAP tabmap HTML >
何か,よくわかんないです。
<!-- Specify character entity sets defined by W3C --> <!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Full Latin 1//EN//HTML" > <!ENTITY % HTMLsymbol PUBLIC "-//W3C//ENTITIES Symbolic//EN//HTML" > <!ENTITY % HTMLspecial PUBLIC "-//W3C//ENTITIES Special//EN//HTML" > <!-- Reference character entities --> %HTMLlat1;%HTMLsymbol;%HTMLspecial;
文字実体参照の定義先のことでしょうか。