blob: c05c5830a0c77bf38bfca54d95316ed297ec96d9 [file] [log] [blame]
<?xml version="1.0" encoding="euc-jp"?>
<!DOCTYPE spec SYSTEM "spec.dtd" [
<!-- ÆüËܸìÌõ¤Î¤¿¤á¤Î²òÀÏÂоݼÂÂΡʤ³¤³¤«¤é¡Ë -->
<!ENTITY TR-or-Rec "»ÅÍͽñ">
<!-- <!ENTITY TR-or-Rec "ɸ½à¾ðÊó(TR)"> -->
<!ENTITY eTR-or-Rec "specification">
<!-- <!ENTITY eTR-or-Rec "technical report(TR)"> -->
<!ENTITY application "¥¢¥×¥ê¥±¡¼¥·¥ç¥ó">
<!ENTITY error "¥¨¥é¡¼">
<!ENTITY fatal-error "Ã×̿Ū¥¨¥é¡¼">
<!ENTITY parsed-data "²òÀϤµ¤ì¤ë¥Ç¡¼¥¿">
<!ENTITY unparsed-data "²òÀϤµ¤ì¤Ê¤¤¥Ç¡¼¥¿">
<!ENTITY parsed-entity "²òÀÏÂоݼÂÂÎ">
<!ENTITY parser "¥Ñ¡¼¥µ">
<!ENTITY unparsed-entity "²òÀÏÂоݳ°¼ÂÂÎ">
<!ENTITY well-formed "À°·Á¼°">
<!ENTITY valid "ÂÅÅö">
<!ENTITY validity "ÂÅÅöÀ­">
<!ENTITY escape "ÊÌ°·¤¤">
<!ENTITY prolog "½ñ¤­">
<!ENTITY surrogate-blocks "¥µ¥í¥²¡¼¥È¥Ö¥í¥Ã¥¯">
<!ENTITY letter "»ú">
<!ENTITY ideographic "Åý¹ç´Á»ú">
<!ENTITY markup "¥Þ¡¼¥¯ÉÕ¤±">
<!ENTITY left-angle-bracket "ÉÔÅù¹æ(¾®¤Ê¤ê)">
<!ENTITY right-angle-bracket "ÉÔÅù¹æ(Âç¤Ê¤ê)">
<!ENTITY string "ʸ»úÎó">
<!ENTITY char-string "ʸ»úÎó"><!-- string of chararacters,
character strings, strings,
characters ¤Ï¤¹¤Ù¤Æʸ»úÎó¤È¤¹¤ë -->
<!ENTITY replacement-text "ÃÖ´¹¥Æ¥­¥¹¥È">
<!ENTITY single-quote "°ì½Å°úÍÑÉä">
<!ENTITY double-quote "Æó½Å°úÍÑÉä">
<!ENTITY adaptations-annex "ŬÍÑÉí°½ñ">
<!ENTITY root "¥ë¡¼¥È">
<!ENTITY base-character "´ðÄìʸ»ú">
<!ENTITY diacritical-mark "ȯ²»Éä"><!--(¥À¥¤¥¢¥¯¥ê¥Æ¥£¥«¥ë¥Þ¡¼¥¯)¤ò½é½Ð¤Î¤È¤­Ê䤦-->
<!ENTITY composed-form "¹çÀ®·Á¼°">
<!ENTITY standalone "¥¹¥¿¥ó¥É¥¢¥í¥ó">
<!ENTITY double-hyphen "ÆóÏ¢¥Ï¥¤¥Õ¥ó">
<!--<!ENTITY case-fold "Âçʸ»ú¤«¾®Ê¸»ú¤Ø¤ÎÅý°ì">-->
<!-- <!ENTITY case-fold "Èæ³Ó¤Î¤È¤­¡¤Âçʸ»ú¤È¾®Ê¸»ú¤ÎƱ°ì»ë">-->
<!ENTITY parameter "¥Ñ¥é¥á¥¿">
<!ENTITY stream "¥¹¥È¥ê¡¼¥à">
<!ENTITY validating "ÂÅÅöÀ­¤ò¸¡¾Ú¤¹¤ë">
<!ENTITY non-validating "ÂÅÅöÀ­¤ò¸¡¾Ú¤·¤Ê¤¤">
<!ENTITY user "¥æ¡¼¥¶">
<!--<!ENTITY at-user-option "¥æ¡¼¥¶¤¬¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¤È¤­">-->
<!ENTITY at-user-option "¥æ¡¼¥¶¤Î¥ª¥×¥·¥ç¥ó»ØÄê¤Ë¤è¤Ã¤Æ¤Ï">
<!ENTITY content-particle "ÆâÍÆÁÇ»Ò">
<!ENTITY processor "¥×¥í¥»¥µ">
<!ENTITY default "¥Ç¥Õ¥©¥ë¥È">
<!ENTITY default-value "¥Ç¥Õ¥©¥ë¥ÈÃÍ">
<!ENTITY header "¥Ø¥Ã¥À">
<!ENTITY target "¥¿¡¼¥²¥Ã¥È">
<!ENTITY mixed-content "º®¹çÆâÍÆ">
<!ENTITY country-code "¹ñ¥³¡¼¥É">
<!ENTITY language-code "¸À¸ì¥³¡¼¥É">
<!ENTITY version "ÈÇ"> <!-- version 1.0¤ÏÂè1.0ÈÇ -->
<!ENTITY match "¥Þ¥Ã¥Á">
<!ENTITY character-value "ʸ»úÈÖ¹æ">
<!ENTITY byte-order-mark "¥Ð¥¤¥È½ç¥Þ¡¼¥¯">
<!ENTITY bypass "½èÍý¤·¤Ê¤¤">
<!ENTITY identifier "¼±ÊÌ»Ò">
<!-- <!ENTITY identify "¼±Ê̤¹¤ë"> -->
<!ENTITY identify "ÆÃÄꤹ¤ë">
<!-- <!ENTITY identified "¼±Ê̤µ¤ì¤ë"> -->
<!ENTITY identified "ÆÃÄꤵ¤ì¤ë">
<!ENTITY combining-character "·ë¹çʸ»ú">
<!ENTITY subset "¥µ¥Ö¥»¥Ã¥È">
<!ENTITY token "¥È¡¼¥¯¥ó">
<!ENTITY literal "¥ê¥Æ¥é¥ë">
<!ENTITY parenthesis "¤«¤Ã¤³">
<!ENTITY left-parenthesis "³«¤­¤«¤Ã¤³">
<!ENTITY right-parenthesis "ÊĤ¸¤«¤Ã¤³">
<!-- ¤¢¤È¤Çµ¤¤¬¤Ä¤¤¤¿¤â¤Î JIS X0221¤ò¸«¤ëɬÍפ¢¤ê -->
<!ENTITY extender "¥¨¥¯¥¹¥Æ¥ó¥À">
<!ENTITY property "¥×¥í¥Ñ¥Æ¥£">
<!ENTITY property-list "¥×¥í¥Ñ¥Æ¥£¥ê¥¹¥È">
<!ENTITY property-file "¥×¥í¥Ñ¥Æ¥£¥Õ¥¡¥¤¥ë">
<!ENTITY font-decomposition "¥Õ¥©¥ó¥Èʬ²ò">
<!ENTITY compatibility-decomposition "¸ß´¹À­Ê¬²ò">
<!ENTITY compatibility-area "¸ß´¹À­Îΰè">
<!ENTITY language-identification "¸À¸ì¼±ÊÌ">
<!ENTITY space-character "¥¹¥Ú¡¼¥¹Ê¸»ú">
<!ENTITY space "¥¹¥Ú¡¼¥¹">
<!ENTITY code-value "¥³¡¼¥ÉÃÍ">
<!ENTITY normative "µ¬Äê¤Î">
<!ENTITY hueristics "¥Ò¥å¡¼¥ê¥¹¥Æ¥£¥Ã¥¯">
<!ENTITY informative "">
<!ENTITY WebSGML 'ISO 8879¤Ø¤ÎWebSGML&adaptations-annex;'>
<!ENTITY XML.version "1.0">
<!ENTITY doc.date "1997ǯ12·î8Æü">
<!ENTITY iso6.doc.date "971208">
<!ENTITY w3c.doc.date "97ǯ12·î3Æü">
<!ENTITY draft.day '8Æü'>
<!ENTITY draft.month '12·î'>
<!ENTITY draft.year '1997ǯ'>
<!-- ÆüËܸìÌõ¤Î¤¿¤á¤Î²òÀÏÂоݼÂÂΡʤ³¤³¤Þ¤Ç¡Ë -->
<!-- LAST TOUCHED BY: Tim Bray, 3 Dec 1997 -->
<!-- The words 'FINAL EDIT' in comments mark places where changes
need to be made after approval of the document by the ERB, before
publication. -->
<!ENTITY XML.version "1.0">
<!ENTITY doc.date "8 December 1997">
<!ENTITY iso6.doc.date "971208">
<!ENTITY w3c.doc.date "03-Dec-97">
<!ENTITY draft.day '8'>
<!ENTITY draft.month 'December'>
<!ENTITY draft.year '1997'>
<!ENTITY WebSGML
'WebSGML Adaptations Annex to ISO 8879'>
<!ENTITY newline " ">
<!-- old: <!ENTITY newline "&#8232;"> -->
<!ENTITY lt "<">
<!ENTITY gt ">">
<!--<!ENTITY amp "&"> -->
<!ENTITY xmlpio "'&lt;?xml'">
<!ENTITY pic "'?>'">
<!ENTITY br "\n">
<!ENTITY cellback '#c0d9c0'>
<!ENTITY mdash "--"> <!-- was: <!ENTITY mdash "&#38;#151;"> -->
<!ENTITY com "--">
<!ENTITY como "--">
<!ENTITY comc "--">
<!ENTITY hcro "&amp;#x">
<!-- <!ENTITY nbsp ""> -->
<!ENTITY nbsp "&#160;">
<!ENTITY magicents "<code>amp</code>,
<code>lt</code>,
<code>gt</code>,
<code>apos</code>,
<code>quot</code>">
<!--ÆüËܸìÌõ¤Ë¤Ä¤¤¤Æ: ¥³¥á¥ó¥È¤ÏËÝÌõÂоݤ«¤é³°¤·¤Þ¤·¤¿¡£ÎëÌÚÏÂÉ× -->
<!-- audience and distribution status: for use at publication time -->
<!-- -->
<!ENTITY doc.audience "¸ø³«¥ì¥Ó¥å¡¼µÚ¤ÓµÄÏÀ">
<!ENTITY doc.distribution "¥Æ¥­¥¹¥ÈµÚ¤ÓˡΧ¾å¤ÎÃí°Õ¤ò²þÊѤ·¤Ê¤¤¸Â¤ê¡¤
¼«Í³¤ËÇÛÉÛ¤·¤Æ¤â¤è¤¤">
]>
<!-- for Panorama *-->
<?VERBATIM "eg" ?>
<spec>
<header>
<title>³ÈÄ¥²Äǽ¤Ê&markup;¸À¸ì (XML)</title>
<version>Âè1.0&version;</version>
<w3c-designation>PR-xml-&iso6.doc.date;</w3c-designation>
<w3c-doctype>World Wide Web Consortium</w3c-doctype>
<pubdate><day>&draft.day;</day><month>&draft.month;</month><year>&draft.year;</year></pubdate>
<notice><p>¤³¤ÎÁð°Æ¤Ï¡¤XML WGµÚ¤Ó¾¤Î´Ø·¸¼Ô¤Ë¤è¤ë¥ì¥Ó¥å¡¼¤Î¤¿¤á¤Î¤â¤Î¤Ç¤¢¤Ã¤Æ¡¤¸ø³«¤ÎµÄÏÀ¤Î¤¿¤á¤Î¤â¤Î¤Ç¤Ï¤Ê¤¤¡£
<!-- FINAL EDIT: FIX --></p></notice>
<publoc>
<loc href="http://www.w3.org/TR/PR-xml-&iso6.doc.date;">
http://www.w3.org/TR/PR-xml-&iso6.doc.date;</loc></publoc>
<prevlocs>
<loc href='http://www.w3.org/TR/WD-xml-961114'>
http://www.w3.org/TR/WD-xml-961114</loc>
<loc href='http://www.w3.org/TR/WD-xml-lang-970331'>
http://www.w3.org/TR/WD-xml-lang-970331</loc>
<loc href='http://www.w3.org/TR/WD-xml-lang-970630'>
http://www.w3.org/TR/WD-xml-lang-970630</loc>
<loc href='http://www.w3.org/TR/WD-xml-970807'>
http://www.w3.org/TR/WD-xml-970807</loc>
<loc href='http://www.w3.org/TR/WD-xml-971117'>
http://www.w3.org/TR/WD-xml-971117</loc>
</prevlocs>
<authlist>
<author><name>Tim Bray</name>
<affiliation>Textuality and Netscape</affiliation>
<email
href="mailto:tbray@textuality.com">tbray@textuality.com</email></author>
<author><name>Jean Paoli</name>
<affiliation>Microsoft</affiliation>
<email href="mailto:jeanpa@microsoft.com">jeanpa@microsoft.com</email></author>
<author><name>C. M. Sperberg-McQueen</name>
<affiliation>University of Illinois at Chicago</affiliation>
<email href="mailto:cmsmcq@uic.edu">cmsmcq@uic.edu</email></author>
</authlist>
<status>
<p>¤³¤Î&TR-or-Rec;¤Ï, 1997ǯ12·î¤ËWorld Wide Web Consortium¤«¤é
¸øɽ¤µ¤ì¤¿´«¹ð°ÆExtensible Markup Language versionÂè1.0ÈǤòËÝÌõ¤·, µ»
½ÑŪÆâÍƤòÊѹ¹¤¹¤ë¤³¤È¤Ê¤¯ºîÀ®¤·¤¿&TR-or-Rec;¤Ç¤¢¤ë¡£This &eTR-or-Rec;
is a translation of the XML proposed recommendation 1.0
published by the World Wide Web Consortium in December 1997. It is
intended that &eTR-or-Rec; is technically identical to the original.</p>
<p>¸¶Ê¸¤Ë¤¢¤ë¡¢Ãøºî¸¢¤Ë´Ø¤·¤Æ¤Îµ­½Ò¤ò¼¡¤Ë¼¨¤¹¡£The
original copyright notice is shown below:</p>
<p>¤³¤ÎÈǤÎXML¤Îµ¬Äê¤Ï¡¤¸ø³«¥ì¥Ó¥å¡¼µÚ¤ÓµÄÏÀ¤ò
ÌÜŪ¤È¤¹¤ë¡£¥Æ¥­¥¹¥ÈµÚ¤ÓˡΧ¾å¤ÎÃí°Õ¤ò²þÊѤ·¤Ê¤¤¸Â¤ê¡¤¼«Í³¤Ë
ÇÛÉÛ¤·¤Æ¤â¤è¤¤¡£This version of the XML specification is for
public review and discussion. It may be distributed freely,
as long as all text and legal notices remain intact.</p>
<p>¤³¤Î&TR-or-Rec;¤Î¸µ¤È¤Ê¤Ã¤¿XML´«¹ð°Æ¤Ï¡¤1998ǯ2·î¤ËWorld
Wide Web Consortium¤«¤é¸øɽ¤µ¤ì¤¿XML´«¹ð¤Ë¤è¤Ã¤Æ¤¹¤Ç¤ËÃÖ¤­´¹
¤¨¤é¤ì¤Æ¤¤¤ë¡£¤³¤Îɸ½à¾ðÊó¤Ï¡¤XML´«¹ð¤Ë½¾¤Ã¤ÆÄûÀµ¤¹¤ë¤³¤È¤ò
ͽÄꤷ¤Æ¤¤¤ë¡£The XML Proposed Recommendation is superseded
by the XML Recommendation which was published by the World
Wide Web Consortium in February 1998. It is intended that
this &eTR-or-Rec; be revised accordingly in the near future.</p>
<p>¤³¤Î&TR-or-Rec;¤Ï¡¤°ÂÄꤷ¤¿¤â¤Î¤Ç¤¢¤Ã¤Æ¡¤ºòǯÍè¤Î<loc
href='http://www.w3.org/XML'>XML³èÆ°</loc>¤òÄ̤¸¤ÆºîÀ®¤µ¤ì¤¿¡¤°ìÏ¢¤Îºî
¶ÈÁð°Æ¤ò¸µ¤È¤¹¤ë¡£¸½ºß¡¤¹­ÈϰϤ˻ÈÍѤµ¤ì¤Æ¤¤¤ë¹ñºÝŪ¤Ê¥Æ¥­¥¹¥È½èÍý¤Îɸ
½à(ɸ½à°ìÈ̲½&markup;¸À¸ì¡¤Standard Generalized Markup Language, ISO
8879:1986¤ËÄɲõڤÓÄûÀµ¤ò²Ã¤¨¤¿¤â¤Î)¤Î¡¤WWW¾å¤Ç¤Î»ÈÍѤΤ¿¤á¤Ë&subset;
²½¤·¤¿¸À¸ì¤ò¡¤¤³¤Î&TR-or-Rec;¤Ï¡¤µ¬Äꤹ¤ë¡£ISO 8879¤Î¤É¤Îµ¡Ç½¤ò¤³¤Î
&subset;¤Ë»Ä¤¹¤«¡¤¤È¤¤¤¦·èÄê¤Ë¤Ä¤¤¤Æ¤Î¾ÜºÙ¤Ï¡¤<loc
href='http://www.w3.org/XML/#WG-decisions'>ÊÌÅÓÍÑ°Õ¤¹¤ë</loc>¡£XML¤Ï¡¤
´û¤Ë¤¤¤¯¤Ä¤«¤Î¾¦Éʤǥµ¥Ý¡¼¥È¤µ¤ì¡¤XML¤ò¥µ¥Ý¡¼¥È¤¹¤ë<loc
href='http://www.w3.org/XML/#software'>¥Õ¥ê¡¼¥¦¥§¥¢</loc>¤Î¿ô¤âÁý¤¨¤Æ
¤¤¤ë¡£XML¤Ë´Ø¤¹¤ë¸ø³«¤ÎÏÀµÄ¤â¡¤¥ª¥ó¥é¥¤¥ó¤Ç<loc
href='http://www.w3.org/XML/#discussion'>Æþ¼ê¤Ç¤­¤ë</loc>¡£It is a
stable document derived from a series of working drafts produced over
the last year as deliverables of the <loc
href='http://www.w3.org/XML'>XML activity</loc>. It specifies a
language created by subsetting an existing, widely used international
text processing standard (Standard Generalized Markup Language, ISO
8879:1986 as amended and corrected) for use on the World Wide Web.
Details of the decisions regarding which features of ISO 8879 to
retain in the subset <loc
href='http://www.w3.org/XML/#WG-decisions'>are available
separately</loc>. XML is already supported by some commercial
products, and there are a growing number of <loc
href='http://www.w3.org/XML/#software'>free implementations</loc>.
Public discussions of XML <loc
href='http://www.w3.org/XML/#discussion'>are accessible
online</loc>.</p>
<p>¤³¤Î&TR-or-Rec;¤Ç¤Ï¡¤<bibref ref="Berners-Lee"/>¤ËÄêµÁ¤¹¤ë
URI(Uniform Resource Identifier)¤ò»ÈÍѤ¹¤ë¡£URI¤ÎÀ©Äêºî¶È¤Ï¿Ê¹ÔÃæ¤Ç¤¢¤Ã
¤Æ¡¤<bibref ref="RFC1738"/>µÚ¤Ó<bibref ref="RFC1808"/>¤ò¹¹¿·¤¹¤ëͽÄê¤È
¤Ê¤Ã¤Æ¤¤¤ë¡£¤³¤Îºî¶È¤¬RFC¤È¤·¤Æ¼õ¤±Æþ¤ì¤é¤ì¤Ê¤¤¾ì¹ç¤Ï¡¤¤³¤Îµ¬ÄøÆâ¤ÎURI
¤Ø¤Î»²¾È¤Ï¡¤URL(Uniform Resource Locator)¤Ø¤Î»²¾È¤ËÂå¤ï¤ë¡£This
specification uses the term URI, which is defined by <bibref
ref="Berners-Lee"/>, a work in progress expected to update <bibref
ref="RFC1738"/> and <bibref ref="RFC1808"/>. Should the work not be
accepted as an RFC, the references to uniform resource identifiers
(URIs) in this specification will become references to uniform
resource locators (URLs).</p>
<p>XML¤Î»ÅÍͤ˽àµò¤·¤Æ¤¤¤ë¤«¤É¤¦¤«¤Î´ð½à¤È¤Ê¤ë¤ÏW3C¤Î¥µ¥¤¥È¤Ë¤¢
¤ë¸¶Ê¸¤Ç¤¢¤ë¡£The normative version of the specification is
the English version found at the W3C site.</p>
<p>¤³¤Îɸ½à¾ðÊó¤Ï¸¶»ÅÍͤȵ»½ÑŪ¤ËƱ°ì¤Ç¤¢¤ë¤³¤È¤ò°Õ¿Þ¤·¤Æ¤¤¤ë¤¬¡¢
ËÝÌõ¾å¤Î¸í¤ê¤Ï¤¢¤êÆÀ¤ë¡£Although this technical report is
intended to be technically identical to the original, it may
contain errors from the translation.</p>
<p>È÷¹Í: ¸¶µ¬Äê¤È¤Îµ¬Äê²Õ½ê¤ÎÂбþ´Ø·¸¤òÌÀ¤é¤«¤Ë¤¹¤ë¤¿¤á¡¢¤³¤Î
&TR-or-Rec;¤ÎÀá¹½À®µÚ¤ÓÀáÈÖ¹æ¤Ï¡¢¸¶µ¬Äê¤Î¤½¤ì¤é¤ò¤Ç¤­¤ë¤À¤±Êݸ¤·¤Æ¤¤
¤ë¡£¤³¤Î&TR-or-Rec;¤ÎWebÈǤϡ¢¸¶µ¬Äê¤ÎHTML¥¿¥°¤ò¤½¤Î¤Þ¤ÞÊݸ¤·¤Æ¤¤¤ë¡£
</p>
</status>
<!-- out of date
<statusp>This is a W3C Working Draft for review by W3C members and other
interested parties. It is a draft document and may be updated,
replaced, or obsoleted by other documents at any time. It is
inappropriate to use W3C Working Drafts as reference material or to
cite them as other than "work in progress". A list of current W3C
working drafts can be found at
<loc href="http://www.w3.org/TR">http://www.w3.org/TR</loc>.</statusp>
<statusp><emph>Note:</emph> Since working drafts are subject to frequent
change, you are advised to reference the above URL, rather than the
URLs for working drafts themselves.</statusp>
<statusp>This work is part of the W3C SGML Activity (for current
status, see <loc href="http://www.w3.org/MarkUp/SGML/Activity"
>http://www.w3.org/MarkUp/SGML/Activity</loc>).</statusp>
<p>The current
draft of this specification
presupposes the successful completion of the current
work on the &WebSGML;, being prepared by ISO/IEC JTC1
at the time this draft specification was drafted.
If it is not
adopted in the expected form, some clauses of this specification
may change, and some
recommendations now labeled "<termref def="dt-interop">for
interoperability</termref>" will become requirements labeled
"<termref def="dt-compat">for compatibility</termref>".
</p>
<p>The current draft of this specification uses the term
URI, which is defined by
<bibref ref="Berners-Lee"/>,
which is work in progress expected to update
<bibref ref="RFC1738"/> and <bibref ref="RFC1808"/>.
Should the work in this draft not be accepted as an RFC, the
references to uniform resource identifiers (URIs) in this
specification will become references to uniform resource
locators (URLs).</p>
</status> -->
<abstract>
<p>³ÈÄ¥²Äǽ¤Ê&markup;¸À¸ì(XML)¤ÏSGML¤Î´Êñ¤ÊÊý¸À¤Ç¤¢¤Ã¤Æ¡¤¤³¤Î&TR-or-Rec;¤Ç¡¤¤½¤Î¤¹¤Ù¤Æ¤òµ¬Äꤹ¤ë¡£XML¤ÎÌÜɸ¤Ï¡¤¸½ºß¤ÎHTML¤ÈƱÍͤˡ¤°ìÈÌÀ­¤Î¤¢¤ëSGML¤ò¥¦¥§¥Ö¾å¤ÇÇÛÉÛ¡¤¼õ¿®µÚ¤Ó½èÍý¤Ç¤­¤ë¤³¤È¤È¤¹¤ë¡£XML¤Ï¼ÂÁõ¤¬ÍưפǤ¢¤Ã¤Æ¡¤SGMLµÚ¤ÓHTML¤Î¤É¤Á¤é¤ËÂФ·¤Æ¤âÁê¸ß±¿ÍÑÀ­¤òÊݤÄÀ߷פ¬¤Ê¤µ¤ì¤Æ¤¤¤ë¡£</p>
</abstract>
<pubstmt>
<p>Chicago, Vancouver, Mountain View, et al.:
World-Wide Web Consortium, XMLºî¶È¥°¥ë¡¼¥×, 1996, 1997.</p>
</pubstmt>
<sourcedesc>
<p>Created in electronic form.</p>
</sourcedesc>
<langusage>
<language id='EN'>English</language>
<language id='ebnf'>Extended Backus-Naur Form (formal grammar)</language>
</langusage>
<revisiondesc>
<slist>
<sitem>1997-12-03 : CMSMcQ : yet further changes</sitem>
<sitem>1997-12-02 : TB : further changes (see TB to XML WG,
2 December 1997)</sitem>
<sitem>1997-12-02 : CMSMcQ : deal with as many corrections and
comments from the proofreaders as possible:
entify hard-coded document date in pubdate element,
change expansion of entity WebSGML,
update status description as per Dan Connolly (am not sure
about refernece to Berners-Lee et al.),
add 'The' to abstract as per WG decision,
move Relationship to Existing Standards to back matter and
combine with References,
re-order back matter so normative appendices come first,
re-tag back matter so informative appendices are tagged informdiv1,
remove XXX XXX from list of 'normative' specs in prose,
move some references from Other References to Normative References,
add RFC 1738, 1808, and 2141 to Other References (they are not
normative since we do not require the processor to enforce any
rules based on them),
add reference to 'Fielding draft' (Berners-Lee et al.),
move notation section to end of body,
drop URIchar non-terminal and use SkipLit instead,
lose stray reference to defunct nonterminal 'markupdecls',
move reference to Aho et al. into appendix (Tim's right),
add prose note saying that hash marks and fragment identifiers are
NOT part of the URI formally speaking, and are NOT legal in
system identifiers (processor 'may' signal an error).
Work through:
Tim Bray reacting to James Clark,
Tim Bray on his own,
Eve Maler,
NOT DONE YET:
change binary / text to unparsed / parsed.
handle James's suggestion about &lt; in attriubte values
uppercase hex characters,
namechar list,
</sitem>
<sitem>1997-12-01 : JB : add some column-width parameters</sitem>
<sitem>1997-12-01 : CMSMcQ : begin round of changes to incorporate
recent WG decisions and other corrections:
binding sources of character encoding info (27 Aug / 3 Sept),
correct wording of Faust quotation (restore dropped line),
drop SDD from EncodingDecl,
change text at version number 1.0,
drop misleading (wrong!) sentence about ignorables and extenders,
modify definition of PCData to make bar on msc grammatical,
change grammar's handling of internal subset (drop non-terminal markupdecls),
change definition of includeSect to allow conditional sections,
add integral-declaration constraint on internal subset,
drop misleading / dangerous sentence about relationship of
entities with system storage objects,
change table body tag to htbody as per EM change to DTD,
add rule about space normalization in public identifiers,
add description of how to generate our name-space rules from
Unicode character database (needs further work!).
</sitem>
<sitem>1997-10-08 : TB : Removed %-constructs again, new rules
for PE appearance.</sitem>
<sitem>1997-10-01 : TB : Case-sensitive markup; cleaned up
element-type defs, lotsa little edits for style</sitem>
<sitem>1997-09-25 : TB : Change to elm's new DTD, with
substantial detail cleanup as a side-effect</sitem>
<sitem>1997-07-24 : CMSMcQ : correct error (lost *) in definition
of ignoreSectContents (thanks to Makoto Murata)</sitem>
<sitem>Allow all empty elements to have end-tags, consistent with
SGML TC (as per JJC).</sitem>
<sitem>1997-07-23 : CMSMcQ : pre-emptive strike on pending corrections:
introduce the term 'empty-element tag', note that all empty elements
may use it, and elements declared EMPTY must use it.
Add WFC requiring encoding decl to come first in an entity.
Redefine notations to point to PIs as well as binary entities.
Change autodetection table by removing bytes 3 and 4 from
examples with Byte Order Mark.
Add content model as a term and clarify that it applies to both
mixed and element content.
</sitem>
<sitem>1997-06-30 : CMSMcQ : change date, some cosmetic changes,
changes to productions for choice, seq, Mixed, NotationType,
Enumeration. Follow James Clark's suggestion and prohibit
conditional sections in internal subset. TO DO: simplify
production for ignored sections as a result, since we don't
need to worry about parsers which don't expand PErefs finding
a conditional section.</sitem>
<sitem>1997-06-29 : TB : various edits</sitem>
<sitem>1997-06-29 : CMSMcQ : further changes:
Suppress old FINAL EDIT comments and some dead material.
Revise occurrences of % in grammar to exploit Henry Thompson's pun,
especially markupdecl and attdef.
Remove RMD requirement relating to element content (?).
</sitem>
<sitem>1997-06-28 : CMSMcQ : Various changes for 1 July draft:
Add text for draconian error handling (introduce
the term Fatal Error).
RE deleta est (changing wording from
original announcement to restrict the requirement to validating
parsers).
Tag definition of validating processor and link to it.
Add colon as name character.
Change def of %operator.
Change standard definitions of lt, gt, amp.
Strip leading zeros from #x00nn forms.</sitem>
<sitem>1997-04-02 : CMSMcQ : final corrections of editorial errors
found in last night's proofreading. Reverse course once more on
well-formed: Webster's Second hyphenates it, and that's enough
for me.</sitem>
<sitem>1997-04-01 : CMSMcQ : corrections from JJC, EM, HT, and self</sitem>
<sitem>1997-03-31 : Tim Bray : many changes</sitem>
<sitem>1997-03-29 : CMSMcQ : some Henry Thompson (on entity handling),
some Charles Goldfarb, some ERB decisions (PE handling in miscellaneous
declarations. Changed Ident element to accept def attribute.
Allow normalization of Unicode characters. move def of systemliteral
into section on literals.</sitem>
<sitem>1997-03-28 : CMSMcQ : make as many corrections as possible, from
Terry Allen, Norbert Mikula, James Clark, Jon Bosak, Henry Thompson,
Paul Grosso, and self. Among other things: give in on "well formed"
(Terry is right), tentatively rename QuotedCData as AttValue
and Literal as EntityValue to be more informative, since attribute
values are the <emph>only</emph> place QuotedCData was used, and
vice versa for entity text and Literal. (I'd call it Entity Text,
but 8879 uses that name for both internal and external entities.)</sitem>
<sitem>1997-03-26 : CMSMcQ : resynch the two forks of this draft, reapply
my changes dated 03-20 and 03-21. Normalize old 'may not' to 'must not'
except in the one case where it meant 'may or may not'.</sitem>
<sitem>1997-03-21 : TB : massive changes on plane flight from Chicago
to Vancouver</sitem>
<sitem>1997-03-21 : CMSMcQ : correct as many reported errors as possible.
</sitem>
<sitem>1997-03-20 : CMSMcQ : correct typos listed in CMSMcQ hand copy of spec.</sitem>
<sitem>1997-03-20 : CMSMcQ : cosmetic changes preparatory to revision for
WWW conference April 1997: restore some of the internal entity
references (e.g. to docdate, etc.), change character xA0 to &amp;nbsp;
and define nbsp as &amp;#160;, and refill a lot of paragraphs for
legibility.</sitem>
<sitem>1996-11-12 : CMSMcQ : revise using Tim's edits:
Add list type of NUMBERED and change most lists either to
BULLETS or to NUMBERED.
Suppress QuotedNames, Names (not used).
Correct trivial-grammar doc type decl.
Rename 'marked section' as 'CDATA section' passim.
Also edits from James Clark:
Define the set of characters from which [^abc] subtracts.
Charref should use just [0-9] not Digit.
Location info needs cleaner treatment: remove? (ERB
question).
One example of a PI has wrong pic.
Clarify discussion of encoding names.
Encoding failure should lead to unspecified results; don't
prescribe error recovery.
Don't require exposure of entity boundaries.
Ignore white space in element content.
Reserve entity names of the form u-NNNN.
Clarify relative URLs.
And some of my own:
Correct productions for content model: model cannot
consist of a name, so "elements ::= cp" is no good.
</sitem>
<sitem>1996-11-11 : CMSMcQ : revise for style.
Add new rhs to entity declaration, for parameter entities.</sitem>
<sitem>1996-11-10 : CMSMcQ : revise for style.
Fix / complete section on names, characters.
Add sections on parameter entities, conditional sections.
Still to do: Add compatibility note on deterministic content models.
Finish stylistic revision.</sitem>
<sitem>1996-10-31 : TB : Add Entity Handling section</sitem>
<sitem>1996-10-30 : TB : Clean up term &amp; termdef. Slip in
ERB decision re EMPTY.</sitem>
<sitem>1996-10-28 : TB : Change DTD. Implement some of Michael's
suggestions. Change comments back to //. Introduce language for
XML namespace reservation. Add section on white-space handling.
Lots more cleanup.</sitem>
<sitem>1996-10-24 : CMSMcQ : quick tweaks, implement some ERB
decisions. Characters are not integers. Comments are /* */ not //.
Add bibliographic refs to 10646, HyTime, Unicode.
Rename old Cdata as MsData since it's <emph>only</emph> seen
in marked sections. Call them attribute-value pairs not
name-value pairs, except once. Internal subset is optional, needs
'?'. Implied attributes should be signaled to the app, not
have values supplied by processor.</sitem>
<sitem>1996-10-16 : TB : track down &amp; excise all DSD references;
introduce some EBNF for entity declarations.</sitem>
<sitem>1996-10-?? : TB : consistency check, fix up scraps so
they all parse, get formatter working, correct a few productions.</sitem>
<sitem>1996-10-10/11 : CMSMcQ : various maintenance, stylistic, and
organizational changes:
Replace a few literals with xmlpio and
pic entities, to make them consistent and ensure we can change pic
reliably when the ERB votes.
Drop paragraph on recognizers from notation section.
Add match, exact match to terminology.
Move old 2.2 XML Processors and Apps into intro.
Mention comments, PIs, and marked sections in discussion of
delimiter escaping.
Streamline discussion of doctype decl syntax.
Drop old section of 'PI syntax' for doctype decl, and add
section on partial-DTD summary PIs to end of Logical Structures
section.
Revise DSD syntax section to use Tim's subset-in-a-PI
mechanism.</sitem>
<sitem>1996-10-10 : TB : eliminate name recognizers (and more?)</sitem>
<sitem>1996-10-09 : CMSMcQ : revise for style, consistency through 2.3
(Characters)</sitem>
<sitem>1996-10-09 : CMSMcQ : re-unite everything for convenience,
at least temporarily, and revise quickly</sitem>
<sitem>1996-10-08 : TB : first major homogenization pass</sitem>
<sitem>1996-10-08 : TB : turn "current" attribute on div type into
CDATA</sitem>
<sitem>1996-10-02 : TB : remould into skeleton + entities</sitem>
<sitem>1996-09-30 : CMSMcQ : add a few more sections prior to exchange
with Tim.</sitem>
<sitem>1996-09-20 : CMSMcQ : finish transcribing notes.</sitem>
<sitem>1996-09-19 : CMSMcQ : begin transcribing notes for draft.</sitem>
<sitem>1996-09-13 : CMSMcQ : made outline from notes of 09-06,
do some housekeeping</sitem>
</slist>
</revisiondesc>
</header>
<body>
<div1 id='sec-intro'>
<head>°ìÈÌ»ö¹à</head>
<!-- <div2 id='sec-scope'>
<head>ŬÍÑÈÏ°Ï</head> -->
<p>³ÈÄ¥²Äǽ¤Ê&markup;¸À¸ìXML(eXtensible Markup Language)¤Ï¡¤<termref def="dt-xml-doc">XMLʸ½ñ</termref>¤È¤¤¤¦¥Ç¡¼¥¿¥ª¥Ö¥¸¥§¥¯¥È¤Î¥¯¥é¥¹¤òµ¬Äꤷ¡¤XMLʸ½ñ¤ò½èÍý¤¹¤ë¥×¥í¥°¥é¥à¤ÎÆ°ºî¤Î°ìÉô¤òµ¬Äꤹ¤ë¡£XML¤Ï¡¤SGML(ɸ½à°ìÈ̲½&markup;¸À¸ì¡¤Standard Generalized Markup Language)<bibref ref='ISO8879'/>¤ÎÀ©¸Â¤·¤¿&subset;¤È¤¹¤ë¡£¹½Â¤¾å¡¤XMLʸ½ñ¤Ï¡¤¤«¤Ê¤é¤ºSGMLµ¬³Ê¤ËŬ¹ç¤¹¤ë¡£</p>
<p>XMLʸ½ñ¤Ï¡¤<termref def="dt-entity">¼ÂÂÎ</termref>¤È¤¤¤¦µ­²±Ã±°Ì¤«¤é¤Ê¤ê¡¤¼ÂÂΤϡ¤&parsed-data;Ëô¤Ï&unparsed-data;¤«¤é¤Ê¤ë¡£&parsed-data;¤Ï¡¤<termref def="dt-character">ʸ»ú</termref>¤«¤é¤Ê¤ê¡¤¤½¤Î°ìÉô¤Ï¡¤Ê¸½ñ¤Î<termref def="dt-chardata">ʸ»ú¥Ç¡¼¥¿</termref>¤ò¹½À®¤·¡¤°ìÉô¤Ï¡¤<termref def="dt-markup">&markup;</termref>¤ò¹½À®¤¹¤ë¡£&markup;¤Ï¡¤Ê¸½ñ¤Îµ­²±¥ì¥¤¥¢¥¦¥ÈµÚ¤ÓÏÀÍý¹½Â¤¤Ë¤Ä¤¤¤Æ¤Îµ­½Ò¤òɽ¤¹Éä¹æ¤È¤¹¤ë¡£XML¤Ï¡¤µ­²±¥ì¥¤¥¢¥¦¥ÈµÚ¤ÓÏÀÍý¹½Â¤¤Ë¤Ä¤¤¤Æ¤ÎÀ©Ìó¾ò·ï¤òµ­½Ò¤¹¤ëµ¡¹½¤òÄ󶡤¹¤ë¡£</p>
<p><termdef id="dt-xml-proc" term="XML&processor;"><term>XML&processor;</term>¤È¤¤¤¦¥½¥Õ¥È¥¦¥§¥¢¥â¥¸¥å¡¼¥ë¤Ï¡¤XMLʸ½ñ¤òÆɤ߹þ¤ß¡¤¤½¤ÎÆâÍƵڤӹ½Â¤¤Ø¤Î¥¢¥¯¥»¥¹¤òÄ󶡤¹¤ë¤¿¤á¤ËÍѤ¤¤ë¡£ </termdef> <termdef id="dt-app" term="&application;">XML&processor;¤Ï¡¤Â¾¤Î¥â¥¸¥å¡¼¥ë¤Î¤¿¤á¤ËÆ°ºî¤¹¤ë¤³¤È¤òÁ°Äó¤È¤·¡¤¤½¤Î¥â¥¸¥å¡¼¥ë¤ò<term>&application;</term>¤È¤¤¤¦¡£</termdef>¤³¤Î&TR-or-Rec;¤Ï¡¤XML&processor;¤¬¹Ô¤ï¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¿¶Éñ¤¤¤òµ¬Äꤹ¤ë¡£¤Ä¤Þ¤ê¡¤XML¥Ç¡¼¥¿¤ÎÆɹþ¤ßÊýË¡¤òµ¬Äꤷ¡¤&application;¤ËÄ󶡤¹¤ë¾ðÊó¤òµ¬Äꤹ¤ë¡£</p>
<!-- </div2> -->
<div2 id='sec-origin-goals'>
<head>·Ð°ÞµÚ¤ÓÌÜɸ</head>
<p>1996ǯ¤ËWorld Wide Web Consortium(W3C)¤ÎÃæ¤ËÀßΩ¤·¤¿XMLºî¶È¥°¥ë¡¼¥×(°ÊÁ°¤Ï¡¤ SGMLÊÔ½¸¥ì¥Ó¥å¡¼°Ñ°÷²ñ¤È¸Æ¤Ð¤ì¤¿)¤¬¡¤XML¤ò³«È¯¤·¤¿¡£¤³¤Îºî¶È¥°¥ë¡¼¥×¤ÎµÄŤò¡¤Sun Microsystems¤ÎJon Bosak¤¬¶Ð¤á¤ë¡£W3C¤¬ÁÈ¿¥¤·¡¤°ÊÁ°¤ÏSGMLºî¶È¥°¥ë¡¼¥×¤È¸Æ¤Ð¤ì¤¿XML SIG(Special Interest Group)¤â¡¤XML¤ÎÀ©Äê¤ËÈó¾ï¤Ë³èȯ¤Ë»²²è¤·¤¿¡£
<!--JIS¤Ç¤Ï? XMLºî¶È¥°¥ë¡¼¥×¤Î¥á¥ó¥Ð¤òÉÕÏ¿¤Ë¼¨¤¹¡£-->Dan Connolly¤Ï¡¤ºî¶È¥°¥ë¡¼¥×¤ÎW3C¤Ë¤ª¤±¤ëÏ¢Íí·¸¤ò̳¤á¤¿¡£</p>
<p>XML¤ÎÀß·×ÌÜɸ¤ò¡¤¼¡¤Ë¼¨¤¹¡£<ulist>
<item><p>a) XML¤Ï¡¤Internet¾å¤Ç¤½¤Î¤Þ¤Þ»ÈÍѤǤ­¤ë¡£</p></item>
<item><p>b) XML¤Ï¡¤¹­ÈϰϤÎ&application;¤ò»Ù±ç¤¹¤ë¡£</p></item>
<item><p>c) XML¤Ï¡¤SGML¤È¸ß´¹À­¤ò¤â¤Ä¡£</p></item>
<item><p>d) XMLʸ½ñ¤ò½èÍý¤¹¤ë¥×¥í¥°¥é¥à¤ò½ñ¤¯¤³¤È¤Ï¡¤ÍưפǤʤ±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p></item>
<item><p>e) XML¤Ç¤Ï¡¤¥ª¥×¥·¥ç¥ó¤Îµ¡Ç½¤Ï¤Ç¤­¤ë¤À¤±¾¯¤Ê¤¯¤·¡¤°ì¤Ä¤â¸ºß¤·¤Ê¤¤¤³¤È¤òÌܻؤ¹¡£</p></item>
<item><p>f) XMLʸ½ñ¤Ï¡¤¿Í´Ö¤Ë¤È¤Ã¤ÆÆɤߤ䤹¤¯¡¤½½Ê¬¤ËÍý²ò¤·¤ä¤¹¤¤¡£</p></item>
<item><p>g) XML¤ÎÀ߷פϡ¤¤¹¤ß¤ä¤«¤Ë¹Ô¤¨¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p></item>
<item><p>h) XML¤ÎÀ߷פϡ¤¸·Ì©µÚ¤Ó´Ê·é¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p></item>
<item><p>i) XMLʸ½ñ¤Ï¡¤Íưפ˺îÀ®¤Ç¤­¤ë¡£</p></item>
<item><p>j) XML¤Ç¤Ï¡¤&markup;¤Î¿ô¤ò¸º¤é¤¹¤³¤È¤Ï¡¤½ÅÍפǤϤʤ¤¡£</p></item></ulist>
</p>
<p>XMLÂè&XML.version;&version;¤òÍý²ò¤·¡¤¤½¤ì¤ò½èÍý¤¹¤ë·×»»µ¡¥×¥í¥°¥é¥à¤ò½ñ¤¯¤¿¤á¤Ë½½Ê¬¤Ê¾ðÊó¤Ï¡¤¤³¤Î&TR-or-Rec;µÚ¤Ó´ØÏ¢¤¹¤ëµ¬³Ê(ʸ»úÍѤȤ·¤Æ¡¤UnicodeµÚ¤ÓISO/IEC 10646¡¤<!--* XXX for Uniform Resource Identifiers, *-->&language-identification;¥¿¥°ÍѤȤ·¤Æ¡¤¥¤¥ó¥¿¥Í¥Ã¥È RFC 1766¡¤&language-code;ÍѤȤ·¤Æ¡¤ISO 639¡¤Ê¤ӤË&country-code;ÍѤȤ·¤Æ¡¤ISO 3166)¤Ç¡¤¤¹¤Ù¤Æ¼¨¤¹¡£</p>
<p>¤³¤Î&version;¤ÎXML¤Îµ¬Äê<!-- (&doc.date;) -->¤Ï¡¤¸ø³«¥ì¥Ó¥å¡¼µÚ¤ÓµÄÏÀ¤òÌÜŪ¤È¤¹¤ë¡£¥Æ¥­¥¹¥ÈµÚ¤ÓˡΧ¾å¤ÎÃí°Õ¤ò²þÊѤ·¤Ê¤¤¸Â¤ê¡¤¼«Í³¤ËÇÛÉÛ¤·¤Æ¤â¤è¤¤¡£</p>
</div2>
<div2 id='sec-terminology'>
<head>ÄêµÁ</head>
<p>XMLʸ½ñ¤Îµ¬Äê¤Î¤¿¤á¤Ë»ÈÍѤ¹¤ëÍѸì¤Ï¡¤¤³¤Î&TR-or-Rec;Æâ¤ÇÄêµÁ¤¹¤ë¡£¼¡¤Ë¼¨¤¹¸ì¶ç¤Ï¡¤¤½¤ì¤é¤ÎÍѸì¤òÄêµÁ¤¹¤ë¤¿¤á¡¤µÚ¤ÓXML&processor;¤ÎÆ°¤­¤òµ¬Äꤹ¤ë¤¿¤á¤Ë»ÈÍѤ¹¤ë¡£
<glist>
<gitem>
<label>1.2.1 ¤·¤Æ¤â¤è¤¤(may)</label>
<def><p><termdef id="dt-may" term="¤·¤Æ¤â¤è¤¤">Ŭ¹ç¤¹¤ëʸ½ñËô¤ÏXML&processor;¤Ï¡¤µ­½Ò¤µ¤ì¤¿¤È¤ª¤ê¤ËÆ°ºî¤·¤Æ¤â¤è¤¤¤¬¡¤¤½¤Î¤È¤ª¤ê¤Ë¤¹¤ëɬÍפϤʤ¤¡£</termdef></p></def>
</gitem>
<gitem>
<label>1.2.2 ¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤(must)</label>
<def><p>Ŭ¹ç¤¹¤ëʸ½ñËô¤ÏXML&processor;¤Ï¡¤µ­½Ò¤µ¤ì¤¿¤È¤ª¤ê¤ËÆ°ºî¤¹¤ë¤³¤È¤¬Í׵ᤵ¤ì¤ë¡£¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¤&error;¤È¤¹¤ë¡£<!-- do NOT change this! this is what defines a violation ofa 'must' clause as 'an error'. -MSM -->
</p></def>
</gitem>
<gitem>
<label>1.2.3 &error;(error)</label>
<def><p><termdef id="dt-error" term="&error;">¤³¤Î&TR-or-Rec;¤¬Äê¤á¤ëµ¬Â§¤ËÂФ¹¤ë°ãÈ¿¡£·ë²Ì¤ÏÄêµÁ¤·¤Ê¤¤¡£Å¬¹ç¤¹¤ë¥½¥Õ¥È¥¦¥§¥¢¤Ï¡¤&error;¤ò¸¡½Ð¤·¤ÆÊó¹ð¤·¤Æ¤â¤è¤¯¡¤&error;¤«¤é²óÉü¤·¤Æ¤â¤è¤¤¡£</termdef></p></def>
</gitem>
<gitem>
<label>1.2.4 &fatal-error;(fatal error)</label>
<def><p><termdef id="dt-fatal" term="&fatal-error;">Ŭ¹ç¤¹¤ë<termref def="dt-xml-proc">XML&processor;</termref>¤¬¸¡½Ð¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤º¡¤&application;¤ËÊó¹ð¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤&error;¡£&fatal-error;¤òȯ¸«¤·¤¿¤¢¤È¡¤&processor;¤Ï¡¤¤½¤ì°Ê¹ß¤Î&error;¤òõ¤¹¤¿¤á¤Ë¥Ç¡¼¥¿½èÍý¤ò³¹Ô¤·¤Æ¤â¤è¤¯¡¤&error;¤òȯ¸«¤·¤¿¾ì¹ç¤Ï¡¤¤½¤Î&error;¤ò&application;¤ËÊó¹ð¤·¤Æ¤â¤è¤¤¡£&error;ÄûÀµ¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤¿¤á¤Ë¡¤&processor;¤Ï¡¤Ì¤½èÍý¥Ç¡¼¥¿(ʸ»ú¥Ç¡¼¥¿µÚ¤Ó&markup;¤Îº®ºß¤·¤¿¤â¤Î)¤òʸ½ñ¤«¤é¼è¤ê½Ð¤·¡¤&application;¤ËÅϤ·¤Æ¤â¤è¤¤¡£¤·¤«¤·¡¤°ìÅÙ¡¤&fatal-error;¤ò¸¡½Ð¤·¤¿¤é¡¤&processor;¤Ï¡¤Ä̾ï¤Î½èÍý¤ò³¹Ô¤·¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£¤Ä¤Þ¤ê¡¤&processor;¤Ï¡¤Ê¸»ú¥Ç¡¼¥¿µÚ¤Óʸ½ñ¤ÎÏÀÍý¹½Â¤¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤ò¡¤Ä̾ï¤ÎÊýË¡¤Ç&application;¤ËÅϤ·Â³¤±¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£</termdef></p></def>
</gitem>
<gitem>
<label>1.2.5 &at-user-option;(at user option)</label>
<def><p>Ŭ¹ç¤¹¤ë¥½¥Õ¥È¥¦¥¨¥¢¤Ï¡¤µ­½Ò¤µ¤ì¤¿¤È¤ª¤ê¤Ë¿¶¤ëÉñ¤Ã¤Æ¤â¤è¤¤(may)¡¤Ëô¤Ï¿¶¤ëÉñ¤ï¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤(must)(ʸ¾ÏÃæ¤Î½õÆ°»ì¤Ë¤è¤ë¡£)¡£¤½¤Î¤È¤ª¤ê¤Ë¿¶¤ëÉñ¤¦¾ì¹ç¤Ï¡¤µ­½Ò¤µ¤ì¤¿¿¶Éñ¤¤¤òÁªÂòËô¤ÏµñÈݤ¹¤ë¼êÃʤò&user;¤ËÄ󶡤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p></def>
</gitem>
<gitem>
<label>1.2.6 &validity;À©Ìó(validity constraint)</label>
<def><p>¤¹¤Ù¤Æ¤Î<termref def="dt-valid">&valid;¤Ê</termref>XMLʸ½ñ¤ËŬÍѤ¹¤ëµ¬Â§¡£&validity;À©Ìó¤Î°ãÈ¿¤Ï¡¤&error;¤È¤¹¤ë¡£&at-user-option;¡¤<termref def="dt-validating">¸¡¾Ú¤ò¹Ô¤¦XML&processor;</termref>¤Ï¡¤¤³¤Î&error;¤òÊó¹ð¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p></def>
</gitem>
<gitem>
<label>1.2.7 &well-formed;À©Ìó(well-formedness constraint)</label>
<def><p>¤¹¤Ù¤Æ¤Î<termref def="dt-wellformed">&well-formed;</termref>¤ÎXMLʸ½ñ¤ËŬÍѤ¹¤ëµ¬Â§¡£&well-formed;À©Ìó¤Î°ãÈ¿¤Ï¡¤<termref def="dt-fatal">&fatal-error;</termref>¤È¤¹¤ë¡£</p></def>
</gitem>
<gitem>
<label>1.2.8 &match;(match)</label>
<def><p>a) <termdef id="dt-match" term="&match;">&string;Ëô¤Ï̾Á°¤Î&match;¡¡Èæ³Ó¤¹¤ëÆó¤Ä¤Î&string;Ëô¤Ï̾Á°¤Ï¡¤Æ±°ì¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£ISO/IEC 10646¤Ë¤ª¤¤¤Æ¡¤Ê£¿ô¤Îɽ¸½¤¬²Äǽ¤Êʸ»ú¡ÎÎ㤨¤Ð¡¤&composed-form;µÚ¤Ó´ðÄì+&diacritical-mark;(¥À¥¤¥¢¥¯¥ê¥Æ¥£¥«¥ë¥Þ¡¼¥¯)·Á¼°¡Ï¤Ï¡¤¤É¤Á¤é¤Î&string;¤âƱ¤¸É½¸½¤Î¤È¤­¤Ë¸Â¤ê¡¤&match;¤¹¤ë¡£&at-user-option;¡¤&processor;¤Ï¡¤¤½¤Îʸ»ú¤òɸ½à·Á¤ËÀµµ¬²½¤·¤Æ¤â¤è¤¤¡£Èæ³Ó¤Î¤È¤­¡¢Âçʸ»ú¤È¾®Ê¸»ú¤È¤Î¶èÊ̤ò¤¹¤ë¡£<!-- Note that no processing of characters with respect to case is part of the matching process. -->&lt;BR>b) &string;¤ÈʸˡÃæ¤Îµ¬Â§¤È¤Î&match;¡¡¤¢¤ëÀ¸À®µ¬Â§¤«¤éÀ¸À®¤¹¤ë¸À¸ì¤Ë¡¤¤¢¤ë&string;¤¬Â°¤¹¤ë¤È¤­¡¤¤³¤Î&string;¤Ï¡¤¤³¤ÎÀ¸À®µ¬Â§¤Ë&match;¤¹¤ë¤È¤¤¤¦¡£&lt;BR>c) ÆâÍƤÈÆâÍÆ¥â¥Ç¥ë¤È¤Î&match;¡¡¤¢¤ëÍ×ÁǤ¬¡¤<titleref href='elementvalid'>Í×ÁǤÎ&validity;</titleref>¤ÎÀ©Ìó¤Ë¼¨¤¹°ÕÌ£¤ÇŬ¹ç¤¹¤ë¤È¤­¡¤¤³¤ÎÍ×ÁǤϡ¤¤½¤ÎÀë¸À¤Ë&match;¤¹¤ë¤È¤¤¤¦¡£</termdef></p></def>
</gitem>
<gitem>
<label>1.2.9 ¸ß´¹À­¤Î¤¿¤á(for compatibility)</label>
<def><p><termdef id="dt-compat" term="¸ß´¹À­¤Î¤¿¤á">XML¤Îµ¡Ç½¤Ç¤¢¤Ã¤Æ¡¤XML¤¬SGML¤È¸ß´¹¤Ç¤¢¤ë¤³¤È¤òÊݾڤ¹¤ë¤¿¤á¤À¤±¤ËƳÆþ¤µ¤ì¤ë¤â¤Î¡£</termdef></p></def>
</gitem>
<gitem>
<label>1.2.10 Áê¸ß±¿ÍÑÀ­¤Î¤¿¤á(for interoperability)</label>
<def><p><termdef id="dt-interop" term="Áê¸ß±¿ÍÑÀ­¤Î¤¿¤á">¹´Â«ÎϤϤ⤿¤Ê¤¤¿ä¾©»ö¹à¡£&WebSGML;°ÊÁ°¤«¤é¸ºß¤¹¤ëSGML&processor;¤¬¡¤XMLʸ½ñ¤ò½èÍý¤Ç¤­¤ë²ÄǽÀ­¤ò¹â¤á¤ë¤¿¤á¤Ë¼è¤êÆþ¤ì¤ë¤â¤Î¡£</termdef></p></def>
</gitem>
</glist>
</p>
</div2>
</div1>
<!-- &Docs; -->
<div1 id='sec-documents'>
<head>ʸ½ñ</head>
<p><termdef id="dt-xml-doc" term="XMLʸ½ñ">
<!-- A textual object -->
¤³¤Î&TR-or-Rec;¤ÇÄêµÁ¤¹¤ë°ÕÌ£¤Ç¡¤<termref def="dt-wellformed">&well-formed;</termref>¤È¤¹¤ë¥Ç¡¼¥¿¥ª¥Ö¥¸¥§¥¯¥È¤ò¡¤<term>XMLʸ½ñ</term>¤È¤¤¤¦¡£&well-formed;¤ÎXMLʸ½ñ¤¬¡¤¤µ¤é¤Ë¡¤¤¢¤ëÀ©Ìó¾ò·ï¤òËþ­¤¹¤ì¤Ð¡¤<termref def="dt-valid">&valid;</termref>¤ÊXMLʸ½ñ¤È¤¹¤ë¡£
</termdef></p>
<!-- why this div? -TB
<div2 id='sec-log-phys'>
<head>Logical and Physical Structure</head> -->
<p>¤¤¤º¤ì¤ÎXMLʸ½ñ¤â¡¤ÏÀÍý¹½Â¤µÚ¤ÓʪÍý¹½Â¤¤ò¤â¤Ä¡£ÊªÍýŪ¤Ë¤Ï¡¤Ê¸½ñ¤Ï¡¤<termref def="dt-entity">¼ÂÂÎ</termref>¤È¸Æ¤Öñ°Ì¤«¤é¤Ê¤ë¡£¤¢¤ë¼ÂÂΤϡ¤Ê¸½ñÆâ¤Ë¾¤Î¼ÂÂΤò´Þ¤à¤¿¤á¤Ë¡¤¤½¤Î¾¤Î¼ÂÂΤò<termref def="dt-entref">»²¾È</termref>¤·¤Æ¤â¤è¤¤¡£Ê¸½ñ¤Ï¡¤¡È¥ë¡¼¥È¡É¤¹¤Ê¤ï¤Á<termref def="dt-docent">ʸ½ñ¼ÂÂÎ</termref>¤«¤é»Ï¤Þ¤ë¡£ÏÀÍýŪ¤Ë¤Ï¡¤Ê¸½ñ¤Ï¡¤Àë¸À¡¤Í×ÁÇ¡¤¥³¥á¥ó¥È¡¤Ê¸»ú»²¾ÈµÚ¤Ó½èÍýÌ¿Îá¤ò´Þ¤ß¡¤¤³¤ì¤é¤¹¤Ù¤Æ¤Ï¡¤Ê¸½ñÆâ¤ÇÌÀ¼¨Åª¤Ê&markup;¤Ë¤è¤Ã¤Æ¼¨¤¹¡£ÏÀÍý¹½Â¤µÚ¤ÓʪÍý¹½Â¤¤Ï¡¤<titleref href="wf-entities">°Ê¹ß</titleref>¤Ë¼¨¤¹¤È¤ª¤ê¤Ë¡¤¸·Ì©¤ËÆþ¤ì»Ò¤Ë¤Ê¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
<!--
</div2> -->
<div2 id='sec-well-formed'>
<head>&well-formed;¤ÎXMLʸ½ñ</head>
<p><termdef id="dt-wellformed" term="&well-formed;">¤¢¤ë¥Æ¥­¥¹¥È¥ª¥Ö¥¸¥§¥¯¥È¤¬¡¤¼¡¤Î¤¤¤º¤ì¤«¤Î¤È¤­¡¤¤½¤Î¥Æ¥­¥¹¥È¥ª¥Ö¥¸¥§¥¯¥È¤ò&well-formed;¤ÎXMLʸ½ñ¤È¸Æ¤Ö¡£</termdef>
<ulist>
<item><p>a) Á´ÂΤȤ·¤Æ¡¤<nt def='NT-document'>document</nt>¤È¤¤¤¦¥é¥Ù¥ë¤ò¤â¤ÄÀ¸À®µ¬Â§¤Ë&match;¤¹¤ë¡£</p></item>
<item><p>b) ¤³¤Î&TR-or-Rec;¤ÇÄêµÁ¤¹¤ë¡¤¤¹¤Ù¤Æ¤Î&well-formed;À©Ìó¤Ë½¾¤¦¡£</p>
</item>
<item><p>c) ¤½¤ì¤¾¤ì¤Î<termref def='dt-parsedent'>&parsed-entity;</termref>¤¬¡¤<titleref href='wf-entities'>&well-formed;</titleref>¤È¤Ê¤ë¡£</p></item>
</ulist></p>
<p>
<scrap lang='ebnf' id='document'>
<head>ʸ½ñ</head>
<prod id='NT-document'><lhs>document</lhs>
<rhs><nt def='NT-prolog'>prolog</nt>
<nt def='NT-element'>element</nt>
<nt def='NT-Misc'>Misc</nt>*</rhs></prod>
</scrap>
</p>
<p><nt def="NT-document">document</nt>À¸À®µ¬Â§¤Ë&match;¤¹¤ë¤È¤Ï¡¤¼¡¤ò°ÕÌ£¤¹¤ë¡£
<ulist>
<item><p>a) °ì¤Ä°Ê¾å¤Î<termref def="dt-element">Í×ÁÇ</termref>¤ò´Þ¤à¡£</p>
</item>
<!--* N.B. some readers (notably JC) find the following
paragraph awkward and redundant. I agree it's logically redundant:
it *says* it is summarizing the logical implications of
matching the grammar, and that means by definition it's
logically redundant. I don't think it's rhetorically
redundant or unnecessary, though, so I'm keeping it. It
could however use some recasting when the editors are feeling
stronger. -MSM *-->
<item><p>b) <termdef id="dt-root" term="¥ë¡¼¥ÈÍ×ÁÇ"><term>¥ë¡¼¥È</term>Ëô¤Ïʸ½ñÍ×ÁǤȤ¤¤¦Í×ÁǤ¬°ì¤Ä¤À¤±Â¸ºß¤·¡¤¤³¤ì¤Ï¡¤Â¾¤ÎÍ×ÁǤÎ<termref def="dt-content">ÆâÍÆ</termref>¤Ë´Þ¤Þ¤ì¤Ê¤¤¡£</termdef>¤³¤ì°Ê³°¤Î¤¹¤Ù¤Æ¤ÎÍ×ÁǤϡ¤¤½¤Î³«»Ï¥¿¥°¤¬Â¾¤ÎÍ×ÁǤÎÆâÍƤ˴ޤޤì¤ì¤Ð¡¤Âбþ¤¹¤ë½ªÎ»¥¿¥°¤âƱ¤¸Í×ÁǤÎÆâÍƤ˴ޤޤì¤ë¡£¤Ä¤Þ¤ê¡¤Í×ÁǤϡ¤³«»Ï¥¿¥°µÚ¤Ó½ªÎ»¥¿¥°¤Ë¤è¤Ã¤Æ¶èÀÚ¤é¤ì¡¤Æþ¤ì»Ò¹½Â¤¤ò¤Ê¤¹¡£
</p></item>
</ulist>
</p>
<p><termdef id="dt-parentchild" term="¿ÆÍ×ÁÇ/»ÒÍ×ÁÇ">¤³¤ì¤é¤Î·ë²Ì¤È¤·¤Æ¡¤Ê¸½ñÆâ¤Î¤É¤ÎÈó¥ë¡¼¥ÈÍ×ÁÇ<code>C</code>¤ËÂФ·¤Æ¤â¡¤¤¢¤ë¾¤ÎÍ×ÁÇ<code>P</code>¤¬Â¸ºß¤·¡¤<code>C</code>¤Ï¡¤<code>P</code>¤ÎÆâÍƤ˴ޤޤì¤ë¤¬¡¤<code>P</code>¤ÎÆâÍƤ˴ޤޤì¤ë¾¤ÎÍ×ÁǤ˴ޤޤì¤ë¤³¤È¤Ï¤Ê¤¤¡£¤³¤Î¤È¤­¡¤<code>P</code>¤ò<code>C</code>¤Î<code>¿Æ</code>¤È¤¤¤¤¡¤<code>C</code>¤ò<code>P</code>¤Î<code>»Ò</code>¤È¤¤¤¦¡£</termdef></p>
</div2>
<div2 id="charsets">
<head>ʸ»ú</head>
<p>
<!--The data stored in an XML <termref def="dt-entity">entity</termref> is
either <termref def="dt-text">parsed</termref> or <termref
def="dt-unparsed">unparsed</termref>. -->
<termdef id="dt-text" term="¥Æ¥­¥¹¥È">&parsed-entity;¤Ï¡¤<term>¥Æ¥­¥¹¥È</term>(<termref def="dt-character">ʸ»ú</termref>¤ÎʤӤǤ¢¤Ã¤Æ¡¤&markup;Ëô¤Ïʸ»ú¥Ç¡¼¥¿¤òɽ¤·¤Æ¤â¤è¤¤¡£)¤ò´Þ¤à¡£</termdef><termdef id="dt-character" term="ʸ»ú"><term>ʸ»ú</term>¤Ï¡¤¥Æ¥­¥¹¥È¤ÎºÇ¾®Ã±°Ì¤Ç¤¢¤Ã¤Æ¡¤ISO/IEC 10646<bibref ref="ISO10646"/>¤Ëµ¬Äꤵ¤ì¤ë¡£<!--Users may extend the ISO/IEC 10646 character repertoire by exploiting the private use areas. -->µöÍƤ¹¤ëʸ»ú¤Ï¡¤¥¿¥Ö¡¤²þ¹Ô¡¤Éüµ¢Ê¤ӤËUnicodeµÚ¤ÓISO/IEC 10646¤¬µöÍƤ¹¤ë¿Þ·Áʸ»ú¤È¤¹¤ë¡£</termdef>
<scrap lang="ebnf" id="char32">
<head>ʸ»ú¤ÎÈÏ°Ï</head>
<prodgroup pcw2="4" pcw4="17.5" pcw5="11">
<prod id="NT-Char"><lhs>Char</lhs>
<rhs>#x9 | #xA | #xD | [#x20-#D7FF] | [#xE000-#xFFFD]
| [#x10000-#x10FFFF]</rhs>
<com>Ǥ°Õ¤ÎUnicodeʸ»ú¡£¤¿¤À¤·¡¤&surrogate-blocks;¡¤FFFEµÚ¤ÓFFFF¤Ï½ü¤¯¡£</com>
</prod>
</prodgroup>
</scrap>
</p>
<p>&character-value;¤ò¥Ó¥Ã¥È¥Ñ¥¿¥ó¤ËÉä¹æ²½¤¹¤ëµ¡¹½¤Ï¡¤¼ÂÂΤ´¤È¤Ë°ã¤Ã¤Æ¤â¤è¤¤¡£¤¹¤Ù¤Æ¤ÎXML&processor;¤Ï¡¤ISO/IEC 10646¤ÎUTF-8Éä¹æ²½µÚ¤ÓUTF-16Éä¹æ²½¤ò¼õ¤±ÉÕ¤±¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£Æó¤Ä¤Î¤É¤Á¤é¤¬ÍѤ¤¤é¤ì¤Æ¤¤¤ë¤«¤òÌÀ¼¨¤¹¤ë¤¿¤á¤Îµ¡¹½¡¤µÚ¤Ó¾¤ÎÉä¹æ²½ÊýË¡¤òÍøÍѤ¹¤ë¤¿¤á¤Îµ¡¹½¤Ï¡¤<titleref href='charencoding'>ʸ»ú¤ÎÉä¹æ²½</titleref>¤Ëµ­½Ò¤¹¤ë¡£</p>
<p>¤É¤ÎÉä¹æ²½ÊýË¡¤òÍѤ¤¤ë¤«¤Ë´Ø·¸¤Ê¤¯¡¤ISO/IEC 10646¤Îʸ»ú½¸¹ç¤Ë¤¢¤ë¤¹¤Ù¤Æ¤Îʸ»ú¤Ï¡¤¤½¤ÎUCS-4&code-value;<!-- bit string. -->¤ÈÅù²Á¤Ê10¿Ê¿ôËô¤Ï16¿Ê¿ô¤Ë¤è¤Ã¤Æ¡¤»²¾È¤Ç¤­¤ë¡£</p>
</div2>
<div2 id='sec-common-syn'>
<head>¶¦Ä̤ι½Ê¸¹½À®»Ò</head>
<p>2.3¤Ç¤Ï¡¤Ê¸Ë¡Æâ¤Ç¹­¤¯»ÈÍѤ¹¤ë¤¤¤¯¤Ä¤«¤Îµ­¹æ¤òÄêµÁ¤¹¤ë¡£</p>
<p><nt def="NT-S">S</nt> (¶õÇò)¤Ï¡¤°ì¤Ä¼ã¤·¤¯¤ÏÊ£¿ô¤Î&space-character;(#x20)¡¤Éüµ¢¡¤²þ¹ÔËô¤Ï¥¿¥Ö¤«¤éÀ®¤ë¡£
<scrap lang="ebnf" id='white'>
<head>¶õÇò</head>
<prodgroup pcw2="4" pcw4="17.5" pcw5="11">
<prod id='NT-S'><lhs>S</lhs>
<rhs>(#x20 | #x9 | #xD | #xA)+</rhs>
</prod>
</prodgroup>
</scrap></p>
<p>Êص¹¾å¡¤Ê¸»ú¤ò¡¤&letter;¡¤¿ô»úËô¤Ï¾¤Îʸ»ú¤ËʬÎह¤ë¡£&letter;¤Ï¡¤¥¢¥ë¥Õ¥¡¥Ù¥Ã¥ÈŪËô¤Ïɽ²»Åª¤Ç¤¢¤ë´ðËÜʸ»ú(°ì¤ÄËô¤ÏÊ£¿ô¤Î&combining-character;¤¬¡¤¸å¤Ë³¤¯¤³¤È¤â¤¢¤ë¡£)¡¤&ideographic;¤«¤éÀ®¤ë¡£
<!--
Certain layout and format-control characters defined by ISO/IEC 10646
should be ignored when recognizing identifiers; these are defined by the
classes <nt def='NT-Ignorable'>Ignorable</nt> and <nt def='NT-
Extender'>Extender</nt>.
-->
³Æ¥¯¥é¥¹¤Ë¤ª¤±¤ë¼ÂºÝ¤Îʸ»ú¤Ë¤Ä¤¤¤Æ¤Î´°Á´¤ÊÄêµÁ¤Ï¡¤<titleref href='CharClasses'>ʸ»ú¥¯¥é¥¹</titleref>¤Ë´Ø¤¹¤ëÉÕÏ¿¤Ëµ¬Äꤹ¤ë¡£</p>
<p><termdef id="dt-name" term="Name"><term>Name</term>¤Ï¡¤&letter;Ëô¤Ï¤¤¤¯¤Ä¤«¤Î¶èÀÚ¤êʸ»ú¤Î°ì¤Ä¤Ç»Ï¤Þ¤ê¡¤¤½¤Î¸å¤Ë&letter;¡¤¿ô»ú¡¤¥Ï¥¤¥Õ¥ó¡¤²¼Àþ¡¤¥³¥í¥óËô¤Ï¥Ô¥ê¥ª¥É¤¬Â³¤¯(¤³¤ì¤é¤ò̾Á°Ê¸»ú¤È¤¤¤¦¡£)¡£</termdef>&string;"<code>xml</code>"Ëô¤Ï<code>(('X'|'x') ('M'|'m') ('L'|'l'))</code>¤Ë&match;¤¹¤ëǤ°Õ¤Î&string;¤Ç»Ï¤Þ¤ë̾Á°¤Ï¡¤¤³¤Î&TR-or-Rec;¤Î¸½ºß¤ÎÈÇËô¤Ï¾­Íè¤ÎÈǤǤÎɸ½à²½¤Î¤¿¤á¤ËͽÌ󤹤롣
</p>
<note>
<p>XML¤Î̾Á°¤ÎÃæ¤Î¥³¥í¥ó¤Ï¡¤Ì¾Á°¶õ´Ö¤Ç¤Î¼Â¸³¤Î¤¿¤á¤ËͽÌ󤹤롣¥³¥í¥ó¤Î°ÕÌ£¤Ï¡¤¾­Íè¤Î¤¢¤ë»þÅÀ¤Çɸ½à²½¤¹¤ë¤â¤Î¤È¤·¡¤¤½¤Î¤È¤­¤Ë¤Ï¡¤¼Â¸³Åª¤ÊÌÜŪ¤Ç¥³¥í¥ó¤ò»ÈÍѤ¹¤ëʸ½ñ¤ò¹¹¿·¤¹¤ëɬÍפ¬À¸¤¸¤ë²ÄǽÀ­¤¬¤¢¤ë¡£XML¤ÇºÎÍѤ¹¤ë̾Á°¶õ´Ö¤Îµ¡¹½¤¬¡¤¶èÀÚ¤ê»Ò¤È¤·¤Æ¼ÂºÝ¤Ë¥³¥í¥ó¤ò»ÈÍѤ¹¤ë¤È¤¤¤¦ÊݾڤϤʤ¤¡£»ö¼Â¾å¡¤¤³¤ì¤Ï¡¤Ì¾Á°¶õ´Ö¤Î¼Â¸³¤Î°ì¤Ä¤È¤·¤Æ°Ê³°¤Ë¤Ï¡¤XML¤Î̾Á°¤ÎÃæ¤Ç¥³¥í¥ó¤ò»ÈÍѤ·¤Ê¤¤¤Û¤¦¤¬¤è¤¤¤³¤È¤ò°ÕÌ£¤¹¤ë¡£¤·¤«¤·¡¤XML&processor;¤Ï¡¤Ì¾Á°Ê¸»ú¤È¤·¤Æ¥³¥í¥ó¤ò¼õ¤±ÉÕ¤±¤ë¤³¤È¤¬Ë¾¤Þ¤·¤¤¡£
</p>
</note>
<p>
<nt def='NT-Nmtoken'>Nmtoken</nt> (̾Á°&token;)¤Ï¡¤Ì¾Á°Ê¸»ú¤Ç¹½À®¤¹¤ëÎó¤È¤¹¤ë¡£
<scrap lang='ebnf'>
<head>̾Á°µÚ¤Ó&token;</head>
<!--
<prod id='NT-MiscName'><lhs>MiscName</lhs>
<rhs></rhs>
</prod>-->
<prod id='NT-NameChar'><lhs>NameChar</lhs>
<rhs><nt def="NT-Letter">Letter</nt>
| <nt def='NT-Digit'>Digit</nt>
<!--| <nt def='NT-MiscName'>MiscName</nt>-->
| '.' | '-' | '_' | ':'
| <nt def='NT-CombiningChar'>CombiningChar</nt>
<!-- | <nt def='NT-Ignorable'>Ignorable</nt> -->
| <nt def='NT-Extender'>Extender</nt></rhs>
</prod>
<prod id='NT-Name'><lhs>Name</lhs>
<rhs>(<nt def='NT-Letter'>Letter</nt> | '_' | ':')
(<nt def='NT-NameChar'>NameChar</nt>)*</rhs></prod>
<prod id='NT-Names'><lhs>Names</lhs>
<rhs><nt def='NT-Name'>Name</nt>
(<nt def='NT-S'>S</nt> <nt def='NT-Name'>Name</nt>)*</rhs></prod>
<prod id='NT-Nmtoken'><lhs>Nmtoken</lhs>
<rhs>(<nt def='NT-NameChar'>NameChar</nt>)+</rhs></prod>
<prod id='NT-Nmtokens'><lhs>Nmtokens</lhs>
<rhs><nt def='NT-Nmtoken'>Nmtoken</nt> (<nt def='NT-S'>S</nt> <nt
def='NT-Nmtoken'>Nmtoken</nt>)*</rhs></prod>
</scrap>
</p>
<p>&literal;¥Ç¡¼¥¿¤Ï¡¤°úÍÑÉä¤Ç°Ï¤Þ¤ì¤¿&string;¤È¤·¡¤¤½¤ÎÎó¤Î¶èÀÚ¤ê»Ò¤È¤·¤Æ»ÈÍѤ¹¤ë°úÍÑÉä¤Ï´Þ¤Þ¤Ê¤¤¡£&literal;¤Ï¡¤ÆâÉô¼ÂÂÎ(<nt def='NT-EntityValue'>EntityValue</nt>)¡¤Â°À­ÃÍ(<nt def='NT-AttValue'>AttValue</nt>)¡¤³°Éô&identifier;(<nt def="NT-SystemLiteral">SystemLiteral</nt>)¤ÎÆâÍƤλØÄê¤Ë»ÈÍѤ¹¤ë¡£ÌÜŪ¤Ë¤è¤Ã¤Æ¤Ï¡¤&literal;Á´ÂΤò¡¤¤½¤ÎÃæ¤Î&markup;¤ÎÁöºº¤ò¹Ô¤Ê¤ï¤º¤Ë¡¤¥¹¥­¥Ã¥×¤¹¤ë¤³¤È¤¬¤¢¤ë(<nt def='NT-SkipLit'>SkipLit</nt>¡£)¡£
<scrap lang='ebnf'>
<head>&literal;</head>
<!-- is marked section end legal in entity values etc.?
James says yes. Handbook page 392, sec. 10.4 seems to me to say no.
If James is right, leave as is. Otherwise, uncomment
the next comment and ...
-->
<!--
<prod id='NT-EntityValue'><lhs>EntityValue</lhs>
<rhs>' " '
(([^%&amp;"]
| <nt def='NT-PEReference'>PEReference</nt>
| <nt def='NT-Reference'>Reference</nt>)*
- (<nt def='NT-Char'>Char</nt>* ']]&gt;' <nt def='NT-char'>Char</nt>*))
' " '
</rhs>
<rhs>|&nbsp;
" ' "
(([^%&amp;']
| <nt def='NT-PEReference'>PEReference</nt>
| <nt def='NT-Reference'>Reference</nt>)*
- (<nt def='NT-Char'>Char</nt>* ']]&gt;' <nt def='NT-char'>Char</nt>*))
" ' "</rhs>
</prod>
<prod id='NT-AttValue'><lhs>AttValue</lhs>
<rhs>'"'
(([^&lt;&amp;"]
| <nt def='NT-Reference'>Reference</nt>)*
- (<nt def='NT-Char'>Char</nt>* ']]&gt;' <nt def='NT-char'>Char</nt>*))
' " '
</rhs>
<rhs>|&nbsp;
" ' "
(([^&lt;&amp;']
| <nt def='NT-Reference'>Reference</nt>)*
- (<nt def='NT-Char'>Char</nt>* ']]&gt;' <nt def='NT-char'>Char</nt>*))
" ' "</rhs>
<wfc def="CleanAttrVals"/>
</prod>
-->
<!-- ... and comment out the following, down to ... -->
<prod id='NT-EntityValue'><lhs>EntityValue</lhs>
<rhs>' " '
([^%&amp;"]
| <nt def='NT-PEReference'>PEReference</nt>
| <nt def='NT-Reference'>Reference</nt>)*
' " '
</rhs>
<rhs>|&nbsp;
" ' "
([^%&amp;']
| <nt def='NT-PEReference'>PEReference</nt>
| <nt def='NT-Reference'>Reference</nt>)*
" ' "</rhs>
</prod>
<prod id='NT-AttValue'><lhs>AttValue</lhs>
<rhs>' " '
([^&lt;&amp;"]
| <nt def='NT-Reference'>Reference</nt>)*
' " '
</rhs>
<rhs>|&nbsp;
" ' "
([^&lt;&amp;']
| <nt def='NT-Reference'>Reference</nt>)*
" ' "</rhs>
<!--<wfc def="WF-Attvaldelim"/>-->
</prod>
<!-- ... down to here. -->
<prod id="NT-SystemLiteral"><lhs>SystemLiteral</lhs>
<rhs><nt def='NT-SkipLit'>SkipLit</nt></rhs>
</prod>
<!-- <prod id="NT-URIchar"><lhs>URIchar</lhs>
<rhs><com>See <loc href="http://www.w3.org/XXX">XXX</loc></com>
</rhs></prod>
-->
<prod id="NT-PubidLiteral"><lhs>PubidLiteral</lhs>
<rhs>' " ' <nt def='NT-PubidChar'>PubidChar</nt>*
' " '
| " ' " (<nt def='NT-PubidChar'>PubidChar</nt> - " ' ")* " ' "</rhs>
</prod>
<prod id="NT-PubidChar"><lhs>PubidChar</lhs>
<rhs>#x20 | #xD | #xA
|&nbsp;[a-zA-Z0-9]
|&nbsp;[-'()+,./:=?]</rhs>
</prod>
<prod id="NT-SkipLit"><lhs>SkipLit</lhs>
<rhs>(' " ' [^"]* ' " ')
|&nbsp;(" ' " [^']* " ' ")</rhs>
</prod>
<!-- alternate form, making ms end illegal: -->
<!--
<prod id="NT-SkipLit"><lhs>SkipLit</lhs>
<rhs>(' " ' ([^"]* - ([^"]* ']]&gt;' [^"]*)) ' " ')
|&nbsp;(" ' " ([^']* - ([^']* ']]&gt;' [^']*)) " ' ")</rhs>
</prod>
-->
</scrap>
</p>
<!--
<wfcnote id="WF-Attvaldelim">
<head>Delimiters in Attribute Values</head>
<p>After the expansion of character and entity references,
an attribute value must not contain a "<code>&lt;</code>"
or "<code>&amp;</code>" character unless that character was
introduced by the expansion of a character reference
or one of the entities &magicents;.</p>
</wfcnote>-->
<!--
This is not quite right: &lt; should be legal, should it not?
Suppress this WFC until we get it right.
-->
<!-- Henry Thompson suggests (in substance, not form: the wording needs
to be clarified):
"Cooked Attribute values must not contain &lt; &amp; or the
quote which closed their uncooked literal,
unless arising from the expansion of a character reference or
magic reference
directly contained in their uncooked literal."
I'm not sure I agree with this rule, but it's at least coherent,
which is more than I can say for my attempt.
-->
</div2>
<div2 id='syntax'>
<head>ʸ»ú¥Ç¡¼¥¿µÚ¤Ó&markup;</head>
<p><termref def='dt-text'>¥Æ¥­¥¹¥È</termref>¤Ï¡¤<termref def="dt-chardata">ʸ»ú¥Ç¡¼¥¿</termref>µÚ¤Ó&markup;¤¬º®ºß¤¹¤ë¤â¤Î¤È¤·¤Æ¹½À®¤¹¤ë¡£<termdef id="dt-markup" term="Markup"><term>&markup;</term>¤Ï¡¤<termref def="dt-stag">³«»Ï¥¿¥°</termref>¡¤<termref def="dt-etag">½ªÎ»¥¿¥°</termref>¡¤<termref def="dt-empty">¶õÍ×ÁÇ</termref>¡¤<termref def="dt-entref">¼ÂÂλ²¾È</termref>¡¤<termref def="dt-charref">ʸ»ú»²¾È</termref>¡¤<termref def="dt-comment">¥³¥á¥ó¥È</termref>¡¤<termref def="dt-cdsection">CDATA¥»¥¯¥·¥ç¥ó</termref> ¤Î¶èÀÚ¤ê»Ò¡¤<termref def="dt-doctype">ʸ½ñ·¿Àë¸À</termref>µÚ¤Ó<termref def="dt-pi">½èÍýÌ¿Îá</termref>¤Î·Á¤ò¼è¤ë¡£
</termdef>
</p>
<p><termdef id="dt-chardata" term="Character Data">&markup;¤Ç¤Ï¤Ê¤¤¤¹¤Ù¤Æ¤Î¥Æ¥­¥¹¥È¤Ï¡¤Ê¸½ñ¤Î<term>ʸ»ú¥Ç¡¼¥¿</term>¤ò¹½À®¤¹¤ë¡£</termdef></p>
<p>¥¢¥ó¥Ñ¥µ¥ó¥Éʸ»ú (&amp;)µÚ¤Ó&left-angle-bracket; (&lt;)¤Ï¡¤&markup;¤Î¶èÀÚ¤ê»Ò¤È¤·¤Æ¡¤Ëô¤Ï<termref def="dt-comment">¥³¥á¥ó¥È</termref>¡¤<termref def="dt-pi">½èÍýÌ¿Îá</termref>¼ã¤·¤¯¤Ï<termref def="dt-cdsection">CDATA¥»¥¯¥·¥ç¥ó</termref>Æâ¤Ç»ÈÍѤ¹¤ë¾ì¹ç¤Ë<emph>¤À¤±</emph>¡¤¤½¤Î¤Þ¤Þ¤Î·Á¤Ç½Ð¸½¤·¤Æ¤è¤¤¡£¤³¤ì¤é¤Îʸ»ú¤Ï¡¤ÆâÉô¼ÂÂÎÀë¸À¤Î<termref def='dt-litentval'>&literal;¼ÂÂÎÃÍ</termref>Æâ¤Ëµ­½Ò¤·¤Æ¤â¤è¤¤¡£ ¾Ü¤·¤¯¤Ï¡¤<titleref href='wf-entities'>&well-formed;¤Î¼ÂÂÎ</titleref>¤Ë´Ø¤¹¤ëµ¬Äê¤ò»²¾È¡£<!-- FINAL EDIT: restore internal entity decl or leave it out. -->¤³¤ì¤é¤Îʸ»ú¤¬Â¾¤ÎÉôʬ¤ÇɬÍפʾì¹ç¡¤¿ôÃͤˤè¤ëʸ»ú»²¾ÈËô¤Ï&string;"<code>&amp;amp;</code>"µÚ¤Ó&string;"<code>&amp;lt;</code>"¤ò»ÈÍѤ·¡¤<termref def="dt-escape">&escape;</termref>¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£&right-angle-bracket; (>) ¤Ï¡¤&string;"<code>&amp;gt;</code>"¤ò»ÈÍѤ·¤Æɽ¸½¤·¤Æ¤â¤è¤¤¡£ÆâÍƤÎÃæ¤ÇÎó"<code>]]&gt;</code>"¤ò»ÈÍѤ¹¤ë¤È¤­¤Ï¡¤¤½¤ì¤¬¡¤<termref def="dt-cdsection">CDATA¥»¥¯¥·¥ç¥ó</termref>¤Î½ªÎ»¤ò&markup;¤·¤Ê¤¤¸Â¤ê¡¤<termref def='dt-compat'>¸ß´¹À­¤Î¤¿¤á</termref>¡¤"<code>&amp;gt;</code>"Ëô¤Ïʸ»ú»²¾È¤ò»ÈÍѤ·¡¤&escape;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
<p>Í×ÁǤÎÆâÍƤǤϡ¤Ê¸»ú¥Ç¡¼¥¿¤Ï¡¤¤¤¤«¤Ê¤ë&markup;¤Î³«»Ï¶èÀÚ¤ê»Ò¤ò´Þ¤Þ¤Ê¤¤Ç¤°Õ¤Î&char-string;¤È¤¹¤ë¡£CDATA¥»¥¯¥·¥ç¥ó¤Ç¤Ï¡¤Ê¸»ú¥Ç¡¼¥¿¤È¤Ï¡¤CDATA¥»¥¯¥·¥ç¥ó¤Î½ªÎ»¶èÀÚ¤ê»Ò"<code>]]&gt;</code>"¤ò´Þ¤Þ¤Ê¤¤Ç¤°Õ¤Î&char-string;¤È¤¹¤ë¡£
</p>
<p>
°À­ÃͤË&single-quote;µÚ¤Ó&double-quote;¤ò´Þ¤à¤¿¤á¤Ë¤Ï¡¤¥¢¥Ý¥¹¥È¥í¥Õ¥£Ëô¤Ï&single-quote;(') ¤Ï¡¤"<code>&amp;apos;</code>"¤È¤·¤Æɽ¸½¤·¡¤&double-quote;(")¤Ï¡¤"<code>&amp;quot;</code>"¤È¤·¤Æɽ¸½¤¹¤ë¡£
<scrap lang="ebnf">
<head>ʸ»ú¥Ç¡¼¥¿</head>
<prod id='NT-CharData'>
<lhs>CharData</lhs>
<rhs>[^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</rhs>
</prod>
</scrap>
</p>
</div2>
<div2 id='sec-comments'>
<head>¥³¥á¥ó¥È</head>
<p><termdef id="dt-comment" term="Comment"><term>¥³¥á¥ó¥È</term>¤Ï¡¤Â¾¤Î<termref def='dt-markup'>&markup;</termref>¤Î³°¤Ê¤é¤Ð¡¤Ê¸½ñ¤Î¤É¤³¤Ë¸½¤ì¤Æ¤â¤è¤¤¡£¤µ¤é¤Ë¡¤Ê¸½ñ·¿Àë¸ÀÆâ¤Ç¡¤Ê¸Ë¡¤¬µö¤¹¾ì½ê¤Ë¸½¤ì¤Æ¤â¤è¤¤¡£
<!-- TB
except in a <termref def="dt-cdsection">CDATA section</termref>, i.e. within
<termref def="dt-elemcontent">element content</termref>, in
<termref def="dt-mixed">mixed content</termref>, or in the prolog. They must
not occur within declarations or tags. -->
¥³¥á¥ó¥È¤Ï¡¤Ê¸½ñ¤Î<termref def="dt-chardata">ʸ»ú¥Ç¡¼¥¿</termref>¤Î°ìÉô¤Ç¤Ï¤Ê¤¤¡£XML&processor;¤Ï¡¤&application;¤¬¥³¥á¥ó¥È¤Î¥Æ¥­¥¹¥È¤ò¼è¤ê½Ð¤¹¤³¤È¤ò²Äǽ¤È¤·¤Æ¤â¤è¤¤¤¬¡¤¤½¤¦¤·¤Ê¤¯¤È¤â¤è¤¤¡£
<termref def="dt-compat">¸ß´¹À­¤Î¤¿¤á</termref>¡¤&string;"<code>--</code>" ¡Ê&double-hyphen;¡Ë¤Ï¡¤¥³¥á¥ó¥ÈÆâ¤Ç¸½¤ì¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
<scrap lang="ebnf">
<head>¥³¥á¥ó¥È</head>
<prod id='NT-Comment'><lhs>Comment</lhs>
<rhs>'&lt;!--'
((<nt def='NT-Char'>Char</nt> - '-')
| ('-' (<nt def='NT-Char'>Char</nt> - '-')))*
'-->'</rhs>
<!--
<rhs>'&lt;!&como;'
(<nt def='NT-Char'>Char</nt>* -
(<nt def='NT-Char'>Char</nt>* '&comc;' <nt def='NT-Char'>Char</nt>*))
'&comc;&gt;'</rhs> -->
</prod>
</scrap>
</termdef></p>
<p>¥³¥á¥ó¥È¤ÎÎã¤ò¼¡¤Ë¼¨¤¹¡£
<eg>&lt;!&como; declarations for &lt;head> &amp; &lt;body> &comc;&gt;</eg>
</p>
</div2>
<div2 id='sec-pi'>
<head>½èÍýÌ¿Îá</head>
<p><termdef id="dt-pi" term="Processing instruction"><term>½èÍýÌ¿Îá</term>(PI)¤Ë¤è¤Ã¤Æ¡¤&application;¤Î¤¿¤á¤ÎÌ¿Îá¤òʸ½ñ¤ËÆþ¤ì¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
<scrap lang="ebnf">
<head>½èÍýÌ¿Îá</head>
<prod id='NT-PI'><lhs>PI</lhs>
<rhs>'&lt;?' <nt def='NT-PITarget'>PITarget</nt>
(<nt def='NT-S'>S</nt>
(<nt def='NT-Char'>Char</nt>* -
(<nt def='NT-Char'>Char</nt>* &pic; <nt def='NT-Char'>Char</nt>*)))?
&pic;</rhs></prod>
<prod id='NT-PITarget'><lhs>PITarget</lhs>
<rhs><nt def='NT-Name'>Name</nt> -
(('X' | 'x') ('M' | 'm') ('L' | 'l'))</rhs>
</prod>
</scrap></termdef>
PI¤Ï¡¤Ê¸½ñ¤Î<termref def="dt-chardata">ʸ»ú¥Ç¡¼¥¿</termref>¤Î°ìÉô¤Ç¤Ï¤Ê¤¤¤¬¡¤&application;¤ËÅϤµ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£PI¤Ï¡¤Ì¿Î᤬ÅϤµ¤ì¤ë&application;¤ò&identify;¤¿¤á¤Ë»ÈÍѤ¹¤ë&target; (<nt def='NT-PITarget'>PITarget</nt>) ¤Ç»Ï¤Þ¤ë¡£&target;̾ "<code>XML</code>"¡¤"<code>xml</code>"¤Ê¤É¤Ï¡¤¤³¤Î&TR-or-Rec;¤Î¸½ºß¤ÎÈÇËô¤Ï¾­Íè¤ÎÈǤε¬³Ê²½ÍѤËͽÌ󤹤롣XML¤Î<termref def='dt-notation'>µ­Ë¡</termref>µ¡¹½¤ò¡¤PI¤Î&target;¤òÀë¸À¤¹¤ë¤¿¤á¤Ë»ÈÍѤ·¤Æ¤â¤è¤¤¡£
</p>
</div2>
<div2 id='sec-cdata-sect'>
<head>CDATA¥»¥¯¥·¥ç¥ó</head>
<p><termdef id="dt-cdsection" term="CDATA Section"><term>CDATA¥»¥¯¥·¥ç¥ó</term>¤Ï¡¤Ê¸»ú¥Ç¡¼¥¿¤¬½Ð¸½¤¹¤ë¤È¤³¤í¤Ç¤¢¤ì¤Ð¡¤¤É¤³¤Ë½Ð¸½¤·¤Æ¤â¤è¤¤¡£¤³¤ì¤Ï¡¤¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¤&markup;¤È¤·¤Æǧ¼±¤¹¤ëʸ»ú¤ò´Þ¤à¡¤¥Æ¥­¥¹¥È¤Î¶è²è¤ò&escape;¤¹¤ë¤Î¤Ë»ÈÍѤ¹¤ë¡£CDATA¥»¥¯¥·¥ç¥ó¤Ï¡¤&string;"<code>&lt;![CDATA[</code>"¤Ç»Ï¤Þ¤ê¡¤&string;
"<code>]]&gt;</code>"¤Ç½ª¤ï¤ë¡£
<scrap lang="ebnf">
<head>CDATA¥»¥¯¥·¥ç¥ó</head>
<prod id='NT-CDSect'><lhs>CDSect</lhs>
<rhs><nt def='NT-CDStart'>CDStart</nt>
<nt def='NT-CData'>CData</nt>
<nt def='NT-CDEnd'>CDEnd</nt></rhs></prod>
<prod id='NT-CDStart'><lhs>CDStart</lhs>
<rhs>'&lt;![CDATA['</rhs>
</prod>
<prod id='NT-CData'><lhs>CData</lhs>
<rhs>(<nt def='NT-Char'>Char</nt>* -
(<nt def='NT-Char'>Char</nt>* ']]&gt;' <nt def='NT-Char'>Char</nt>*))
</rhs>
</prod>
<prod id='NT-CDEnd'><lhs>CDEnd</lhs>
<rhs>']]&gt;'</rhs>
</prod>
</scrap>
CDATA¥»¥¯¥·¥ç¥óÆâ¤Ç¤Ï¡¤Îó<nt def='NT-CDEnd'>CDEnd</nt>¤À¤±¤ò&markup;¤È¤·¤Æǧ¼±¤¹¤ë¤Î¤Ç¡¤&left-angle-bracket;µÚ¤Ó¥¢¥ó¥Ñ¥µ¥ó¥É¤Ï¡¤¤½¤Î&literal;·Á¼°¤Ç½Ð¸½¤·¤Æ¤è¤¤¡£¤½¤ì¤é¤Ï¡¤"<code>&amp;lt;</code>"µÚ¤Ó"<code>&amp;amp;</code>"¤ò»ÈÍѤ·¤Æ&escape;¤¹¤ëɬÍפϤʤ¤¡£CDATA¥»¥¯¥·¥ç¥ó¤Ï¡¤Æþ¤ì»Ò¤Ë¤Ï¤Ç¤­¤Ê¤¤¡£
</termdef>
</p>
<p>"<code>&lt;greeting></code>"µÚ¤Ó"<code>&lt;/greeting></code>"¤ò¡¤<termref def='dt-markup'>&markup;</termref>¤Ç¤Ï¤Ê¤¯¡¤<termref def='dt-chardata'>ʸ»ú¥Ç¡¼¥¿</termref>¤È¤·¤Æǧ¼±¤¹¤ëCDATA¥»¥¯¥·¥ç¥ó¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;![CDATA[&lt;greeting>Hello, world!&lt;/greeting>]]&gt;</eg>
</p>
</div2>
<div2 id='sec-prolog-dtd'>
<head>&prolog;µÚ¤Óʸ½ñ·¿Àë¸À</head>
<p><termdef id='dt-xmldecl' term='XML Declaration'>XMLʸ½ñ¤Ï¡¤»ÈÍѤ¹¤ëXML¤Î&version;¤ò»ØÄꤹ¤ë<term>XMLÀë¸À</term>¤Ç»Ï¤á¤Æ¤â¤è¤¯¡¤Ëô¤½¤¦¤¹¤ë¤Î¤¬Ë¾¤Þ¤·¤¤¡£
</termdef>
</p>
<p>¤³¤Î&TR-or-Rec;¤Î¤³¤Î&version;¤ËŬ¹ç¤¹¤ë¤³¤È¤ò¼¨¤¹¤¿¤á¤Ë¤Ï¡¤&version;ÈÖ¹æ "<code>1.0</code>" ¤ò»ÈÍѤ·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤¢¤ëʸ½ñ¤¬¡¤¤³¤Î&TR-or-Rec;¤Î¤³¤Î&version;¤ËŬ¹ç¤·¤Ê¤¤¤È¤­¡¤ÃÍ"<code>1.0</code>"¤ò»ÈÍѤ¹¤ë¤Î¤Ï¡¤&error;¤È¤¹¤ë¡£¤³¤Î&TR-or-Rec;¤Îº£¸å¤Î&version;¤Ë"<code>1.0</code>"°Ê³°¤ÎÃͤòÉÕÍ¿¤¹¤ë¤³¤È¤¬¡¤XMLºî¶È¥°¥ë¡¼¥×¤Î°Õ¿Þ¤À¤¬¡¤XML¤Î¾­Íè¤Î&version;¤òºîÀ®¤¹¤ë¤³¤È¤Î³ÎÌó¤ò¼¨¤¹¤ï¤±¤Ç¤Ï¤Ê¤¯¡¤ºîÀ®¤·¤¿¤È¤·¤Æ¤â¡¤ÈÖ¹æÉÕ¤±¤Ë¤Ä¤¤¤Æ¡¤ÆÃÄê¤ÎÊýË¡¤ò»ÈÍѤ¹¤ë¤³¤È¤Î³ÎÌó¤ò¼¨¤¹¤ï¤±¤Ç¤â¤Ê¤¤¡£¾­Íè¤Î&version;¤Î²ÄǽÀ­¤ò½ü³°¤·¤Ê¤¤¤Î¤Ç¡¤É¬Íפʾì¹ç¡¤¼«Æ°Åª¤Ê&version;¤Îǧ¼±¤ò²Äǽ¤È¤¹¤ë¼êÃʤȤ·¤Æ¡¤¤³¤Î¹½À®»Ò¤òÄ󶡤¹¤ë¡£&processor;¤Ï¡¤¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Ê¤¤&version;¤Ç¥é¥Ù¥ëÉÕ¤±¤·¤¿Ê¸½ñ¤ò¼õ¤±¼è¤Ã¤¿¤È¤­¡¤&error;¤òÄÌÃΤ·¤Æ¤â¤è¤¤¡£
</p>
<p>XMLʸ½ñÆâ¤Î&markup;¤Îµ¡Ç½¤Ï¡¤µ­²±¹½Â¤µÚ¤ÓÏÀÍý¹½Â¤¤òµ­½Ò¤¹¤ë¤³¤È¡¤Ê¤ӤË°À­µÚ¤Ó°À­ÃͤÎÂФòÏÀÍý¹½Â¤¤Ë´ØÏ¢¤Å¤±¤ë¤³¤È¤Ë¤¢¤ë¡£XML¤Ï¡¤ÏÀÍý¹½Â¤¤Ë¤Ä¤¤¤Æ¤ÎÀ©Ìó¾ò·ï¤òÄêµÁ¤¹¤ë¤¿¤á¡¤µÚ¤Ó¤¢¤é¤«¤¸¤áÄêµÁ¤µ¤ì¤¿µ­²±Ã±°Ì¤ò»ÈÍѤǤ­¤ë¤¿¤á¤Îµ¡¹½¤È¤·¤Æ¡¤<termref def="dt-doctype">ʸ½ñ·¿Àë¸À</termref>¤òÄ󶡤¹¤ë¡£<!-- old
The function of the markup in an XML document is to describe its
storage and logical structures, and associate attribute-value pairs with the
logical structure.
XML provides a
mechanism, the <termref def="dt-doctype">document type declaration</termref>,
to
define constraints on that logical structure and to support the use of
predefined storage units. --><termdef id="dt-valid" term="Validity">XMLʸ½ñ¤¬<term>&valid;</term>¤È¤Ï¡¤Ê¸½ñ·¿Àë¸À¤ò¤â¤Á¡¤¤½¤Îʸ½ñ·¿Àë¸À¤Ë¼¨¤¹À©Ìó¾ò·ï¤òËþ¤¿¤¹¤³¤È¤È¤¹¤ë¡£
</termdef></p>
<p>ʸ½ñ·¿Àë¸À¤Ï¡¤Ê¸½ñ¤ÎºÇ½é¤Î<termref def="dt-element">Í×ÁÇ</termref>¤ÎÁ°¤Ë¸½¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
<scrap lang="ebnf" id='xmldoc'>
<head>&prolog;</head>
<prodgroup pcw2="6" pcw4="17.5" pcw5="9">
<prod id='NT-prolog'><lhs>prolog</lhs>
<rhs><nt def='NT-XMLDecl'>XMLDecl</nt>?
<nt def='NT-Misc'>Misc</nt>*
(<nt def='NT-doctypedecl'>doctypedecl</nt>
<nt def='NT-Misc'>Misc</nt>*)?</rhs></prod>
<prod id='NT-XMLDecl'><lhs>XMLDecl</lhs>
<rhs>&xmlpio;
<nt def='NT-VersionInfo'>VersionInfo</nt>
<nt def='NT-EncodingDecl'>EncodingDecl</nt>?
<nt def='NT-SDDecl'>SDDecl</nt>?
<nt def="NT-S">S</nt>?
&pic;</rhs>
</prod>
<prod id='NT-VersionInfo'><lhs>VersionInfo</lhs>
<rhs><nt def="NT-S">S</nt> 'version' <nt def='NT-Eq'>Eq</nt>
('"<nt def="NT-VersionNum">VersionNum</nt>"'
| "'<nt def="NT-VersionNum">VersionNum</nt>'")</rhs>
</prod>
<prod id='NT-Eq'><lhs>Eq</lhs>
<rhs><nt def='NT-S'>S</nt>? '=' <nt def='NT-S'>S</nt>?</rhs></prod>
<prod id="NT-VersionNum">
<lhs>VersionNum</lhs>
<rhs>([a-zA-Z0-9_.:] | '-')+</rhs>
</prod>
<prod id='NT-Misc'><lhs>Misc</lhs>
<rhs><nt def='NT-Comment'>Comment</nt> | <nt def='NT-PI'>PI</nt> |
<nt def='NT-S'>S</nt></rhs></prod>
</prodgroup>
</scrap></p>
<p>
Î㤨¤Ð¡¤¼¡¤Ë¼¨¤¹´°Á´¤ÊXMLʸ½ñ¤Ï¡¤<termref def="dt-wellformed">&well-formed;</termref>¤Ç¤¢¤ë¤¬<termref def="dt-valid">&valid;</termref>¤Ç¤Ï¤Ê¤¤¡£
<eg><![CDATA[<?xml version="1.0"?>
<greeting>Hello, world!</greeting>
]]></eg>
¼¡¤Îʸ½ñ¤âƱÍͤȤ¹¤ë¡£
<eg><![CDATA[<greeting>Hello, world!</greeting>
]]></eg>
</p>
<p><termdef id="dt-doctype" term="Document Type Declaration">
XML¤Î<term>ʸ½ñ·¿Àë¸À</term>¤Ï¡¤¤¢¤ëʸ½ñ¥¯¥é¥¹¤Î¤¿¤á¤Îʸˡ¤òÄ󶡤¹¤ë<termref def='dt-markupdecl'>&markup;Àë¸À</termref>¤ò´Þ¤à¤«¡¤Ëô¤Ï»²¾È¤¹¤ë¡£¤³¤Îʸˡ¤ò¡¤Ê¸½ñ·¿ÄêµÁËô¤Ï<term>DTD</term>¤È¤¤¤¦¡£Ê¸½ñ·¿Àë¸À¤Ï¡¤&markup;Àë¸À¤ò´Þ¤ó¤À³°Éô&subset;(ÆÃÊ̤ʼïÎà¤Î<termref def='dt-extent'>³°Éô¼ÂÂÎ</termref>)¤ò»²¾È¤Ç¤­¡¤Ëô¤ÏÆâÉô&subset;¤ËľÀÜ&markup;Àë¸À¤ò´Þ¤à¤³¤È¤â¤Ç¤­¤ë¡£¤µ¤é¤Ë¡¤¤½¤ÎξÊý¤â²Äǽ¤È¤¹¤ë¡£¤¢¤ëʸ½ñ¤ÎDTD¤Ï¡¤Î¾Êý¤Î&subset;¤ò¤Þ¤È¤á¤¿¤â¤Î¤È¤·¤Æ¹½À®¤¹¤ë¡£</termdef>
</p>
<p><termdef id="dt-markupdecl" term="markup declaration">
<term>&markup;Àë¸À</term>¤Ï¡¤<termref def="dt-eldecl">Í×ÁÇ·¿Àë¸À</termref>¡¤ <termref def="dt-attdecl">°À­¥ê¥¹¥ÈÀë¸À</termref>¡¤<termref def="dt-entdecl">¼ÂÂÎÀë¸À</termref>Ëô¤Ï<termref def="dt-notdecl">µ­Ë¡Àë¸À</termref>¤È¤¹¤ë¡£</termdef>¼¡¤Ë¼¨¤¹&well-formed;À©ÌóµÚ¤Ó&validity;À©Ìó¤Ëµ¬Äꤹ¤ë¤¬¡¤¤³¤ì¤é¤ÎÀë¸À¤Ï¡¤<termref def='dt-PE'>&parameter;¼ÂÂÎ</termref>Æâ¤ËÁ´ÂÎËô¤Ï°ìÉô¤¬´Þ¤Þ¤ì¤Æ¤â¤è¤¤¡£¾Ü¤·¤¤µ¬Äê¤Ï¡¤<titleref xml-link="simple" href="sec-physical-struct">ʪÍý¹½Â¤</titleref>¤Ë´Ø¤¹¤ëµ¬Äê¤ò»²¾È¤Î¤³¤È¡£</p>
<scrap lang="ebnf" id='dtd'>
<head>ʸ½ñ·¿ÄêµÁ</head>
<prodgroup pcw2="6" pcw4="17.5" pcw5="9">
<prod id='NT-doctypedecl'><lhs>doctypedecl</lhs>
<rhs>'&lt;!DOCTYPE' <nt def='NT-S'>S</nt>
<nt def='NT-Name'>Name</nt> (<nt def='NT-S'>S</nt>
<nt def='NT-ExternalID'>ExternalID</nt>)?
<nt def='NT-S'>S</nt>? ('['
(<nt def='NT-markupdecl'>markupdecl</nt>
| <nt def='NT-PEReference'>PEReference</nt>
| <nt def='NT-S'>S</nt>)*
']'
<nt def='NT-S'>S</nt>?)? '>'</rhs>
<vc def="vc-roottype"/>
<!--<vc def="vc-nonnullDTD"/>-->
</prod>
<!--
<prod id='NT-markupdecls'><lhs>markupdecls</lhs>
<rhs>
(<nt def='NT-S'>S</nt>?
<nt def='NT-markupdecl'>markupdecl</nt>
<nt def='NT-S'>S</nt>?)*
</rhs></prod>
-->
<prod id='NT-markupdecl'><lhs>markupdecl</lhs>
<rhs><nt def='NT-elementdecl'>elementdecl</nt>
| <nt def='NT-AttlistDecl'>AttlistDecl</nt>
| <nt def='NT-EntityDecl'>EntityDecl</nt>
| <nt def='NT-NotationDecl'>NotationDecl</nt>
| <nt def='NT-PI'>PI</nt>
| <nt def='NT-Comment'>Comment</nt>
<!--| <nt def='NT-InternalPERef'>InternalPERef</nt> --></rhs>
<vc def='vc-PEinMarkupDecl'/>
<wfc def="wfc-PEinInternalSubset"/>
</prod>
<!--
<prod id="NT-InternalPERef"><lhs>InternalPERef</lhs>
<rhs><nt def="NT-PEReference">PEReference</nt></rhs>
<wfc def="wfc-integraldec"/>
</prod>
-->
</prodgroup>
</scrap>
<vcnote id="vc-roottype">
<head>&root;Í×ÁÇ·¿</head>
<p>
ʸ½ñ·¿Àë¸À¤Ë¤ª¤±¤ë<nt def='NT-Name'>Name</nt>¤Ï¡¤&root;Í×ÁǤη¿¤È&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<!--
<vcnote id="vc-nonnullDTD">
<head>Non-null DTD</head>
<p>
The internal and external subsets of the DTD must not both
be empty.
</p>
</vcnote>
-->
<vcnote id='vc-PEinMarkupDecl'>
<head>Àë¸ÀµÚ¤Ó&parameter;¼ÂÂΤ¬¸·Ì©¤ËÆþ¤ì»Ò¤ò¤Ê¤¹¤³¤È</head>
<p>&parameter;¼ÂÂÎ<termref def='dt-repltext'>¤Î&replacement-text;</termref>¤Ï¡¤&markup;Àë¸ÀÆâ¤Ë¤ª¤¤¤Æ¡¤¸·Ì©¤ËÆþ¤ì»Ò¤Ë¤Ê¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤Ä¤Þ¤ê¡¤&markup;Àë¸À(<nt def='NT-markupdecl'>markupdecl</nt>)¤ÎºÇ½éËô¤ÏºÇ¸å¤Îʸ»ú¤¬¡¤<termref def='dt-PERef'>&parameter;¼ÂÂλ²¾È</termref>¤ÎÂоݤȤʤë&replacement-text;¤Ë´Þ¤Þ¤ì¤ì¤Ð¡¤Î¾Êý¤È¤âƱ¤¸&replacement-text;¤Ë´Þ¤Þ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
</vcnote>
<wfcnote id="wfc-PEinInternalSubset">
<head>ÆâÉô&subset;Æâ¤Î&parameter;¼ÂÂÎ</head>
<p>DTD¤ÎÆâÉô&subset;¤Ç¤Ï¡¤<termref def='dt-PERef'>&parameter;¼ÂÂλ²¾È</termref>¤Ï¡¤&markup;Àë¸À¤¬½Ð¸½²Äǽ¤Ê¾ì½ê¤À¤±¤Ë½Ð¸½¤Ç¤­¤ë¡£&markup;Àë¸ÀÆâ¤Ë¤Ï½Ð¸½¤Ç¤­¤Ê¤¤(¤³¤ÎÀ©Ìó¤Ï¡¤³°Éô&parameter;¼ÂÂÎËô¤Ï³°Éô&subset;¤Ç¤Î»²¾È¤Ë¤ÏŬÍѤ·¤Ê¤¤¡£)¡£
</p>
</wfcnote>
<p>
ÆâÉô&subset;¤Î¤È¤­¤ÈƱÍͤˡ¤³°Éô&subset;µÚ¤ÓDTD¤Ë¤ª¤¤¤Æ»²¾È¤¹¤ëǤ°Õ¤Î³°Éô&parameter;¼ÂÂΤϡ¤Èó½ªÃ¼µ­¹æ<nt def="NT-markupdecl">markupdecl</nt>¤Ë¤è¤Ã¤Æµö¤µ¤ì¤ë·¿¤Î¡¤°ìÏ¢¤Î´°Á´¤Ê&markup;Àë¸À¤Ç¹½À®¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£&markup;Àë¸À¤Î´Ö¤Ë¤Ï¡¤¶õÇòËô¤Ï<termref def="dt-PERef">&parameter;¼ÂÂλ²¾È</termref>¤òÃÖ¤¤¤Æ¤â¤è¤¤¡£¤·¤«¤·¡¤³°Éô&subset;Ëô¤Ï³°Éô&parameter;¼ÂÂΤÎÆâÍƤΰìÉô¤Ï¡¤<termref def="dt-cond-section">¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó</termref>¤ò»ÈÍѤ·¤Æ̵»ë¤·¤Æ¤â¤è¤¤¡£ÆâÉô¥µ¥Ö¥»¥Ã¥È¤Ç¤Ï¡¤¤³¤ì¤Ïµö¤µ¤ì¤Ê¤¤¡£
<!--In the external subset, however, parameter-entity references can
be used to replace constructs prefixed by "<code>%</code>" in a production of
the grammar, and <termref def="dt-cond-section">conditional sections</termref>
may occur.
In the internal subset, by contrast, conditional sections may not
occur and the only parameter-entity references
allowed are those which match the non-terminal
<nt def="NT-InternalPERef">InternalPERef</nt>
within the rule for <nt def="NT-doctypedecl">markupdecl</nt>.
-->
<scrap id="ext-Subset">
<head>³°Éô&subset;</head>
<prodgroup pcw2="6" pcw4="17.5" pcw5="9">
<prod id='NT-extSubset'><lhs>extSubset</lhs>
<rhs>(
<nt def='NT-markupdecl'>markupdecl</nt>
| <nt def='NT-conditionalSect'>conditionalSect</nt>
| <nt def='NT-PEReference'>PEReference</nt>
| <nt def='NT-S'>S</nt>
)*</rhs>
</prod>
</prodgroup>
</scrap></p>
<p>³°Éô&subset;µÚ¤Ó³°Éô&parameter;¼ÂÂΤϡ¤¤½¤ÎÆâ¤Ç¤Ï¡¤&parameter;¼ÂÂΤ¬&markup;Àë¸À¤Î<emph>´Ö</emph>¤À¤±¤Ç¤Ê¤¯¡¤&markup;Àë¸À¤Î<emph>Æâ</emph>¤Ç¤âǧ¼±¤µ¤ì¤ë¡¤¤È¤¤¤¦ÅÀ¤Ç¤âÆâÉô&subset;¤È¤Ï°Û¤Ê¤ë¡£
</p>
<p>ʸ½ñ·¿Àë¸ÀÉÕ¤­¤ÎXMLʸ½ñ¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg><![CDATA[<?xml version="1.0"?>
<!DOCTYPE greeting SYSTEM "hello.dtd">
<greeting>Hello, world!</greeting>
]]></eg>
<termref def="dt-sysid">¥·¥¹¥Æ¥à&identifier;</termref> "<code>hello.dtd</code>"¤¬¡¤Ê¸½ñ¤ÎDTD¤ÎURI¤È¤Ê¤ë¡£</p>
<p>¼¡¤ÎÎã¤Î¤È¤ª¤ê¡¤Àë¸À¤ò¶É½êŪ¤ËÍ¿¤¨¤ë¤³¤È¤â¤Ç¤­¤ë¡£
<eg><![CDATA[<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE greeting [
<!ELEMENT greeting (#PCDATA)>
]>
<greeting>Hello, world!</greeting>
]]></eg>
³°Éô&subset;µÚ¤ÓÆâÉô&subset;¤ÎξÊý¤ò»ÈÍѤ¹¤ë¤È¤­¤Ï¡¤ÆâÉô&subset;¤¬³°Éô&subset;¤è¤êÀè¤Ë½Ð¸½¤·¤¿¤È¸«¤Ê¤¹¡£<!--* 'is considered to'? boo. whazzat mean? -->¤³¤ì¤Ï¡¤ÆâÉô&subset;¤Î¼ÂÂεڤÓ°À­¥ê¥¹¥ÈÀë¸À¤¬¡¤³°Éô&subset;¤Î¼ÂÂεڤÓ°À­¥ê¥¹¥ÈÀë¸À¤è¤êÍ¥À褹¤ë¤È¤¤¤¦¸ú²Ì¤ò¤â¤¿¤é¤¹¡£
</p>
</div2>
<div2 id='sec-rmd'>
<head>&standalone;ʸ½ñÀë¸À</head>
<p><termref def="dt-xml-proc">XML&processor;</termref>¤Ï¡¤&application;¤Ëʸ½ñ¤ÎÆâÍƤòÅϤ¹¤¬¡¤&markup;Àë¸À¤Ï¡¤¤³¤ÎÆâÍƤ˱ƶÁ¤òÍ¿¤¨¤ë¤³¤È¤¬¤¢¤ë¡£Â°À­¤Î&default-value;µÚ¤Ó¼ÂÂÎÀë¸À¤ò¤½¤ÎÎã¤È¤¹¤ë¡£XMLÀë¸À¤Î°ìÉôʬ¤È¤·¤Æ½Ð¸½¤Ç¤­¤ë&standalone;ʸ½ñÀë¸À¤Ï¡¤Ê¸½ñ¤¬¡¤¤½¤Î&markup;Àë¸À¤Î¸ºß¤Ë¤è¤Ã¤Æ±Æ¶Á¤µ¤ì¤Ê¤¤¤³¤È¤ò»Ø¤·¼¨¤¹¡ÊÉáÄÌ¡¤¤½¤Î&markup;Àë¸À¤¬Â¸ºß¤·¤Ê¤¤¤¿¤á¤Ë¡¤¤³¤ì¤¬¤¤¤¨¤ë¡£¡Ë¡£
<scrap lang="ebnf" id='fulldtd'>
<head>&standalone;ʸ½ñÀë¸À</head>
<prodgroup pcw2="4" pcw4="19.5" pcw5="9">
<prod id='NT-SDDecl'><lhs>SDDecl</lhs>
<rhs>
<nt def="NT-S">S</nt>
'standalone' <nt def='NT-Eq'>Eq</nt> "'" ('yes' | 'no') "'"
</rhs>
<rhs>
| <nt def="NT-S">S</nt>
'standalone' <nt def='NT-Eq'>Eq</nt> '"' ('yes' | 'no') '"'
</rhs><vc def='vc-check-rmd'/></prod>
</prodgroup>
</scrap></p>
<p>&standalone;ʸ½ñÀë¸À¤Ë¤ª¤¤¤Æ¤Ï, "<code>yes</code>"¤ÎÃͤϡ¤<termref def='dt-docent'>ʸ½ñ¼ÂÂÎ</termref>¤Î³°Éô¤Ë¡ÊDTD¤Î³°Éô&subset;Æâ¤Ë¡¤Ëô¤ÏÆâÉô&subset;¤«¤é»²¾È¤µ¤ì¤ë³°Éô¥Ñ¥é¥á¥¿¼ÂÂÎÆâ¤Ë¡Ë¡¤XML&processor;¤«¤é&application;¤Ø¤ÈÅϤµ¤ì¤ë¾ðÊó¤Ë±Æ¶Á¤¹¤ë&markup;Àë¸À¤¬Â¸ºß¤·¤Ê¤¤¤³¤È¤ò°ÕÌ£¤¹¤ë¡£"<code>no</code>"¤ÎÃͤϡ¤¤½¤Î³°Éô&markup;Àë¸À¤¬Â¸ºß¤¹¤ë¤«¡¤Ëô¤Ï¸ºß¤¹¤ë²ÄǽÀ­¤¬¤¢¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë¡£&standalone;ʸ½ñÀë¸À¤Ï¡¤¤½¤Î<emph>Àë¸À</emph>¤¬Ê¸½ñ³°Éô¤Ë¸ºß¤¹¤ë¤«¤É¤¦¤«¤ò¼¨¤¹¤À¤±¤ËÃí°Õ¤¹¤ë¤³¤È¡£³°Éô¼ÂÂΤؤλ²¾È¤¬Ê¸½ñÆâ¤Ë¸ºß¤·¤Æ¤¤¤Æ¤â¡¤¤½¤Î¼ÂÂΤ¬ÆâÉôŪ¤ËÀë¸À¤µ¤ì¤Æ¤¤¤ë¤È¤­¤Ï¡¤Ê¸½ñ¤Î&standalone;¤Î¾õÂ֤ˤϱƶÁ¤òÍ¿¤¨¤Ê¤¤¡£</p>
<p>³°Éô¤Ë&markup;Àë¸À¤¬Â¸ºß¤·¤Ê¤±¤ì¤Ð¡¤&standalone;ʸ½ñÀë¸À¤Ï°ÕÌ£¤ò¤â¤¿¤Ê¤¤¡£³°Éô¤Ë&markup;Àë¸À¤¬Â¸ºß¤·¡¤&standalone;ʸ½ñÀë¸À¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç¤Ï¡¤<code>"no"</code> ¤ÎÃͤÎÀßÄê¤ò²¾Äꤹ¤ë¡£</p>
<p>XMLʸ½ñ¤Ç <code>standalone="no"</code> ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¤â¤Î¤Ï¡¤¤¢¤ë¥¢¥ë¥´¥ê¥º¥à¤Ç&standalone;ʸ½ñ¤ËÊÑ´¹¤Ç¤­¡¤¤³¤Îʸ½ñ¤Ï¡¤¥Í¥Ã¥È¥ï¡¼¥¯ÇÛ¿®&application;¤Ë¤È¤Ã¤Æ˾¤Þ¤·¤¤¤«¤â¤·¤ì¤Ê¤¤¡£</p>
<vcnote id='vc-check-rmd'>
<head>&standalone;ʸ½ñÀë¸À</head>
<p>&standalone;ʸ½ñÀë¸À¤Ï¡¤²¿¤é¤«¤Î³°Éô&markup;Àë¸À¤¬¼¡¤Î¤¤¤º¤ì¤«¤òÀë¸À¤·¤Æ¤¤¤ë¤È¤­¤Ï¡¤ÃÍ "<code>no</code>" ¤ò¼è¤é¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
<ulist>
<item><p>a) <termref def="dt-default">&default;</termref>ÃÍÉÕ¤­¤Î°À­¤Ç¤¢¤Ã¤Æ¡¤¤³¤Î°À­¤¬Å¬ÍѤµ¤ì¤ëÍ×ÁǤ¬¡¤Â°À­Ãͤò»ØÄꤻ¤º¤Ëʸ½ñÆâ¤Ë¸½¤ì¤ë¤â¤Î¡£</p></item>
<item><p>b) &magicents;°Ê³°¤Î¼ÂÂΤǤ¢¤Ã¤Æ¡¤¤½¤Î¼ÂÂΤËÂФ¹¤ë<termref def="dt-entref">»²¾È</termref>¤¬Ê¸½ñÆâ¤Ë½Ð¸½¤¹¤ë¤â¤Î¡£</p>
</item>
<item><p>c) Ãͤ¬<titleref href='AVNormalize'>Àµµ¬²½</titleref>¤ÎÂоݤȤʤë°À­¤Ç¤¢¤Ã¤Æ¡¤Àµµ¬²½¤Î·ë²Ì¤È¤·¤ÆÊѲ½¤¹¤ëÃͤ¬Ê¸½ñÆâ¤Ç°À­¤Ë»ØÄꤵ¤ì¤ë¤â¤Î¡£</p></item>
<item>
<p>d) <termref def="dt-elemcontent">Í×ÁÇÆâÍÆ</termref>¤ò¤â¤ÄÍ×ÁÇ·¿¤Ç¤¢¤Ã¤Æ¡¤¶õÇò¤¬¤½¤ÎÍ×ÁÇ·¿¤Î¤¤¤º¤ì¤«¤Î¥¤¥ó¥¹¥¿¥ó¥¹Æâ¤ËľÀܸ½¤ì¤ë¤â¤Î¡£
</p></item>
</ulist>
</p>
</vcnote>
<p>&standalone;ʸ½ñÀë¸ÀÉÕ¤­¤ÎXMLÀë¸À¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;?xml version="&XML.version;" standalone='yes'?></eg></p>
</div2>
<div2 id='sec-white-space'>
<head>¶õÇò¤Î¼è°·¤¤</head>
<p>XMLʸ½ñ¤òÊÔ½¸¤¹¤ë¤È¤­¤Ï¡¤&markup;¤òÌÜΩ¤¿¤»Æɤߤ䤹¤¯¤¹¤ë¤¿¤á¤Ë¡¤¡È¶õÇò¡É(&space;¡¤¥¿¥ÖµÚ¤Ó¶õÇò¹Ô¡£¤³¤Î&TR-or-Rec;¤Ç¤Ï¡¤Èó½ªÃ¼µ­¹æ¤Î<nt def='NT-S'>S</nt>¤Çɽ¤¹)¤ò»È¤¦¤ÈÊØÍø¤Ê¤³¤È¤¬Â¿¤¤¡£¤½¤Î¶õÇò¤Ï¡¤ÇÛÉÛ¤¹¤ë&version;¤Îʸ½ñ¤Î°ìÉô¤È¤·¤Æ´Þ¤á¤ë¤³¤È¤ò°Õ¿Þ¤·¤Ê¤¤¤Î¤òÉáÄ̤Ȥ¹¤ë¡£¤·¤«¤·¡¤¡È°ÕÌ£¤Î¤¢¤ë¡É¶õÇò¤Ç¤¢¤Ã¤Æ¡¤ÇÛÉÛ¤¹¤ë&version;¤Ë»Ä¤µ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤â¤Î¤â¿¤¤¡£Î㤨¤Ð¡¤»íµÚ¤Ó¥½¡¼¥¹¥³¡¼¥É¤Ë¤ª¤±¤ë¶õÇò¤¬¤¢¤ë¡£</p>
<p><termref def='dt-xml-proc'>XML&processor;</termref>¤Ï¡¤Ê¸½ñÆâ¤Î&markup;°Ê³°¤Î¤¹¤Ù¤Æ¤Îʸ»ú¤ò¡¤¤½¤Î¤Þ¤ÞÊѹ¹¤»¤º¤Ë&application;¤ËÅϤµ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£<termref def='dt-validating'>&validating;XML&processor;</termref>¤Ï¡¤<termref def="dt-elemcontent">Í×ÁÇÆâÍÆ</termref>¤ÎÃæ¤Î¶õÇò¤ò¾¤ÎÈó&markup;ʸ»ú¤«¤é¶èÊ̤·¡¤&application;¦¤ËÍ×ÁÇÆâÍƤÎÃæ¤Î¶õÇò¤¬½ÅÍפǤʤ¤¤È¤¤¤¦¤³¤È¤òÅÁ¤¨¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
<p>
"<code>xml:space</code>"¤È¤¤¤¦ÆÃÊ̤Ê<termref def='dt-attr'>°À­</termref>¤òʸ½ñ¤ËÁÞÆþ¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¤¶õÇò¤ò½ÅÍפȤ¹¤ë°Õ¿Þ¤ò¼¨¤·¤Æ¤â¤è¤¤¡£¤³¤Î°À­¤òŬÍѤ¹¤ëÍ×ÁǤ˸½¤ì¤ë¶õÇò¤ò¡¤¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬½ÅÍפʤâ¤Î¤È¤·¤Æ°·¤¦¤³¤È¤òÍ׵᤹¤ë¡¤¤È¤¤¤¦°Õ¿Þ¤ò¼¨¤¹¡£</p>
<p>&valid;¤Êʸ½ñ¤Ç¤Ï¡¤¤³¤Î°À­¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¤Â¾¤Î°À­¤ÈƱ¤¸¤è¤¦¤Ë<termref def="dt-attdecl">Àë¸À</termref>¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£Àë¸À¤¹¤ë¤È¤­¤Ï¡¤¼è¤êÆÀ¤ëÃͤò"<code>default</code>"µÚ¤Ó "<code>preserve</code>"¤À¤±¤È¤¹¤ë<termref def='dt-enumerated'>Îóµó·¿</termref>¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
<p>ÃÍ"<code>default</code>"¤Ï¡¤&application;¤Î&default;¤Î¶õÇò½èÍý¥â¡¼¥É¤ò¡¤¤½¤ÎÍ×ÁǤËŬÍѲÄǽ¤È¤¹¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë¡£ÃÍ"<code>preserve</code>"¤Ï¡¤&application;¤¬¤¹¤Ù¤Æ¤Î¶õÇò¤òÊݸ¤¹¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë¡£¤³¤ÎÀë¸À¤Î°Õ¿Þ¤Ï¡¤"<code>xml:space</code>" °À­¤ÎÊ̤λØÄê¤Ç¾å½ñ¤­¤·¤Ê¤¤¸Â¤ê¡¤Í×ÁǤÎÆâÍƤ˸½¤ì¤ë¤¹¤Ù¤Æ¤ÎÍ×ÁǤËŬÍѤ¹¤ë¤È²ò¼á¤¹¤ë¡£</p>
<p>ʸ½ñ¤Î<termref def='dt-root'>&root;Í×ÁÇ</termref>¤Ë¤Ä¤¤¤Æ¤Ï¡¤¤³¤Î°À­¤ÎÃͤò»ØÄꤹ¤ë¤«¡¤Ëô¤Ï¤³¤Î°À­¤Î&default-value;¤¬¤¢¤ë¾ì¹ç¤ò½ü¤¤¤Æ¤Ï¡¤&application;¤Ë¤è¤ë¶õÇò¤Î¼è°·¤¤¤Ë¤Ä¤¤¤Æ¡¤¤¤¤«¤Ê¤ë°Õ¿Þ¤â¼¨¤µ¤Ê¤¤¤È²ò¼á¤¹¤ë¡£</p>
<p>Îã¤ò¼¡¤Ë¼¨¤¹¡£
<eg><![CDATA[ <!ATTLIST poem xml:space (default|preserve) 'preserve'>]]></eg>
</p>
</div2>
<div2 id='sec-line-ends'>
<head>¹ÔËö¤Î¼è°·¤¤</head>
<p>XML¤Î<termref def='dt-parsedent'>¹½Ê¸&parsed-entity;</termref>¤Ï¡¤Ä̾拾¥ó¥Ô¥å¡¼¥¿¤Î¥Õ¥¡¥¤¥ëÆâ¤ËÊݸ¤µ¤ì¡¤ÊÔ½¸¤ÎÊص¹¤Î¤¿¤á¤ËÊ£¿ô¤Î¹Ô¤Ëʬ¤±¤ë¤³¤È¤¬Â¿¤¤¡£¤³¤ì¤é¤Î¹Ô¤Ï¡¤ÉáÄ̤ϡ¤<code>CR</code> (#xD)¥³¡¼¥ÉµÚ¤Ó <code>LF</code> (#xA)¥³¡¼¥É¤Î²¿¤é¤«¤ÎÁȹ礻¤Ë¤è¤Ã¤Æʬ¤±¤é¤ì¤ë¡£</p>
<p><termref def='dt-app'>&application;</termref>¤Î½èÍý¤ò´Êñ¤Ë¤¹¤ë¤¿¤á¡¤³°Éô&parsed-entity;Ëô¤ÏÆâÉô&parsed-entity;¤Î&literal;¼ÂÂÎÃͤ¬¡¤"<code>#xD#xA</code>" ¤Î£²Ê¸»ú¤ÎϢ³¤È¤¹¤ë&literal;Ëô¤Ï<code>#xD</code>¤ÎñÆȤÎ&literal;¤ò´Þ¤à¾ì¹ç¤Ë¡¤<termref def='dt-xml-proc'>XML&processor;</termref>¤Ï¡¤&application;¤Ëñ°ì¤Îʸ»ú<code>#xA</code>¤À¤±¤òÅϤµ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤(¤³¤Î½èÍý¤Ï¡¤ÆþÎÏÆâ¤Ë¸ºß¤¹¤ë²þ¹Ô¥³¡¼¥É¤ò¹½Ê¸²òÀϤÎÁ°¤ËÀµµ¬²½¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¤Íưפ˼¸½¤Ç¤­¤ë¡£)¡£</p>
</div2>
<div2 id='sec-lang-tag'>
<head>&language-identification;</head>
<p>ʸ½ñ½èÍý¤Ë¤ª¤¤¤Æ¤Ï¡¤¤½¤Îʸ½ñ¤ÎÃæ¿È¤¬¤É¤ó¤Ê¼«Á³¸À¸ìËô¤Ï·Á¼°¸À¸ì¤Ç½ñ¤«¤ì¤Æ¤¤¤ë¤«ÌÀ¼¨¤¹¤ë¤³¤È¤¬¡¤Ìò¤ËΩ¤Ä¤³¤È¤¬Â¿¤¤¡£<!--¤³¤³¤Ç»ÈÍѤ¹¤ë¡È¸À¸ì¡É¤È¤¤¤¦¸ÀÍդΰÕÌ£¤Ï¡¤"Espa&#x00F1;ol" µÚ¤Ó"EBNF"¤ÎÁÐÊý¤ÇÎ㼨¤µ¤ì¤ë°ÕÌ£¤È¤¹¤ë¡£--><!-- x00F1: spanish's small ntilde--></p>
<!--; ¤³¤Î¾ðÊó¤Ï¡ÊÎã¤ò¤¢¤²¤ì¤Ð¡Ëʸ½ñ¤Îʸ»ú¤Îɽ¼¨¡¤Ê¤Ӥ˾ðÊóÃê½Ð¤Î¤¿¤á¤Î¸ì´´¡¦·ÁÂÖÁDzòÀϵڤӥƥ­¥¹¥È¥Ö¥í¥Ã¥¯¤ÎÀ°·Á¤Ë±Æ¶Á¤òµÚ¤Ü¤¹²ÄǽÀ­¤¬¤¢¤ë¡£-->
<p>XMLʸ½ñÆâ¤ÎÍ×ÁǤΤâ¤ÄÆâÍÆËô¤Ï°À­Ãͤˤª¤¤¤Æ»ÈÍѤ¹¤ë<!--¼«Á³Ëô¤Ï·Á¼°-->¸À¸ì¤ò»ØÄꤹ¤ë¤¿¤á¤Ë¡¤"<code>xml:lang</code>" ¤È¤¤¤¦Ì¾Á°¤ÎÆÃÊ̤Ê<termref def="dt-attr">°À­</termref>¤ò¡¤Ê¸½ñÆâ¤ËÁÞÆþ¤·¤Æ¤â¤è¤¤¡£
<!--; ¤³¤Î°À­¤ÏXMLµ¬Äê¤Î°ìÉô¤È¤·¤Æ¡¤Ê£¿ô¤ÎXML&application;¤ÎÁê¸ß±¿ÍÑÀ­¤ò¹â¤á¤ë¤¿¤á¤ËÄêµÁ¤¹¤ë¡£-->
°À­¤ÎÃͤϡ¤<bibref ref="RFC1766"/>¡ÈRFC1766¡§&language-identification;¤Î¤¿¤á¤Î¥¿¥°¡É¤Ë¤è¤Ã¤Æµ¬Äꤵ¤ì¤ë&language-identification;¥³¡¼¥É¤Ë½¾¤¦¡£
<scrap lang='ebnf'>
<head>&language-identification;</head>
<prod id='NT-LanguageID'><lhs>LanguageID</lhs>
<rhs><nt def='NT-Langcode'>Langcode</nt>
('-' <nt def='NT-Subcode'>Subcode</nt>)*</rhs></prod>
<prod id='NT-Langcode'><lhs>Langcode</lhs>
<rhs><nt def='NT-ISO639Code'>ISO639Code</nt> |
<nt def='NT-IanaCode'>IanaCode</nt> |
<nt def='NT-UserCode'>UserCode</nt></rhs>
</prod>
<prod id='NT-ISO639Code'><lhs>ISO639Code</lhs>
<rhs>([a-z] | [A-Z]) ([a-z] | [A-Z])</rhs></prod>
<prod id='NT-IanaCode'><lhs>IanaCode</lhs>
<rhs>('i' | 'I') '-' ([a-z] | [A-Z])+</rhs></prod>
<prod id='NT-UserCode'><lhs>UserCode</lhs>
<rhs>('x' | 'X') '-' ([a-z] | [A-Z])+</rhs></prod>
<prod id='NT-Subcode'><lhs>Subcode</lhs>
<rhs>([a-z] | [A-Z])+</rhs></prod>
</scrap>
<nt def='NT-Langcode'>Langcode</nt>¤Ï¡¤¼¡¤Î¤É¤ì¤Ç¤â¤è¤¤¡£
<ulist>
<item><p>a) <bibref ref="ISO639"/>¡È¸À¸ì¤Î̾Á°É½¸½¤Î¤¿¤á¤Î¥³¡¼¥É¡É¤Çµ¬Äꤵ¤ì¤ë2ʸ»ú¤Î&language-code;</p></item>
<item><p>b) Internet Assigned Numbers Authority (IANA)¤ÇÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë&language-code;¡£¤³¤ì¤Ï¡¤ÀèƬ¤¬ "<code>i-</code>" (Ëô¤Ï"<code>I-</code>")¤Ç»Ï¤Þ¤ë¡£</p></item>
<item><p>c) &user;¤Ë¤è¤Ã¤ÆÄê¤á¤é¤ì¤¿&language-code;¡¤Ëô¤Ï»äŪ¤Ê»ÈÍѤΤ¿¤á¤ËÊ£¿ô¤ÎÃÄÂδ֤¬¼è¤ê·è¤á¤¿¥³¡¼¥É¡£¤³¤ì¤é¤Ï¡¤º£¸åIANA¤Ë¤ª¤¤¤Æɸ½à²½Ëô¤ÏÅÐÏ¿¤µ¤ì¤ë¥³¡¼¥É¤È¤Î¶¥¹ç¤òÈò¤±¤ë¤¿¤á¤Ë¡¤ÀèƬ¤ò"<code>x-</code>" Ëô¤Ï "<code>X-</code>" ¤Ç»Ï¤á¤ë¡£</p></item>
</ulist></p>
<p><nt def='NT-Subcode'>Subcode</nt>¤Ï¡¤Ê£¿ô²ó»È¤Ã¤Æ¤â¤è¤¤¡£ºÇ½é¤Î¥µ¥Ö¥³¡¼¥É¤¬Â¸ºß¤·¡¤¤½¤ÎÆâÍƤ¬Æó¤Ä¤Îʸ»ú¤«¤éÀ®¤ë¤È¤­¤Ï¡¤<bibref ref="ISO3166"/>ISO3166¤Î¡È¹ñ̾¤òɽ¤¹¥³¡¼¥É(¹ñ¥³¡¼¥É)¡É¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£ºÇ½é¤Î¥µ¥Ö¥³¡¼¥É¤¬3ʸ»ú°Ê¾å¤«¤éÀ®¤ë¤È¤­¤Ï¡¤<nt def='NT-Langcode'>Langcode</nt>¤ÎÀèƬ¤¬¡¤"<code>x-</code>" Ëô¤Ï "<code>X-</code>"¤Ç»Ï¤Þ¤é¤Ê¤¤¸Â¤ê¡¤»ØÄꤷ¤¿¸À¸ì¤ËÂФ¹¤ë¥µ¥Ö¥³¡¼¥É¤È¤·¡¤IANA¤ËÅÐÏ¿¤µ¤ì¤¿¤â¤Î¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
<p>&language-code;¤Ï¡¤¾®Ê¸»ú¤Ç¤Îɽµ­¤ò¡¤&country-code;¤Ï¡¤(¸ºß¤¹¤ë¤Ê¤é¤Ð)Âçʸ»ú¤Ç¤Îɽµ­¤ò´·¹Ô¤È¤¹¤ë¡£¤·¤«¤·¡¤XMLʸ½ñÆâ¤Ë¤ª¤±¤ë¾¤Î̾Á°¤È¤Ï°Û¤Ê¤ê¡¤¤³¤ì¤é¤ÎÃͤˤĤ¤¤Æ¤Ï¡¤Âçʸ»úµÚ¤Ó¾®Ê¸»ú¤Î¶èÊ̤ò¤·¤Ê¤¤¤³¤È¤ËÃí°Õ¤¹¤ë¤³¤È¡£</p>
<p>Îã¤ò¼¡¤Ë¼¨¤¹¡£
<eg><![CDATA[<p xml:lang="en">The quick brown fox jumps over the lazy dog.</p>
<p xml:lang="en-GB">What colour is it?</p>
<p xml:lang="en-US">What color is it?</p>
<sp who="Faust" desc='leise' xml:lang="de">
<l>Habe nun, ach! Philosophie,</l>
<l>Juristerei, und Medizin</l>
<l>und leider auch Theologie</l>
<l>]]><!-- x00DF german's es-zet; x00FC german's u-umlaut -->durchaus studiert mit hei&#223;em Bem&#252;h'n.<![CDATA[</l>
</sp>]]></eg></p>
<!--<p>xml:lang ¤ÎÃͤϡ¤Í×ÁǤÎÆâÍƵڤÓ(°À­¤Î&default-value;¤ÇÄê¤á¤Ê¤¤¸Â¤ê)¥Õ¥ê¡¼¥Æ¥­¥¹¥È(CDATA)¤ÎÃͤò¤â¤Ä¤½¤ÎÍ×ÁǤؤΤ¹¤Ù¤Æ¤Î°À­¤ÎÃͤˤĤ¤¤Æ¡¤¤½¤ÎξÊý¤ËŬÍѤ¹¤ë¡£-->
<p><code>xml:lang</code>¤ÇÀë¸À¤¹¤ë°Õ¿Þ¤Ï¡¤<code>xml:lang</code>¤ÎÊ̤λØÄê¤Ç¾å½ñ¤·¤Ê¤¤¸Â¤ê¡¤»ØÄꤷ¤¿Í×ÁǤÎÆâÍƤ˴ޤह¤Ù¤Æ¤ÎÍ×ÁǤËŬÍѤ¹¤ë¡£</p>
<!--¤¢¤ëÍ×ÁǤˤª¤±¤ë xml:lang °À­¤ÎÃͤ¬Äê¤á¤é¤ì¤Æ¤ª¤é¤º¡¤DTD¤Ë¤ª¤¤¤Æ¤½¤Î&default-value;¤¬Äê¤á¤é¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¤¤½¤ÎÍ×ÁǤÎxml:lang °À­¤ÎÃͤϡ¤¿ÆÍ×ÁǤǤÎÃͤ¬Â¸ºß¤¹¤ë¾ì¹ç¤Ï¡¤¤½¤ì¤ò°ú¤­·Ñ¤°¡£ ¼¡¤ÎÎã¤Ë¤ª¤±¤ëÆó¤Ä¤Î<term>¤È¤¤¤¦Ì¾Á°¤ÎÀìÌçÍѸì¤òɽ¤¹Í×ÁǤϡ¤xml:lang¤ÎÃͤ˴ؤ·¤Æ¤Ï¡¤¼ÂºÝ¾å¡¤Æ±¤¸Ãͤò¤â¤Ä¡£
<p xml:lang="en">Here the keywords are
<term xml:lang="en">shift</term> and
<term>reduce</term>. ...</p>
XML&processor;¤Ç¤Ï¤Ê¤¯&application;¤¬¡¤¤³¤Î°À­ÃͤηѾµ¤Ë¤Ä¤¤¤ÆÀÕǤ¤ò¤â¤Ä¡£
-->
<p>
&valid;¤Êʸ½ñ¤Ë¤ª¤¤¤Æ¤Ï¡¤¤³¤Î&TR-or-Rec;¤Î¾¤Î¾ì½ê¤Çµ¬Äꤹ¤ë¤È¤ª¤ê¡¤¤³¤Î°À­¤òɬ¤ºÀë¸À¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£Ä̾Àë¸À¤Ï¡¤¼¡¤Î·Á¤È¤¹¤ë¡£
<eg>xml:lang NMTOKEN #IMPLIED</eg>
ɬÍפʤé¤Ð¡¤ÆÃÄê¤Î&default-value;¤òÍ¿¤¨¤Æ¤â¤è¤¤¡£±Ñ¸ì¤òÊì¸ì¤È¤¹¤ë³ØÀ¸ÍѤΥեé¥ó¥¹¸ì¤Î»í½¸¤Ç¤Ï¡¤ÀâÌÀµÚ¤ÓÃí¤ò±Ñ¸ì¤Çµ­½Ò¤¹¤ì¤Ð¡¤xml:lang °À­¤ò¼¡¤Î¤È¤ª¤ê¤ËÀë¸À¤¹¤ë¤³¤È¤È¤Ê¤ë¡£
<eg><![CDATA[ <!ATTLIST poem xml:lang NMTOKEN 'fr'>
<!ATTLIST gloss xml:lang NMTOKEN 'en'>
<!ATTLIST note xml:lang NMTOKEN 'en'>]]></eg>
</p>
<!--
DTD¤ÎÀ߷׼Ԥϡ¤¥¹¥¯¥ê¥×¥È¤ò¸À¸ì(µÚ¤Ó¤½¤ÎÇÉÀ¸ÂÎ)¤ËÊñÀݤ·¤Æ°·¤¦¤Î¤Ç¤Ï¤Ê¤¯¡¤¥¹¥¯¥ê¥×¥ÈµÚ¤Ó¸À¸ì¤òƱ¼¡¸µ¤Ç°·¤¦¤Î¤¬Å¬Åö¤Ê¾ì¹ç¡¤¸À¸ì°À­¤ÈƱÍͤ˥¹¥¯¥ê¥×¥È°À­¤¬Â¸ºß¤¹¤ì¤ÐÍ­ÍѤÀ¤È»×¤¦¤«¤â¤·¤ì¤Ê¤¤¡£¥ê¥ó¥¯Í×ÁǤˤª¤¤¤Æ¡¤»²¾È¤µ¤ì¤¿Ëô¤Ï¥ê¥ó¥¯¤µ¤ì¤¿¥ê¥½¡¼¥¹¤Ë¤ª¤±¤ë(¼çÍפÊ)¸À¸ì(¾ì¹ç¤Ë¤è¤Ã¤Æ¤ÏÊ£¿ô)¤òɽ¤¹Í×ÁǤòÄêµÁ¤¹¤ë¤Î¤â˾¤Þ¤·¤¤¡£¤·¤«¤·¡¤¤³¤ì¤é¤Î&application;¤Ï¡¤¤³¤Î&TR-or-Rec;¤¬µ¬Äꤹ¤ëÈϰϳ°¤È¤¹¤ë¡£-->
</div2>
</div1>
<!-- &Elements; -->
<div1 id='sec-logical-struct'>
<head>ÏÀÍý¹½Â¤</head>
<p><termdef id="dt-element" term="Element">¤¤¤«¤Ê¤ë<termref def="dt-xml-doc">XMLʸ½ñ</termref>¤â¡¤°ì¤Ä°Ê¾å¤Î<term>Í×ÁÇ</term>¤ò´Þ¤à¡£Í×ÁǤζ­³¦¤Ï, <termref def="dt-stag">³«»Ï¥¿¥°</termref>µÚ¤Ó<termref def="dt-etag">½ªÎ»¥¿¥°</termref>¤Ë¤è¤Ã¤Æ¶èÀڤ롣Í×ÁǤ¬<termref def="dt-empty">¶õ</termref>Í×ÁǤΤȤ­¤Ï¡¤<termref def="dt-eetag">¶õÍ×ÁÇ¥¿¥°</termref>¤Ç¼¨¤¹¡£³Æ¡¹¤ÎÍ×ÁǤϡ¤·¿¤ò¤â¤Ä¡£Í×ÁÇ·¿¤Ï̾Á°(¶¦ÄÌ&identifier;(generic identifier)Ëô¤ÏGI¤È¸Æ¤Ö¤³¤È¤¬¤¢¤ë¡£)¤Ë¤è¤Ã¤Æ&identified;¡£Í×ÁǤϡ¤¤¤¤¯¤Ä¤«¤Î°À­¤ò¤â¤Ä¤³¤È¤¬¤Ç¤­¤ë¡£</termdef>°À­¤Ï¡¤<termref def="dt-attrname">̾Á°</termref>µÚ¤Ó<termref def="dt-attrval">ÃÍ</termref>¤ò¤â¤Ä¡£</p>
<scrap lang='ebnf'><head>Í×ÁÇ</head>
<prod id='NT-element'><lhs>element</lhs>
<rhs><nt def='NT-EmptyElemTag'>EmptyElemTag</nt></rhs>
<rhs>| <nt def='NT-STag'>STag</nt> <nt def='NT-content'>content</nt>
<nt def='NT-ETag'>ETag</nt></rhs><wfc def='GIMatch'/></prod>
</scrap>
<p>¤³¤Î&TR-or-Rec;¤Ï¡¤Í×ÁÇ·¿µÚ¤Ó°À­¤Î°ÕÌ£¡¤»ÈÍÑÊýË¡¡¤Ëô¤Ï(¹½Ê¸¤Ë´Ø¤¹¤ë¤³¤È¤ò½ü¤­)̾Á°¤ËÀ©Ìó¤òÍ¿¤¨¤Ê¤¤¡£¤¿¤À¤·¡¤ÀèƬ¤¬<code>(('X'|'x')('M'|'m')('L'|'l'))</code>¤Ë&match;¤¹¤ë̾Á°¤Ï¡¤¤³¤ÎÈÇËô¤Ïº£¸å¤ÎÈǤΤ³¤Î&TR-or-Rec;¤Ç¤Îɸ½à²½¤Î¤¿¤á¤ËͽÌ󤹤롣</p>
<wfcnote id='GIMatch'><head>Í×ÁÇ·¿¤Î&match;</head>
<p>Í×ÁǤνªÎ»¥¿¥°¤Î<nt def='NT-Name'>̾Á°</nt>¤Ï¡¤¤½¤ÎÍ×ÁǤγ«»Ï¥¿¥°¤Ë¤ª¤±¤ë·¿¤È&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
</wfcnote>
<div2 id='sec-starttags'>
<head>³«»Ï¥¿¥°¡¤½ªÎ»¥¿¥°µÚ¤Ó¶õÍ×ÁÇ¥¿¥°</head>
<p><termdef id="dt-stag" term="Start-Tag">¶õ¤Ç¤Ê¤¤Ç¤°Õ¤ÎXMLÍ×ÁǤλϤޤê¤Ï¡¤<term>³«»Ï¥¿¥°</term>¤Ë¤è¤Ã¤Æ&markup;¤¹¤ë¡£
<scrap lang='ebnf'><head>³«»Ï¥¿¥°</head>
<prodgroup pcw2="6" pcw4="15" pcw5="11.5">
<prod id='NT-STag'><lhs>STag</lhs><rhs>'&lt;' <nt def='NT-Name'>Name</nt> (<nt def='NT-S'>S</nt> <nt def='NT-Attribute'>Attribute</nt>)* <nt def='NT-S'>S</nt>? '>'</rhs><wfc def="uniqattspec"/></prod>
<prod id='NT-Attribute'><lhs>Attribute</lhs><rhs><nt def='NT-Name'>Name</nt> <nt def='NT-Eq'>Eq</nt> <nt def='NT-AttValue'>AttValue</nt></rhs><vc def='ValueType'/><wfc def='NoExternalRefs'/><wfc def='CleanAttrVals'/></prod>
</prodgroup>
</scrap>
³«»Ï¥¿¥°µÚ¤Ó½ªÎ»¥¿¥°Æâ¤Î<nt def='NT-Name'>Name</nt>¤Ï¡¤Í×ÁǤÎ<term>·¿</term>¤òɽ¤ï¤¹¡£</termdef><termdef id="dt-attr" term="Attribute"><nt def='NT-Name'>Name</nt>µÚ¤Ó<nt def='NT-AttValue'>AttValue</nt>¤ÎÂФòÍ×ÁǤÎ<term>°À­»ØÄê</term>¤È¤¤¤¤</termdef>¡¤<termdef id="dt-attrname" term="Attribute Name">¸Ä¡¹¤ÎÂФˤª¤±¤ë<nt def='NT-Name'>Name</nt>¤Ï¡¤<term>°À­Ì¾</term></termdef>µÚ¤Ó<termdef id="dt-attrval" term="Attribute Value"><nt def='NT-AttValue'>AttValue</nt>¤ÎÆâÍÆ(¶èÀÚ¤ê»Ò<code>'</code>Ëô¤Ï<code>"</code>¤Î´Ö¤Î&string;)¤ò<term>°À­ÃÍ</term>¤È¤¤¤¦¡£</termdef></p>
<wfcnote id='uniqattspec'><head>°À­»ØÄê¤Î°ì°ÕÀ­</head>
<p>³«»Ï¥¿¥°Ëô¤Ï¶õÍ×ÁÇ¥¿¥°¤Ç¤Ï¡¤Æ±°ì¤Î°À­Ì¾¤¬£²Åٰʾå½Ð¸½¤·¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£</p></wfcnote>
<vcnote id='ValueType'><head>°À­Ãͤη¿</head>
<p>°À­¤ÏÀë¸À¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£Â°À­Ãͤη¿¤Ï¡¤¤½¤Î°À­¤ËÂФ·¤ÆÀë¸À¤·¤¿·¿¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤(°À­¤Î·¿¤Ë¤Ä¤¤¤Æ¤Ï¡¤<titleref href='AttDecls'>°À­¥ê¥¹¥ÈÀë¸À</titleref>¤Ë¤Ä¤¤¤Æ¤Îµ¬Äê¤ò»²¾È¡£)¡£</p></vcnote>
<wfcnote id='NoExternalRefs'><head>³°Éô¼ÂÂΤؤλ²¾È¤¬¤Ê¤¤¤³¤È</head>
<p>°À­Ãͤˤϡ¤³°Éô¼ÂÂΤؤÎľÀÜŪËô¤Ï´ÖÀÜŪ¤Ê»²¾È¤ò´Þ¤à¤³¤È¤Ï¤Ç¤­¤Ê¤¤¡£</p></wfcnote>
<wfcnote id='CleanAttrVals'><head>°À­ÃͤË<code>&lt;</code>¤ò´Þ¤Þ¤Ê¤¤¤³¤È</head>
<p>°À­ÃÍÆâ¤ÇľÀÜŪËô¤Ï´ÖÀÜŪ¤Ë»²¾È¤¹¤ë¼ÂÂÎ(<code>&amp;lt;</code>¤ò½ü¤¯¡£)¤Î<termref def='dt-repltext'>&replacement-text;</termref>¤Ë¤Ï¡¤<code>&lt;</code>¤ò´Þ¤ó¤Ç¤Ï¤Ê¤é¤Ê¤¤¡£</p></wfcnote>
<p>³«»Ï¥¿¥°¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;termdef id="dt-dog" term="dog"></eg></p>
<p><termdef id="dt-etag" term="End Tag">³«»Ï¥¿¥°¤Ç»Ï¤Þ¤ëÍ×ÁǤνª¤ï¤ê¤Ï¡¤<term>½ªÎ»¥¿¥°</term>¤Ç&markup;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤³¤Î½ªÎ»¥¿¥°¤Ï¡¤Âбþ¤¹¤ë³«»Ï¥¿¥°¤ÎÍ×ÁÇ·¿¤ÈƱ¤¸Ì¾Á°¤ò¤â¤Ä¡£
<scrap lang='ebnf'><head>½ªÎ»¥¿¥°</head><prodgroup pcw2="6" pcw4="15" pcw5="11.5"><prod id='NT-ETag'><lhs>ETag</lhs><rhs>'&lt;/' <nt def='NT-Name'>Name</nt> <nt def='NT-S'>S</nt>? '>'</rhs></prod></prodgroup></scrap></termdef></p>
<p>½ªÎ»¥¿¥°¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;/termdef></eg></p>
<p><termdef id="dt-content" term="Content">Í×ÁǤγ«»Ï¥¿¥°¤È½ªÎ»¥¿¥°¤È¤Î´Ö¤Î<termref def='dt-text'>¥Æ¥­¥¹¥È</termref>¤ò¡¤¤½¤ÎÍ×ÁǤÎ<term>ÆâÍÆ</term>¤È¤¤¤¦¡£
<scrap lang='ebnf'><head>Í×ÁǤÎÆâÍÆ</head>
<prodgroup pcw2="6" pcw4="15" pcw5="11.5"><prod id='NT-content'><lhs>content</lhs><rhs>(<nt def='NT-element'>element</nt> | <nt def='NT-CharData'>CharData</nt> | <nt def='NT-Reference'>Reference</nt> | <nt def='NT-CDSect'>CDSect</nt> | <nt def='NT-PI'>PI</nt> | <nt def='NT-Comment'>Comment</nt>)*</rhs></prod></prodgroup></scrap></termdef></p>
<p><termdef id="dt-empty" term="Empty">Í×ÁǤ¬<term>¶õ</term>¤Î¤È¤­¡¤¤½¤ÎÍ×ÁǤϡ¤Ä¾¸å¤Ë½ªÎ»¥¿¥°¤ò¤â¤Ä³«»Ï¥¿¥°Ëô¤Ï¶õÍ×ÁÇ¥¿¥°¤Çɽ¸½¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</termdef><termdef id="dt-eetag" term="empty-element tag"><term>¶õÍ×ÁÇ¥¿¥°</term>¤Ï¡¤¼¡¤ÎÆÃÊ̤ʷÁ¼°¤ò¤È¤ë¡£
<scrap lang='ebnf'><head>¶õÍ×ÁǤΤ¿¤á¤Î¥¿¥°</head><prodgroup pcw2="6" pcw4="15" pcw5="11.5"><prod id='NT-EmptyElemTag'><lhs>EmptyElemTag</lhs><rhs>'&lt;' <nt def='NT-Name'>Name</nt> (<nt def='NT-S'>S</nt> <nt def='NT-Attribute'>Attribute</nt>)* <nt def='NT-S'>S</nt>? '/&gt;'</rhs><wfc def="uniqattspec"/></prod></prodgroup></scrap></termdef></p>
<!-- ÌçÇÏ¡§¾å¤Î¡È¶õÍ×ÁǤΤ¿¤á¤Î¥¿¥°(tags for empty elements)¡É¤Ï¡È¶õÍ×ÁÇ¥¿¥°(empty-element tag)¡É¤È¤¹¤Ù¤­¤À¤È»×¤¤¤Þ¤¹¤¬¡¤¤¤¤«¤¬¤Ç¤·¤ç¤¦¤« -->
<p>¶õÍ×ÁÇ¥¿¥°¤Ï¡¤ÆâÍƤò¤â¤¿¤Ê¤¤Ç¤°Õ¤ÎÍ×ÁǤÎɽ¸½¤ËÍøÍѤǤ­¤ë¡£¶õÍ×ÁÇ¥¿¥°¤Çɽ¸½¤¹¤ëÍ×ÁǤò¡¤¥­¡¼¥ï¡¼¥É<kw>EMPTY</kw>¤òÍѤ¤¤ÆÀë¸À¤·¤Ê¤¯¤È¤â¤è¤¤¡£</p>
<p>¶õÍ×ÁǤÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;IMG align="left" src="http://www.w3.org/Icons/WWW/w3c_home" />&lt;br>&lt;/br>&lt;br/></eg></p>
</div2>
<div2 id='elemdecls'><head>Í×ÁÇÀë¸À</head>
<p><termref def="dt-valid">&validity;</termref>¤òÊݾڤ¹¤ë¤¿¤á¡¤Í×ÁÇÀë¸ÀµÚ¤Ó°À­¥ê¥¹¥ÈÀë¸À¤òÍѤ¤¤Æ<termref def="dt-xml-doc">XMLʸ½ñ</termref>¤Î<termref def="dt-element">Í×ÁÇ</termref>¤Î¹½Â¤¤Ë¡¤À©Ìó¤ò²Ã¤¨¤ë¤³¤È¤¬¤Ç¤­¤ë¡£</p>
<p>Í×ÁÇÀë¸À¤Ï¡¤Í×ÁǤÎ<termref def="dt-content">ÆâÍÆ</termref>¤Ë¤Ä¤¤¤Æ¤ÎÀ©Ìó¤È¤¹¤ë¡£</p>
<p>Í×ÁÇÀë¸À¤Ï¡¤Í×ÁǤÎ<termref def="dt-parentchild">»Ò</termref>¤È¤·¤Æ½Ð¸½²Äǽ¤ÊÍ×ÁÇ·¿¤Ë¤Ä¤¤¤Æ¡¤À©Ìó¤ò²Ã¤¨¤ë¤³¤È¤¬Â¿¤¤¡£&at-user-option;¡¤Í×ÁÇÀë¸À¤ò¤â¤¿¤Ê¤¤Í×ÁÇ·¿¤¬Â¾¤ÎÍ×ÁÇÀë¸À¤Ë¤è¤Ã¤Æ»²¾È¤µ¤ì¤ì¤Ð¡¤XML&processor;¤Ï¡¤·Ù¹ð¤ò½Ð¤·¤Æ¤â¤è¤¤¡£¤·¤«¤·¡¤¤³¤ì¤Ï&error;¤È¤Ï¤·¤Ê¤¤¡£</p>
<p><termdef id="dt-eldecl" term="Element Type declaration"><term>Í×ÁÇ·¿Àë¸À</term>¤Ï¡¤¼¡¤Î·Á¼°¤ò¤È¤ë¡£
<scrap lang='ebnf'><head>Í×ÁÇ·¿Àë¸À</head><prodgroup pcw2="5.5" pcw4="18" pcw5="9">
<prod id='NT-elementdecl'><lhs>elementdecl</lhs>
<rhs>'&lt;!ELEMENT' <nt def='NT-S'>S</nt>
<nt def='NT-Name'>Name</nt>
<nt def='NT-S'>S</nt>
<nt def='NT-contentspec'>contentspec</nt>
<nt def='NT-S'>S</nt>? '>'</rhs>
<vc def='EDUnique'/></prod>
<prod id='NT-contentspec'><lhs>contentspec</lhs>
<rhs>'EMPTY'
| 'ANY'
| <nt def='NT-Mixed'>Mixed</nt>
| <nt def='NT-children'>children</nt>
</rhs>
<vc def='elementvalid'/>
</prod>
</prodgroup>
</scrap>
¤³¤³¤Ç¡¤<nt def='NT-Name'>Name</nt>¤Ï¡¤Àë¸À¤µ¤ì¤Æ¤¤¤ëÍ×ÁǤη¿¤È¤¹¤ë¡£</termdef></p>
<vcnote id='EDUnique'><head>Í×ÁÇÀë¸À¤Î°ì°ÕÀ­</head>
<p>Í×ÁÇ·¿¤ò£²ÅٰʾåÀë¸À¤Ç¤­¤Ê¤¤¡£</p></vcnote>
<vcnote id='elementvalid'><head>Í×ÁǤÎ&validity;</head>
<p>Í×ÁǤ¬<!-- said to be -->&valid;¤È¤Ï¡¤<nt def='NT-elementdecl'>elementdecl</nt>¤Ë&match;¤¹¤ëÀë¸À¤Ç¤¢¤Ã¤Æ¡¤¤½¤Î<nt def='NT-Name'>Name</nt>¤¬¤½¤ÎÍ×ÁÇ·¿¤È&match;¤·¡¤¼¡¤Î¤¤¤º¤ì¤«¤Î¾ò·ï¤òËþ¤¿¤¹¾ì¹ç¤È¤¹¤ë¡£<ulist>
<item><p>a) Àë¸À¤¬<kw>EMPTY</kw>¤Ë&match;¤·¡¤Í×ÁǤ¬<termref def='dt-content'>ÆâÍÆ</termref>¤ò¤â¤¿¤Ê¤¤¡£</p></item>
<item><p>b) Àë¸À¤¬<nt def='NT-children'>children</nt>¤Ë&match;¤·¡¤Í×ÁǤÎ<termref def="dt-parentchild">»ÒÍ×ÁÇ</termref>¤ÎʤӤ¬¡¤ÆâÍÆ¥â¥Ç¥ë¤ÎÀµµ¬É½¸½¤Ë¤è¤Ã¤ÆÀ¸À®¤µ¤ì¤ë¸À¸ì¤Ë°¤¹¤ë¡£</p></item>
<item><p>c) Àë¸À¤¬<nt def='NT-Mixed'>mixed</nt>¤Ë&match;¤·¡¤Í×ÁǤÎÆâÍƤ¬<termref def='dt-chardata'>ʸ»ú¥Ç¡¼¥¿</termref>µÚ¤Ó<termref def='dt-parentchild'>»ÒÍ×ÁÇ</termref>¤«¤é¤Ê¤ë¡£»ÒÍ×ÁǤÎÍ×ÁÇ·¿¤Ï¡¤Í×ÁǤÎÆâÍÆ¥â¥Ç¥ë¤Ë½Ð¸½¤¹¤ë̾Á°¤Ë&match;¤¹¤ë¡£</p></item>
<item><p>d) Àë¸À¤¬<kw>ANY</kw>¤Ë&match;¤·¡¤¤É¤Î<termref def='dt-parentchild'>»ÒÍ×ÁÇ</termref>¤ÎÍ×ÁÇ·¿¤âÀë¸À¤µ¤ì¤Æ¤¤¤ë¡£</p></item></ulist>
</p></vcnote>
<!-- with the new VC, I don't think the next few paras add anything -TWB
<p><termdef id="dt-model" term="content model">An element can declared using a <term>content model</term>, in which case its content can be categorized as <termref def="dt-elemcontent">element content</termref> or <termref def='dt-mixed'>mixed content</termref>, as explained below.</termdef></p>
<p>An element whose type declared using the keyword <kw>EMPTY</kw> must be <termref def="dt-empty">empty</termref> and may be tagged using an <termref def="dt-eetag">empty-element tag</termref> when it appears in the document.</p>
<p>If an element type is declared using the keyword <kw>ANY</kw>, then there are no validity constraints on its content: it may contain <termref def='dt-parentchild'>child elements</termref> of any type and number, interspersed with character data.</p> -->
<p>Í×ÁÇÀë¸À¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>
&lt;!ELEMENT br EMPTY>
&lt;!ELEMENT p (#PCDATA|emph)* >
&lt;!ELEMENT %name.para; %content.para; >
&lt;!ELEMENT container ANY>
</eg></p>
<div3 id='sec-element-content'><head>Í×ÁÇÆâÍÆ</head>
<p><termdef id='dt-elemcontent' term='Element content'>¤¢¤ë·¿¤ÎÍ×ÁǤ¬<termref def='dt-parentchild'>»Ò</termref>Í×ÁǤÀ¤±¤ò´Þ¤à(ʸ»ú¥Ç¡¼¥¿¤ò´Þ¤Þ¤Ê¤¤¡£)¤È¤­¡¤¤½¤ÎÍ×ÁÇ<termref def="dt-stag">·¿</termref>¤Ï¡¤<term>Í×ÁÇÆâÍÆ</term>¤ò¤â¤Ä¡¤¤È¤¤¤¦¡£</termdef>¤³¤Î¾ì¹ç¡¤À©Ìó¤Ï¡¤ÆâÍÆ¥â¥Ç¥ë¤ò´Þ¤à¡£ÆâÍÆ¥â¥Ç¥ë¤Ï¡¤»ÒÍ×ÁǤη¿µÚ¤Ó»ÒÍ×ÁǤνи½½ç½ø¤òÀ©¸æ¤¹¤ë´Êñ¤Êʸˡ¤È¤¹¤ë¡£¤³¤Îʸˡ¤Ï¡¤&content-particle;(<nt def='NT-cp'>cp</nt>s)¤«¤é¤Ê¤ë¡£&content-particle;¤Ï¡¤Ì¾Á°¡¤&content-particle;¤ÎÁªÂò¥ê¥¹¥ÈËô¤Ï&content-particle;¤ÎÎó¥ê¥¹¥È¤«¤é¹½À®¤µ¤ì¤ë¡£
<scrap lang='ebnf'><head>Í×ÁÇÆâÍÆ¥â¥Ç¥ë</head><prodgroup pcw2="5.5" pcw4="16" pcw5="11">
<prod id='NT-children'><lhs>children</lhs><rhs>(<nt def='NT-choice'>choice</nt> | <nt def='NT-seq'>seq</nt>) ('?' | '*' | '+')?</rhs></prod><prod id='NT-cp'><lhs>cp</lhs><rhs>(<nt def='NT-Name'>Name</nt> | <nt def='NT-choice'>choice</nt> | <nt def='NT-seq'>seq</nt>) ('?' | '*' | '+')?</rhs></prod>
<prod id='NT-choice'><lhs>choice</lhs><rhs>'(' <nt def='NT-S'>S</nt>? cp ( <nt def='NT-S'>S</nt>? '|' <nt def='NT-S'>S</nt>? <nt def='NT-cp'>cp</nt> )*<nt def='NT-S'>S</nt>? ')'</rhs><vc def='vc-PEinGroup'/></prod>
<prod id='NT-seq'><lhs>seq</lhs><rhs>'(' <nt def='NT-S'>S</nt>? cp ( <nt def='NT-S'>S</nt>? ',' <nt def='NT-S'>S</nt>? <nt def='NT-cp'>cp</nt> )*<nt def='NT-S'>S</nt>? ')'</rhs><vc def='vc-PEinGroup'/></prod>
<!-- <prod id='NT-cps'><lhs>cps</lhs><rhs><nt def='NT-S'>S</nt>? <nt def='NT-cp'>cp</nt> <nt def='NT-S'>S</nt>?</rhs></prod>
<prod id='NT-choice'><lhs>choice</lhs><rhs>'(' <nt def='NT-S'>S</nt>? <nt def='NT-ctokplus'>ctokplus</nt> (<nt def='NT-S'>S</nt>? '|' <nt def='NT-S'>S</nt>? <nt def='NT-ctoks'>ctoks</nt>)* <nt def='NT-S'>S</nt>? ')'</rhs></prod>
<prod id="NT-ctokplus"><lhs>ctokplus</lhs><rhs><nt def="NT-cps">cps</nt>('|' <nt def="NT-cps">cps</nt>)+</rhs></prod>
<prod id="NT-ctoks"><lhs>ctoks</lhs><rhs><nt def="NT-cps">cps</nt>('|' <nt def="NT-cps">cps</nt>)*</rhs></prod>
<prod id='NT-seq'><lhs>seq</lhs><rhs>'(' <nt def='NT-S'>S</nt>?<nt def='NT-stoks'>stoks</nt> (<nt def='NT-S'>S</nt>? ',' <nt def='NT-S'>S</nt>? <nt def='NT-stoks'>stoks</nt>)*<nt def='NT-S'>S</nt>? ')'</rhs></prod>
<prod id="NT-stoks"><lhs>stoks</lhs><rhs><nt def="NT-cps">cps</nt>(',' <nt def="NT-cps">cps</nt>)*</rhs></prod>
-->
</prodgroup></scrap>
¤³¤³¤Ç¡¤<nt def='NT-Name'>Name</nt>¤Ï¡¤<termref def="dt-parentchild">»Ò</termref>¤È¤·¤Æ½Ð¸½¤·¤Æ¤è¤¤Í×ÁǤη¿¤ò¼¨¤¹¡£¤³¤Îʸˡ¤ÇÁªÂò¥ê¥¹¥È¤¬¸½¤ì¤ë°ÌÃ֤Ǥϡ¤ÁªÂò¥ê¥¹¥ÈÆâ¤Î¤¤¤º¤ì¤Î&content-particle;¤â<termref def="dt-elemcontent">Í×ÁÇÆâÍÆ</termref>¤ÎÃæ¤Ë¸½¤ì¤Æ¤è¤¤¡£Îó¥ê¥¹¥È¤Ë¸½¤ì¤ë&content-particle;¤Ï¡¤¥ê¥¹¥È¤Ç»ØÄꤹ¤ë½çÈ֤ΤȤª¤ê¤Ë¡¤<termref def="dt-elemcontent">Í×ÁÇÆâÍÆ</termref>¤Ë¸½¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£Ì¾Á°Ëô¤Ï¥ê¥¹¥È¤Î¸å¤Ë½Ð¸½¤¹¤ë¥ª¥×¥·¥ç¥ó¤Îʸ»ú<!-- ÌçÇÏ¡§character¤òʸ»ú¤ÈÌõ¤·¤Þ¤·¤¿ -->¤Ï¡¤¥ê¥¹¥ÈÆâ¤ÎÍ×ÁÇËô¤Ï&content-particle;¤¬¡¤1²ó°Ê¾åǤ°Õ¤Î²ó¿ô(<code>+</code>)¡¤0²ó°Ê¾åǤ°Õ¤Î²ó¿ô(<code>*</code>)Ëô¤Ï0²ó¼ã¤·¤¯¤Ï1²ó(<code>?</code>)½Ð¸½²Äǽ¤Ê¤³¤È¤òµ¬Äꤹ¤ë¡£¤³¤³¤Ç¼¨¤¹¹½Ê¸µÚ¤Ó°ÕÌ£¤Ï¡¤¤³¤Î&TR-or-Rec;¤Ë¤ª¤±¤ëÀ¸À®µ¬Â§¤ÇÍѤ¤¤ë¤â¤Î¤ÈƱ°ì¤È¤¹¤ë¡£</p>
<!-- ÌçÇÏ¡§¾å¤Îʸ¤Ç¤Ï¡¤¡ÈnameËô¤Ïlist¤Î¸å¤Ë³¤¯Ê¸»ú¡É¤¬¡Èlist¤Î½Ð¸½¤òµ¬Äꤹ¤ë¡É¤È¤¢¤Ã¤Æ¡¤name¤Î½Ð¸½¤òµ¬Äꤹ¤ë¤È¤Ï½ñ¤¤¤Æ¤¢¤ê¤Þ¤»¤ó¡£½¤Àµ¤¬É¬Íפȹͤ¨¤Þ¤¹¡£ -->
<p>Í×ÁǤÎÆâÍƤ¬ÆâÍÆ¥â¥Ç¥ë¤Ë&match;¤¹¤ë¤Î¤Ï¡¤Îó¡¤ÁªÂòµÚ¤Ó·«ÊÖ¤·±é»»»Ò¤Ë¤·¤¿¤¬¤Ã¤Æ¡¤ÆâÍƤÎÃæ¤ÎÍ×ÁǤÈÆâÍÆ¥â¥Ç¥ëÆâ¤ÎÍ×ÁÇ·¿¤È¤ò&match;¤µ¤»¤Ê¤¬¤é¡¤ÆâÍÆ¥â¥Ç¥ëÆâ¤Î°ì¤Ä¤Î¥Ñ¥¹¤ò¤¿¤É¤ì¤ë¤È¤­¤Ë¸Â¤ë¡£<termref def='dt-compat'>¸ß´¹À­¤Î¤¿¤á</termref>¡¤Ê¸½ñÆâ¤ÎÍ×ÁǤ¬¡¤ÆâÍÆ¥â¥Ç¥ë¤Ë¤ª¤±¤ëÍ×ÁÇ·¿¤ÎÊ£¿ô¤Î½Ð¸½°ÌÃÖ¤È&match;¤¹¤ë¤³¤È¤Ï¡¤&error;¤È¤¹¤ë¡£¾ÜºÙ¤Êµ¬Äê¤Ë¤Ä¤¤¤Æ¤Ï¡¤Éí°½ñ¤Î<titleref xml-link="simple" href="determinism">·èÄêŪÆâÍÆ¥â¥Ç¥ë</titleref>¤Î¹à¤ò»²¾È¡£
<!-- appendix <specref ref="determinism"/>. -->
<!-- appendix on deterministic content models. -->
</p>
<vcnote id='vc-PEinGroup'>
<head>¥°¥ë¡¼¥×µÚ¤Ó¥Ñ¥é¥á¥¿¼ÂÂΤ¬¸·Ì©¤ÊÆþ¤ì»Ò¤ò¤Ê¤·¤Æ¤¤¤ë¤³¤È</head>
<p>¥Ñ¥é¥á¥¿¼ÂÂΤÎ<termref def='dt-repltext'>&replacement-text;</termref>¤Ï¡¤&parenthesis;¤Ç°Ï¤Þ¤ì¤¿¥°¥ë¡¼¥×¤Ë¤è¤Ã¤Æ¡¤¸·Ì©¤ÊÆþ¤ì»Ò¤ò¹½À®¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤Ä¤Þ¤ê¡¤<nt def='NT-choice'>ÁªÂò</nt>¡¤<nt def='NT-seq'>Îó</nt>Ëô¤Ï<nt def='NT-Mixed'>º®ºß</nt>ÉôÉʤˡ¤&left-parenthesis;Ëô¤Ï&right-parenthesis;¤Î¤¤¤º¤ì¤«°ìÊý¤¬<termref def='dt-PERef'>¥Ñ¥é¥á¥¿¼ÂÂÎ</termref>¤Î&replacement-text;¤Ë´Þ¤ì¤ì¤Ð¡¤Â¾Êý¤âƱ¤¸&replacement-text;¤Ë´Þ¤Þ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
<p><termref def='dt-interop'>Áê¸ß±¿ÍÑÀ­¤Î¤¿¤á</termref>¡¤¥Ñ¥é¥á¥¿¼ÂÂλ²¾È¤¬<nt def='NT-choice'>ÁªÂò</nt>¡¤<nt def='NT-seq'>Îó</nt>Ëô¤Ï<nt def='NT-Mixed'>º®ºß</nt>ÆâÍƤ˴ޤޤì¤ì¤Ð¡¤¤½¤Î&replacement-text;¤Ï¶õ¤Ç¤Ê¤¤¤³¤È¤¬Ë¾¤Þ¤·¤¯¡¤&replacement-text;¤ÎÀèƬµÚ¤ÓËöÈø¤Î¶õÇò¤Ç¤Ê¤¤Ê¸»ú¤Ï¡¤¥³¥Í¥¯¥¿(<code>|</code>Ëô¤Ï<code>,</code>)¤Ç¤Ê¤¤Êý¤¬¤è¤¤¡£
</p>
</vcnote>
<p>Í×ÁÇÆâÍÆ¥â¥Ç¥ë¤Î¤¤¤¯¤Ä¤«¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;!ELEMENT spec (front, body, back?)>
&lt;!ELEMENT div1 (head, (p | list | note)*, div2*)>
&lt;!ELEMENT dictionary-body (%div.mix; | %dict.mix;)*></eg></p>
</div3>
<div3 id='sec-mixed-content'>
<head>&mixed-content;</head>
<p><termdef id='dt-mixed' term='Mixed Content'>¤¢¤ëÍ×ÁÇ·¿¤ÎÍ×ÁÇÆâ¤Ë¡¤<termref def="dt-parentchild">»Ò</termref>Í×ÁǤ˺®ºß¤·¤Æʸ»ú¥Ç¡¼¥¿¤¬´Þ¤Þ¤ì¤ë²ÄǽÀ­¤¬¤¢¤ë¤È¤­¡¤¤½¤ÎÍ×ÁÇ<termref def='dt-stag'>·¿</termref>¤Ï¡¤<term>&mixed-content;</term>¤ò¤â¤Ä¤È¤¤¤¦¡£</termdef>¤³¤Î¾ì¹ç¡¤»ÒÍ×ÁǤη¿¤Ë¤Ä¤¤¤Æ¤ÎÀ©Ìó¤¬Â¸ºß¤·¤Æ¤â¤è¤¤<!-- ÌçÇÏ¡§¡Èmay be constrained¡É¤òñ¤Ë¡ÖÀ©Ì󤵤ì¤ë¡×¤ÈÌõ¤·¤Þ¤·¤¿¡£ -->¤¬¡¤»ÒÍ×ÁǤνç½øËô¤Ï½Ð¸½²ó¿ô¤Ë¤Ä¤¤¤Æ¤ÎÀ©Ìó¤Ï¤Ê¤¤¤È¤¹¤ë¡£
<scrap lang='ebnf'>
<head>&mixed-content;Àë¸À</head>
<prodgroup pcw2="5.5" pcw4="16" pcw5="11">
<prod id='NT-Mixed'><lhs>Mixed</lhs>
<rhs>'(' <nt def='NT-S'>S</nt>?
'#PCDATA'
(<nt def='NT-S'>S</nt>?
'|'
<nt def='NT-S'>S</nt>?
<nt def='NT-Name'>Name</nt>)*
<nt def='NT-S'>S</nt>?
')*' </rhs>
<rhs>| '(' <nt def='NT-S'>S</nt>? '#PCDATA' <nt def='NT-S'>S</nt>? ')'
</rhs><vc def='vc-PEinGroup'/>
<vc def='vc-MixedChildrenUnique'/>
</prod>
<!--
<prod id="NT-Mtoks"><lhs>Mtoks</lhs>
<rhs><nt def="NT-Name">Name</nt>
(<nt def='NT-S'>S</nt>?
'|'
<nt def='NT-S'>S</nt>?
<nt def="NT-Name">Name</nt>)*
</rhs>
</prod>
-->
</prodgroup>
</scrap>
¤³¤³¤Ç¡¤<nt def='NT-Name'>Name</nt>¤Ï¡¤»Ò¤È¤·¤Æ½Ð¸½¤·¤Æ¤â¤è¤¤Í×ÁǤη¿¤ò¼¨¤¹¡£
</p>
<vcnote id='vc-MixedChildrenUnique'>
<head>Í×ÁÇ·¿¤Î½ÅÊ£¤Î¶Ø»ß</head>
<p>°ì¤Ä¤Î&mixed-content;Àë¸ÀÆâ¤Ë¡¤Æ±¤¸Ì¾Á°¤¬Ê£¿ô²ó½Ð¸½¤·¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
</p></vcnote>
<p>&mixed-content;Àë¸À¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;!ELEMENT p (#PCDATA|a|ul|b|i|em)*>
&lt;!ELEMENT p (#PCDATA | %font; | %phrase; | %special; | %form;)* >
&lt;!ELEMENT b (#PCDATA)></eg></p>
</div3>
</div2>
<div2 id='attdecls'>
<head>°À­¥ê¥¹¥ÈÀë¸À</head>
<p>
<termref def="dt-attr">°À­</termref>¤Ï¡¤Ì¾Á°µÚ¤ÓÃͤÎÂФò<termref def="dt-element">Í×ÁÇ</termref>¤Ë´ØÏ¢ÉÕ¤±¤ë¤¿¤á¤ËÍѤ¤¤ë¡£Â°À­»ØÄê¤Ï¡¤<termref def="dt-stag">³«»Ï¥¿¥°</termref>Ëô¤Ï<termref def="dt-eetag">¶õÍ×ÁÇ</termref>¥¿¥°Æâ¤Ç¤À¤±²Äǽ¤È¤¹¤ë¡£¤·¤¿¤¬¤Ã¤Æ¡¤Â°À­¤òǧ¼±¤¹¤ë¤¿¤á¤ÎÀ¸À®µ¬Â§¤Ï¡¤<titleref href='sec-starttags'>³«»Ï¥¿¥°</titleref>¤Ë¤Ä¤¤¤Æ¤Îµ¬Äê¤Ç¼¨¤¹¡£Â°À­¥ê¥¹¥ÈÀë¸À¤Ï¡¤¼¡¤ÎÌÜŪ¤ÇÍѤ¤¤ë¡£
<ulist>
<item><p>a) ¤¢¤ëÍ×ÁÇ·¿¤ËŬÍѤ¹¤ë°À­¤Î½¸¹ç¤òµ¬Äꤹ¤ë¡£</p></item>
<item><p>b) °À­¤Ø¤Î·¿À©Ìó¤òÀßÄꤹ¤ë¡£</p></item>
<item><p>c) °À­¤Î<termref def="dt-default">&default-value;</termref>¤òµ¬Äꤹ¤ë¡£</p></item>
</ulist>
</p>
<p>
<termdef id="dt-attdecl" term="Attribute-List Declaration">
<term>°À­¥ê¥¹¥ÈÀë¸À</term>¤Ï¡¤¤¢¤ëÍ×ÁÇ·¿¤È´ØÏ¢ÉÕ¤±¤é¤ì¤¿³Æ°À­¤ËÂФ·¡¤Ì¾Á°¡¤¥Ç¡¼¥¿·¿µÚ¤Ó(¸ºß¤¹¤ì¤Ð)&default-value;¤òµ¬Äꤹ¤ë¡£
<scrap lang='ebnf'>
<head>°À­¥ê¥¹¥ÈÀë¸À</head>
<prod id='NT-AttlistDecl'><lhs>AttlistDecl</lhs>
<rhs>'&lt;!ATTLIST' <nt def='NT-S'>S</nt>
<nt def='NT-Name'>Name</nt>
<nt def='NT-AttDef'>AttDef</nt>*
<nt def='NT-S'>S</nt>? '&gt;'</rhs>
</prod>
<prod id='NT-AttDef'><lhs>AttDef</lhs>
<rhs><nt def='NT-S'>S</nt> <nt def='NT-Name'>Name</nt>
<nt def='NT-S'>S</nt> <nt def='NT-AttType'>AttType</nt>
<nt def='NT-S'>S</nt> <nt def='NT-Default'>Default</nt></rhs>
</prod>
</scrap>
<nt def='NT-AttlistDecl'>AttlistDecl</nt>µ¬Â§¤Ë¸ºß¤¹¤ë<nt def="NT-Name">Name</nt>¤Ï¡¤Í×ÁÇ·¿¤Î̾Á°¤È¤¹¤ë¡£&at-user-option;¡¤Àë¸À¤·¤Æ¤¤¤Ê¤¤Í×ÁÇ·¿¤ËÂФ·Â°À­¤òÀë¸À¤·¤¿¤Ê¤é¤Ð¡¤XML&processor;¤Ï¡¤·Ù¹ð¤ò½Ð¤·¤Æ¤â¤è¤¤¡£¤·¤«¤·¡¤¤³¤ì¤Ï&error;¤È¤Ï¤·¤Ê¤¤¡£
<nt def='NT-AttDef'>AttDef</nt>µ¬Â§¤Ë¤ª¤±¤ë<nt def='NT-Name'>Name</nt>¤Ï¡¤Â°À­¤Î̾Á°¤È¤¹¤ë¡£
</termdef>
</p>
<p>
¤¢¤ëÍ×ÁǤËÂФ·¤Æ¡¤Ê£¿ô¤Î<nt def='NT-AttlistDecl'>AttlistDecl</nt>¤òÍ¿¤¨¤ë¾ì¹ç¡¤¤³¤ì¤é¤¹¤Ù¤Æ¤ÎÆâÍƤϥޡ¼¥¸¤¹¤ë¡£¤¢¤ëÍ×ÁÇ·¿¤ÎƱ¤¸Â°À­¤Ë¡¤Ê£¿ô¤ÎÄêµÁ¤òÍ¿¤¨¤ë¾ì¹ç¤Ë¤Ï¡¤ºÇ½é¤ÎÀë¸À¤òÍ­¸ú¤È¤·¡¤Â¾¤ÎÀë¸À¤Ï̵»ë¤¹¤ë¡£<termref def='dt-interop'>Áê¸ß±¿ÍÑÀ­¤Î¤¿¤á¤Ë</termref>¡¤DTD¤ÎºîÀ®¼Ô¤Ï¡¤¤¢¤ëÍ×ÁÇ·¿¤Ë¤Ï¹â¡¹°ì¤Ä¤Î°À­¥ê¥¹¥ÈÀë¸À¤·¤«Í¿¤¨¤Ê¤¤¡¤¤¢¤ë°À­Ì¾¤Ë¤Ï¹â¡¹°ì¤Ä¤Î°À­ÄêµÁ¤·¤«Í¿¤¨¤Ê¤¤¡¤µÚ¤Ó¤¹¤Ù¤Æ¤Î°À­¥ê¥¹¥ÈÀë¸À¤Ë¤Ï¾¯¤Ê¤¯¤È¤â°ì¤Ä¤Î°À­ÄêµÁ¤òÍ¿¤¨¤ë¡¤¤È¤¤¤¦ÁªÂò¤ò¤·¤Æ¤â¤è¤¤¡£Áê¸ß±¿ÍÑÀ­¤Î¤¿¤á¤Ë¡¤XML&processor;¤Ï¡¤&at-user-option;¡¤¤¢¤ëÍ×ÁÇ·¿¤ËÊ£¿ô¤Î°À­¥ê¥¹¥ÈÀë¸À¤òÍ¿¤¨¤¿¤ê¡¤¤¢¤ë°À­¤ËÊ£¿ô¤Î°À­ÄêµÁ¤òÍ¿¤¨¤¿¤ê¤·¤¿¤È¤­¤Ë¡¤·Ù¹ð¤ò½Ð¤·¤Æ¤â¤è¤¤¡£¤·¤«¤·¡¤¤³¤ì¤Ï¡¤&error;¤È¤Ï¤·¤Ê¤¤¡£
</p>
<div3 id='sec-attribute-types'>
<head>°À­¤Î·¿</head>
<p>
XML¤Î°À­¤Î·¿¤Ï¡¤£³¼ïÎà¤È¤¹¤ë¡£¤³¤ì¤é¤Ï¡¤&string;·¿¡¤&token;²½·¿µÚ¤ÓÎóµó·¿¤È¤¹¤ë¡£&string;·¿¤Ï¡¤ÃͤȤ·¤ÆǤ°Õ¤Î&string;¤ò¤È¤ë¡£&token;²½·¿¤Ï¡¤¼¡¤Ë¼¨¤¹»ú¶çµÚ¤Ó°ÕÌ£¤Ë´Ø¤¹¤ëÍÍ¡¹¤ÊÀ©Ìó¤ò¤â¤Ä¡£
<scrap lang='ebnf'>
<head>Attribute Types</head>
<prodgroup pcw4="14" pcw5="11.5">
<prod id='NT-AttType'><lhs>AttType</lhs>
<rhs><nt def='NT-StringType'>StringType</nt>
| <nt def='NT-TokenizedType'>TokenizedType</nt>
| <nt def='NT-EnumeratedType'>EnumeratedType</nt>
</rhs>
</prod>
<prod id='NT-StringType'><lhs>StringType</lhs>
<rhs>'CDATA'</rhs>
</prod>
<prod id='NT-TokenizedType'><lhs>TokenizedType</lhs>
<rhs>'ID'</rhs>
<vc def='id'/>
<vc def='one-id-per-el'/>
<vc def='id-default'/>
<rhs>| 'IDREF'</rhs>
<vc def='idref'/>
<rhs>| 'IDREFS'</rhs>
<vc def='idref'/>
<rhs>| 'ENTITY'</rhs>
<vc def='entname'/>
<rhs>| 'ENTITIES'</rhs>
<vc def='entname'/>
<rhs>| 'NMTOKEN'</rhs>
<vc def='nmtok'/>
<rhs>| 'NMTOKENS'</rhs>
<vc def='nmtok'/></prod>
</prodgroup>
</scrap>
</p>
<vcnote id='id' >
<head>ID</head>
<p>
¤³¤Î·¿¤ÎÃͤϡ¤À¸À®µ¬Â§<code>Name</code>¤Ë&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£°ì¤Ä¤ÎXMLʸ½ñÆâ¤Ç¤Ï¡¤°ì¤Ä¤Î̾Á°¤¬¡¤¤³¤Î·¿¤ÎÃͤȤ·¤ÆÊ£¿ô²ó¸½¤ì¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£¤Ä¤Þ¤ê¡¤ID¤ÎÃͤϡ¤Í×ÁǤò°ì°Õ¤Ë&identify;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<vcnote id='one-id-per-el'>
<head>1Í×ÁǤ´¤È¤Ë1ID</head>
<p>
Í×ÁÇ·¿¤Ï¡¤Ê£¿ô¤ÎID°À­Ãͤò¤â¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<vcnote id='id-default'>
<head>ID°À­¤Î&default;</head>
<p>
ID°À­¤Ï¡¤&default;¤È¤·¤Æ¡¤<code>#IMPLIED</code>Ëô¤Ï<code>#REQUIRED</code>¤òÀë¸À¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<vcnote id='idref'>
<head>IDREF</head>
<p>
<kw>IDREF</kw>·¿¤ÎÃͤϡ¤À¸À®µ¬Â§<nt def="NT-Name">Name</nt>¤Ë&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£<kw>IDREFS</kw>·¿¤ÎÃͤϡ¤À¸À®µ¬Â§<nt def="NT-Names">Names</nt>¤Ë&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£³Æ¡¹¤Î<nt def='NT-Name'>Name</nt>¤Ï¡¤XMLʸ½ñÆâ¤Ë¸ºß¤¹¤ëÍ×ÁǤÎID°À­¤ÎÃͤÈ&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤Ä¤Þ¤ê¡¤<kw>IDREF</kw>¤ÎÃͤϡ¤¤¢¤ëID°À­¤ÎÃͤÈ&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<vcnote id='entname'>
<head>¼ÂÂÎ̾</head>
<p>
<kw>ENTITY</kw>·¿¤ÎÃͤϡ¤À¸À®µ¬Â§<nt def="NT-Name">Name</nt>¤Ë&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£<kw>ENTITIES</kw>·¿¤ÎÃͤϡ¤À¸À®µ¬Â§<nt def="NT-Names">Names</nt>¤Ë&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£³Æ¡¹¤Î<nt def="NT-Name">Name</nt>¤Ï¡¤<termref def="dt-doctype">DTD</termref>¤ÇÀë¸À¤¹¤ë<termref def="dt-unparsed">&unparsed-entity;</termref>¤È&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<vcnote id='nmtok'>
<head>̾Á°&token;</head>
<p>
<kw>NMTOKEN</kw>·¿¤ÎÃͤϡ¤Èó½ªÃ¼µ­¹æ<termref def="NT-Nmtoken">Nmtoken</termref>¤È&match;¤¹¤ë&string;¤«¤é¹½À®¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£<kw>NMTOKENS</kw>·¿¤ÎÃͤϡ¤Èó½ªÃ¼µ­¹æ<termref def="NT-Nmtokens">Nmtokens</termref>¤È&match;¤¹¤ë&string;¤«¤é¹½À®¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<p>
XML&processor;¤Ï¡¤&application;¤Ë°À­ÃͤòÅϤ¹Á°¤Ë¡¤<titleref href="AVNormalize">°À­ÃͤÎÀµµ¬²½</titleref>¤Çµ¬Äꤹ¤ë¤È¤ª¤ê¤Ë¡¤Â°À­ÃͤòÀµµ¬²½¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
<p>
<termdef id='dt-enumerated' term='Enumerated Attribute Values'><term>Îóµó·¿¤Î°À­</term>¤Ï¡¤Àë¸À¤·¤¿Ãͤΰì¤Ä¤ò¼è¤ë¤³¤È¤¬¤Ç¤­¤ë¡£</termdef>Îóµó·¿¤Ë¤Ï¡¤2¼ïÎढ¤ë¡£
<scrap lang='ebnf'>
<head>Îóµó°À­¤Î·¿</head>
<prod id='NT-EnumeratedType'><lhs>EnumeratedType</lhs>
<rhs><nt def='NT-NotationType'>NotationType</nt>
| <nt def='NT-Enumeration'>Enumeration</nt>
</rhs></prod>
<prod id='NT-NotationType'><lhs>NotationType</lhs>
<rhs>'NOTATION'
<nt def='NT-S'>S</nt>
'('
<nt def='NT-S'>S</nt>?
<nt def='NT-Name'>Name</nt>
(<nt def='NT-S'>S</nt>? '|' <nt def='NT-Name'>Name</nt>)*
<nt def='NT-S'>S</nt>? ')'
</rhs>
<vc def='notatn' /></prod>
<prod id='NT-Enumeration'><lhs>Enumeration</lhs>
<rhs>'(' <nt def='NT-S'>S</nt>?
<nt def='NT-Nmtoken'>Nmtoken</nt>
(<nt def='NT-S'>S</nt>? '|'
<nt def='NT-S'>S</nt>?
<nt def='NT-Nmtoken'>Nmtoken</nt>)*
<nt def='NT-S'>S</nt>?
')'</rhs>
<vc def='enum'/></prod>
</scrap>
</p>
<vcnote id='notatn'>
<head>µ­Ë¡Â°À­</head>
<p>¤³¤Î·¿¤ÎÃͤϡ¤Àë¸À¤·¤Æ¤¤¤ë<titleref href='Notations'>µ­Ë¡</titleref>¤Î̾Á°¤Î°ì¤Ä¤È&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤Ä¤Þ¤ê¡¤Àë¸À¤Ë¸ºß¤¹¤ëµ­Ë¡Ì¾¤Ï¡¤¤¹¤Ù¤ÆÀë¸À¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<vcnote id='enum'>
<head>Îóµó</head>
<p>
¤³¤Î·¿¤ÎÃͤϡ¤Àë¸À¤Ë¸ºß¤¹¤ë<nt def='NT-Nmtoken'>Nmtoken</nt>&token;¤Î°ì¤Ä¤È&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<p>
<termref def='dt-interop'>Áê¸ß±¿ÍÑÀ­¤Î¤¿¤á</termref>¡¤Æ±¤¸<nt def='NT-Nmtoken'>Nmtoken</nt>¤Ï¡¤Ã±°ìÍ×ÁÇ·¿¤ÎÎóµó·¿¤Î°À­¤È¤·¤Æ¡¤Ê£¿ô²ó¸½¤ì¤Ê¤¤Êý¤¬¤è¤¤¡£
</p>
</div3>
<div3 id='sec-attr-defaults'>
<head>°À­¤Î&default;</head>
<p>
<termref def="dt-attdecl">°À­Àë¸À</termref>¤Ï¡¤Â°À­¤Î»ØÄ꤬ɬ¿Ü¤«¤É¤¦¤«¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤òÍ¿¤¨¤ë¡£É¬¿Ü¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¤Ê¸½ñÆâ¤Ç°À­¤ò»ØÄꤷ¤Ê¤¤¤È¤­¡¤XML&processor;¤Î½èÍýÊýË¡¤Î¾ðÊó¤âÍ¿¤¨¤ë¡£
<scrap lang='ebnf'>
<head>°À­¤Î&default;</head>
<prodgroup pcw4="14" pcw5="11.5">
<prod id='NT-Default'><lhs>Default</lhs>
<rhs>'#REQUIRED'
|&nbsp;'#IMPLIED' </rhs>
<rhs>| (('#FIXED' S)? <nt def='NT-AttValue'>AttValue</nt>)</rhs>
<vc def='defattrvalid'/>
<wfc def="CleanAttrVals"/>
</prod>
</prodgroup>
</scrap>
<!-- improved by bosak
<scrap lang='ebnf'>
<head>Attribute Defaults</head>
<prod id='NT-Default'><lhs>Default</lhs>
<rhs>'#REQUIRED'
|&nbsp;'#IMPLIED' </rhs>
<vc def='defattrvalid'/>
<wfc def="CleanAttrVals"/>
<rhs>| (('#FIXED' S)? <nt def='NT-AttValue'>AttValue</nt>)</rhs>
</prod>
</scrap>-->
</p>
<vcnote id='defattrvalid'>
<head>°À­&default;¤ÎÀµ¤·¤µ</head>
<p>
Àë¸À¤·¤¿&default-value;¤Ï¡¤Àë¸À¤·¤¿Â°À­·¿¤Î»ú¶çÀ©Ìó¤òËþ¤¿¤µ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<p>
<kw>#REQUIRED</kw>¤ò»ØÄꤷ¤¿¤È¤­¡¤¤³¤ÎÍ×ÁÇ·¿¤Î<termref def="dt-stag">³«»Ï¥¿¥°</termref>¤Ç¤¢¤Ã¤Æ¡¤¤³¤Î°À­¤ËÃͤòÍ¿¤¨¤Ê¤¤¤â¤Î¤òXML&processor;¤¬¸«¤Ä¤±¤¿¤Ê¤é¤Ð¡¤¤½¤Îʸ½ñ¤Ï<termref def="dt-valid">&valid;</termref>¤È¤Ï¤·¤Ê¤¤¡£<kw>#IMPLIED</kw>¤ò»ØÄꤷ¤¿¤È¤­¡¤¤³¤Î°À­¤ò¾Êά¤·¤¿¤é¡¤XML&processor;¤Ï¡¤Â°À­Ãͤò»ØÄꤷ¤Ê¤¤¤³¤È¤ò¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ËÅÁ¤¨¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤³¤Î¤È¤­¡¤&application;¤Î¿¶Éñ¤¤¤Ë¤Ä¤¤¤Æ¤ÎÀ©Ìó¤Ï¤Ê¤¤¡£
</p>
<p>
<termdef id="dt-default" term="Attribute Default">
°À­¤¬<kw>#REQUIRED</kw>¤Ç¤â<kw>#IMPLIED</kw>¤Ç¤â¤Ê¤¤¤È¤­¤Ë¤Ï¡¤<nt def='NT-AttValue'>AttValue</nt>¤ÎÃͤ¬¡¤<term>&default-value;</term>¤È¤Ê¤ë¡£<kw>#FIXED</kw>¤Î¾ì¹ç¡¤&default-value;¤È°Û¤Ê¤ëÃͤ¬»ØÄꤵ¤ì¤ì¤Ð¡¤¤½¤Îʸ½ñ¤Ï¡¤<termref def="dt-valid">&valid;</termref>¤È¤·¤Ê¤¤¡£&default-value;¤òÀë¸À¤·¤Æ¤¤¤ë¾ì¹ç¡¤¤³¤Î°À­¤Î¾Êά¤ò¸«¤Ä¤±¤¿¤é¡¤Àë¸À¤·¤¿&default-value;¤ò°À­Ãͤ˻ØÄꤷ¤Æ¤¤¤ë¤È¤·¤Æ¡¤XML&processor;¤Ï¿¶¤ëÉñ¤¦¤³¤È¤¬Ë¾¤Þ¤·¤¤¡£
</termdef></p>
<p>°À­¥ê¥¹¥ÈÀë¸À¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;!ATTLIST termdef
id ID #REQUIRED
name CDATA #IMPLIED>
&lt;!ATTLIST list
type (bullets|ordered|glossary) "ordered">
&lt;!ATTLIST form
method CDATA #FIXED "POST"></eg></p>
</div3>
<div3 id='AVNormalize'>
<head>°À­ÃͤÎÀµµ¬²½</head>
<p>
XML&processor;¤Ï¡¤Â°À­Ãͤò&application;¤ËÅϤ¹Á°¤Ë¡¤¼¡¤Î¤È¤ª¤ê¤ËÀµµ¬²½¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
<ulist>
<item>
<p>a) ¤Þ¤º¡¤Â°À­Ã͵ڤӤ½¤ÎÃæ¤Î¼ÂÂÎÆâ¤Ç¡¤¹ÔËöËô¤Ï¹Ô¶­³¦(Ëô¤Ï¥·¥¹¥Æ¥à¤Ë¤è¤Ã¤Æ¤Ï¥ì¥³¡¼¥É¶­³¦)¤È¤·¤Æ»È¤ï¤ì¤ë&string;¤ò¡¤&space-character;(#x20)°ì¤Ä¤ËÃÖ¤­´¹¤¨¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤(¡Ö<titleref xml-link="simple" href="sec-line-ends">¹ÔËö¤Î°·¤¤</titleref>¡×¤â»²¾È¤Î¤³¤È¡£)¡£
</p></item>
<item>
<p>b) ¼¡¤Ë¡¤Ê¸»ú»²¾ÈµÚ¤ÓÆâÉô&parsed-entity;¤Ø¤Î»²¾È¤Ï¡¤Å¸³«¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£³°Éô¼ÂÂΤؤλ²¾È¤Ï¡¤&error;¤È¤¹¤ë¡£
</p></item>
<item>
<p>c) ºÇ¸å¤Ë¡¤Â°À­¤Î·¿¤¬<kw>CDATA</kw>¤Ç¤Ê¤±¤ì¤Ð¡¤¶õÇò&string;¤Ï¡¤¤¹¤Ù¤Æ&space-character;(#x20)°ì¤Ä¤ËÀµµ¬²½¤·¡¤»Ä¤ê¤Î¶õÇòʸ»ú¤Ï¡¤ºï½ü¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p></item>
</ulist>
&non-validating;&parser;¤Ï¡¤Àë¸À¤¬¸«¤Ä¤«¤é¤Ê¤¤Â°À­¤Ï¡¤¤¹¤Ù¤Æ¡¤<kw>CDATA</kw>¤òÀë¸À¤·¤Æ¤¤¤ë¤È¤·¤Æ°·¤¦¤³¤È¤¬Ë¾¤Þ¤·¤¤¡£</p>
</div3>
</div2>
<div2 id='sec-condition-sect'>
<head>¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó</head>
<p>
<termdef id='dt-cond-section' term='conditional section'>
<term>¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó</term>¤È¤Ï¡¤<termref def='dt-doctype'>ʸ½ñ·¿Àë¸À¤Î³°Éô&subset;</termref>¤Î°ìÉô¤È¤·¡¤À©¸æ¥­¡¼¥ï¡¼¥É¤Î»ØÄê¤Ë¤è¤Ã¤Æ¡¤DTD¤ÎÏÀÍý¹½Â¤¤Ë´Þ¤á¤¿¤ê¡¤½ü¤¤¤¿¤ê¤¹¤ëÉôʬ¤È¤¹¤ë¡£
</termdef>
<scrap lang='ebnf'>
<head>¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó</head>
<prodgroup pcw2="9" pcw4="14.5">
<prod id='NT-conditionalSect'><lhs>conditionalSect</lhs>
<rhs><nt def='NT-includeSect'>includeSect</nt>
| <nt def='NT-ignoreSect'>ignoreSect</nt>
</rhs>
</prod>
<prod id='NT-includeSect'><lhs>includeSect</lhs>
<rhs>'&lt;![' S? 'INCLUDE' S? '['
<!-- (<nt def='NT-markupdecl'>markupdecl</nt>
| <nt def="NT-conditionalSect">conditionalSect</nt>
| <nt def="NT-S">S</nt>)*
-->
<nt def="NT-extSubset">extSubset</nt>
']]&gt;'
</rhs>
</prod>
<prod id='NT-ignoreSect'><lhs>ignoreSect</lhs>
<rhs>'&lt;![' S? 'IGNORE' S? '['
<nt def="NT-ignoreSectContents">ignoreSectContents</nt>*
']]&gt;'</rhs>
</prod>
<prod id='NT-ignoreSectContents'><lhs>ignoreSectContents</lhs>
<rhs><nt def='NT-Ignore'>Ignore</nt>
('&lt;![' <nt def='NT-ignoreSectContents'>ignoreSectContents</nt>
']]&gt;'
<nt def='NT-Ignore'>Ignore</nt>)*</rhs></prod>
<prod id='NT-Ignore'><lhs>Ignore</lhs>
<rhs><nt def='NT-Char'>Char</nt>* -
(<nt def='NT-Char'>Char</nt>* ('&lt;![' | ']]&gt;')
<nt def='NT-Char'>Char</nt>*)
</rhs></prod>
<!--<rhs>
((<nt def='NT-SkipLit'>SkipLit</nt>
| <nt def='NT-Comment'>Comment</nt>
| <nt def='NT-PI'>PI</nt>) -
(<nt def='NT-Char'>Char</nt>* ']]&gt;' <nt def='NT-Char'>Char</nt>*))
| ('&lt;![' <nt def='NT-ignoreSectContents'>ignoreSectContents</nt>*
']]&gt;')
</rhs>
<rhs>
| (<nt def='NT-Char'>Char</nt> - (']' | [&lt;'"]))
</rhs>
<rhs>
| ('&lt;!' (<nt def='NT-Char'>Char</nt> - ('-' | '[')))
</rhs>-->
</prodgroup>
</scrap>
</p>
<p>¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤Ï¡¤DTD¤ÎÆâÉô&subset;µÚ¤Ó³°Éô&subset;¤ÈƱÍͤˡ¤´°Á´¤ÊÀë¸À¡¤¥³¥á¥ó¥ÈËô¤ÏÆþ¤ì»Ò¤Ë¤Ê¤Ã¤¿¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤ò¡¤¤¤¤¯¤Ä¤«´Þ¤ó¤Ç¤è¤¤¡£¤³¤ì¤é¤Î´Ö¤Ë¡¤¶õÇò¤¬¸½¤ì¤Æ¤â¤è¤¤¡£
</p>
<p>
¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤Î¥­¡¼¥ï¡¼¥É¤¬<code>INCLUDE</code>¤Ê¤é¤Ð¡¤XML&processor;¤Ï¡¤¤³¤Î¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤ÎÆâÍƤò¡¤Ê¸½ñ¤Î°ìÉô¤È¤·¤Æ°·¤ï¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤Î¥­¡¼¥ï¡¼¥É¤¬<code>IGNORE</code>¤Ê¤é¤Ð¡¤¤½¤Î¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤ÎÆâÍƤϡ¤Ê¸½ñ¤Î°ìÉô¤È¤·¤Æ°·¤ï¤Ê¤¤¡£¹½Ê¸²òÀϤòÀµ¤·¤¯¹Ô¤¦¤¿¤á¤Ë¤Ï¡¤Ìµ»ë¤¹¤ë¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó(IGNORE)¤Ë´Ø¤·¤Æ¤â¡¤ÆâÍƤòÆɤޤʤ±¤ì¤Ð¤Ê¤é¤Ê¤¤¤³¤È¤ËÃí°Õ¤¹¤ë¤³¤È¡£¤³¤ì¤Ï¡¤Æþ¤ì»Ò¤Ë¤Ê¤Ã¤¿¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤ò¸«¤Ä¤±¡¤(̵»ë¤¹¤ë)ºÇ¤â³°Â¦¤Î¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤òÀµ¤·¤¯¸¡½Ð¤¹¤ë¤¿¤á¤È¤¹¤ë¡£¥­¡¼¥ï¡¼¥É¤ò<code>INCLUDE</code>¤È¤¹¤ë¾®¤µ¤Ê¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤¬¡¤¥­¡¼¥ï¡¼¥É¤ò<code>IGNORE</code>¤È¤¹¤ë¤è¤êÂ礭¤Ê¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤Ë´Þ¤Þ¤ì¤ë¤Ê¤é¤Ð¡¤³°Â¦µÚ¤ÓÆ⦤ξò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤ÎξÊý¤È¤â̵»ë¤¹¤ë¡£
</p>
<p>
¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤Î¥­¡¼¥ï¡¼¥É¤¬¥Ñ¥é¥á¥¿¼ÂÂλ²¾È¤Ê¤é¤Ð¡¤XML&processor;¤Ï¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤Î°·¤¤¤òȽÃǤ¹¤ëÁ°¤Ë¡¤¤³¤Î¥Ñ¥é¥á¥¿¼ÂÂΤòŸ³«¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
<p>Îã¤ò¼¡¤Ë¼¨¤¹¡£
<eg>&lt;!ENTITY % draft 'INCLUDE' >
&lt;!ENTITY % final 'IGNORE' >
&lt;![%draft;[
&lt;!ELEMENT book (comments*, title, body, supplements?)>
]]&gt;
&lt;![%final;[
&lt;!ELEMENT book (title, body, supplements?)>
]]&gt;
</eg>
</p>
</div2>
<!--
<div2 id='sec-pass-to-app'>
<head>XML Processor Treatment of Logical Structure</head>
<p>When an XML processor encounters a start-tag, it must make
at least the following information available to the application:
<ulist>
<item>
<p>the element type's generic identifier</p>
</item>
<item>
<p>the names of attributes known to apply to this element type
(validating processors must make available names of all attributes
declared for the element type; non-validating processors must
make available at least the names of the attributes for which
values are specified.
</p>
</item>
</ulist>
</p>
</div2>
-->
</div1>
<!-- &Entities; -->
<div1 id='sec-physical-struct'>
<head>ʪÍý¹½Â¤</head>
<p>
<termdef id="dt-entity" term="Entity">
XMLʸ½ñ¤Ï¡¤°ì¤Ä°Ê¾å¤Îµ­²±Ã±°Ì¤«¤é¹½À®¤¹¤ë¡£¤³¤Îµ­²±Ã±°Ì¤ò¡¤<term>¼ÂÂÎ</term>¤È¤¤¤¦¡£¼ÂÂΤϡ¤<term>ÆâÍÆ</term>¤ò¤â¤Á¡¤Ê¸½ñ¼ÂÂÎ(°Ê¹ß»²¾È)µÚ¤Ó<termref def='dt-doctype'>³°ÉôDTD&subset;</termref>¤ò½ü¤¤¤Æ¡¤<term>̾Á°</term>¤Ç&identified;¡£
</termdef>
<!-- Added for CFG -->
<!-- obscurity amputated by TWB -->
<!-- entire sentence amputated by CMSMcQ: no one but NO ONE is
ready for entities declared as
<!ENTITY foo "http://www.foo.com/bar.xml#id">
and it's pointless to suggest that it's possible
under current circumstances. -->
<!-- An entity may be stored in, -->
<!--but need not be coterminous with, -->
<!-- but need not comprise the whole of, -->
<!-- a single physical storage object such as a file or -->
<!-- database field. -->
<!-- End sentence added for CFG -->³ÆXMLʸ½ñ¤Ï¡¤<termref def="dt-docent">ʸ½ñ¼ÂÂÎ</termref>¤È¸Æ¤Ö¼ÂÂΤò°ì¤Ä¤â¤Ä¡£<termref def="dt-xml-proc">XML&processor;</termref>¤Ï¡¤¤³¤Îʸ½ñ¼ÂÂΤ«¤é½èÍý¤ò³«»Ï¤¹¤ë¡£Ê¸½ñ¼ÂÂΤ¬¡¤Ê¸½ñ¤Î¤¹¤Ù¤Æ¤ò´Þ¤ó¤Ç¤â¤è¤¤¡£</p>
<p>¼ÂÂΤϡ¤&parsed-entity;Ëô¤Ï&unparsed-entity;¤È¤¹¤ë¡£<termdef id="dt-parsedent" term="Text Entity"><term>&parsed-entity;</term>¤ÎÆâÍƤϡ¤&parsed-entity;¤Î<termref def='dt-repltext'>&replacement-text;</termref>¤È¸Æ¤Ö¡£¤³¤Î<termref def="dt-text">¥Æ¥­¥¹¥È</termref>¤Ï¡¤Ê¸½ñ¤ÎËÜÂΤΰìÉô¤È¤·¤Æ²ò¼á¤¹¤ë¡£
</termdef>
</p>
<p>
<termdef id="dt-unparsed" term="Unparsed Entity">
<term>&unparsed-entity;</term>¤Ï¡¤ÆâÍƤ¬<termref def='dt-text'>¥Æ¥­¥¹¥È</termref>¤Ç¤â¤½¤¦¤Ç¤Ê¤¯¤È¤â¤è¤¤¥ê¥½¡¼¥¹¤È¤¹¤ë¡£¥Æ¥­¥¹¥È¤Î¾ì¹ç¡¤XML¤Ç¤Ê¤¯¤È¤â¤è¤¤¡£³Æ&unparsed-entity;¤Ë¤Ï¡¤<termref def="dt-notation">µ­Ë¡</termref>¤¬´ØÏ¢ÉÕ¤±¤é¤ì¡¤¤³¤Îµ­Ë¡¤Ï¡¤Ì¾Á°¤Ç&identified;¡£µ­Ë¡¤Î̾Á°µÚ¤Ó´ØÏ¢ÉÕ¤±¤é¤ì¤¿&identifier;¤ò¡¤XML&processor;¤¬&application;¤ËÅϤ¹¤È¤¤¤¦Í×·ï°Ê³°¤Ï¡¤XML¤Ï¡¤&unparsed-entity;¤ÎÆâÍƤòÀ©¸Â¤·¤Ê¤¤¡£
</termdef>
</p>
<p>&parsed-entity;¤Ï¡¤¼ÂÂλ²¾È¤Ë¤è¤Ã¤Æ̾Á°¤Ç¸Æ¤Ó½Ð¤¹¡£&unparsed-entity;¤Ï¡¤<kw>ENTITY</kw>·¿Ëô¤Ï<kw>ENTITIES</kw>·¿¤Î°À­¤ÎÃͤȤ·¤Æ¡¤Ì¾Á°¤Ç»²¾È¤¹¤ë¡£</p>
<p>
<termdef id='gen-entity' term='general entity'><term>°ìÈ̼ÂÂÎ</term>¤Ï¡¤Ê¸½ñÆâÍƤÎÃæ¤Ç»ÈÍѤ¹¤ë&parsed-entity;¤È¤¹¤ë¡£¤¢¤¤¤Þ¤¤¤Ë¤Ê¤é¤Ê¤¤¸Â¤ê¡¤¤³¤Î&TR-or-Rec;¤Ç¤Ï¡¤°ìÈ̼ÂÂΤòñ¤Ë<emph>¼ÂÂÎ</emph>¤È¸Æ¤Ö¡£</termdef><termdef id='dt-PE' term='Parameter entity'>¥Ñ¥é¥á¥¿¼ÂÂΤϡ¤DTDÆâ¤Ç»ÈÍѤ¹¤ë&parsed-entity;¤È¤¹¤ë¡£</termdef>¤³¤ì¤é¤Î£²¼ïÎà¤Î¼ÂÂΤϡ¤°Û¤Ê¤ë½ñ¼°¤Ç»²¾È¤·¡¤°Û¤Ê¤ëʸ̮¤Çǧ¼±¤¹¤ë¡£</p>
<!--
<div2 id='sec-synchro'>
<head>Logical and Physical Structures</head>
<p>The logical and physical structures (elements and entities)
in an XML document must
be properly nested.
<termref def='dt-stag'>Tags</termref> and <termref def='dt-element'>elements</termref> must
each begin and end in the same <termref def='dt-entity'>entity</termref>, but may
refer to other
entities internally; <termref def='dt-comment'>comments</termref>,
<termref def='dt-pi'>processing instructions</termref>,
<termref def='dt-charref'>character
references</termref>, and
<termref def='dt-entref'>entity references</termref> must each be contained entirely
within a single entity. Entities must each contain an integral number
of elements, comments, processing instructions, and references,
possibly together with character data not contained within any element
in the entity, or else they must contain non-textual data, which by
definition contains no elements.</p></div2>
-->
<div2 id='sec-references'>
<head>ʸ»ú»²¾ÈµÚ¤Ó¼ÂÂλ²¾È</head>
<p>
<termdef id="dt-charref" term="Character Reference">
<term>ʸ»ú»²¾È</term>¤Ï¡¤ISO/IEC 10646ʸ»ú½¸¹ç¤ÎÆÃÄê¤Îʸ»ú¡¤Î㤨¤Ð¡¤ÆþÎϵ¡´ï¤«¤éľÀÜÆþÎÏÉÔ²Äǽ¤Êʸ»ú¤ò»²¾È¤¹¤ë¡£
<scrap lang='ebnf'>
<head>ʸ»ú»²¾È</head>
<prod id='NT-CharRef'><lhs>CharRef</lhs>
<rhs>'&amp;#' [0-9]+ ';' </rhs>
<rhs>| '&hcro;' [0-9a-fA-F]+ ';'</rhs>
<wfc def="wf-Legalchar"/>
</prod>
</scrap>
<wfcnote id="wf-Legalchar">
<head>ÀµÅö¤Êʸ»ú</head>
<p>ʸ»ú»²¾È¤Ç»²¾È¤¹¤ëʸ»ú¤Ï¡¤Èó½ªÃ¼µ­¹æ<termref def="NT-Char">Char</termref>¤Ë½¾¤ï¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
</wfcnote>
ʸ»ú¤¬ "<code>&amp;#x</code>" ¤Ç»Ï¤Þ¤ì¤Ð¡¤½ªÃ¼¤Î "<code>;</code>" ¤Þ¤Ç¤Î¿ô»úµÚ¤Ó¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¤Ï¡¤ISO/IEC 10646 ¤Îʸ»ú¥³¡¼¥É¤Î16¿Ê¿ôɽ¸½¤È¤¹¤ë¡£
<!--ÆüËܸìÌõ¤Ë¤Ä¤¤¤Æ: letter¤Ï¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¤ÈÌõ¤·¤¿¡£ »°¹¥ -->
ʸ»ú¤¬ "<code>&amp;#</code>" ¤Ç»Ï¤Þ¤ì¤Ð¡¤½ªÃ¼¤Î "<code>;</code>" ¤Þ¤Ç¤Î¿ô»ú¤Ï¡¤Ê¸»ú¥³¡¼¥É¤Î10¿Ê¿ôɽ¸½¤È¤¹¤ë¡£
</termdef>
</p>
<p>
<termdef id="dt-entref" term="Entity Reference">
<term>¼ÂÂλ²¾È</term>¤Ï¡¤Ì¾Á°¤ÎÉÕ¤¤¤¿¼ÂÂΤÎÆâÍƤò»²¾È¤¹¤ë¡£</termdef><termdef id='dt-GERef' term='General Entity Reference'>°ìÈ̼ÂÂΤؤλ²¾È¤Ï¡¤¥¢¥ó¥Ñ¥µ¥ó¥É(<code>&amp;</code>)µÚ¤Ó¥»¥ß¥³¥í¥ó(<code>;</code>)¤ò¶èÀÚ¤ê»Ò¤È¤·¤ÆÍѤ¤¤ë¡£</termdef><termdef id='dt-PERef' term='Parameter-entity reference'><term>¥Ñ¥é¥á¥¿¼ÂÂÎ</term>¤Ø¤Î»²¾È¤Ï¡¤¥Ñ¡¼¥»¥ó¥Èµ­¹æ(<code>%</code>)µÚ¤Ó¥»¥ß¥³¥í¥ó(<code>;</code>)¤ò¶èÀÚ¤ê»Ò¤È¤·¤ÆÍѤ¤¤ë¡£
</termdef>
</p>
<scrap lang="ebnf">
<head>¼ÂÂλ²¾È</head>
<prod id='NT-Reference'><lhs>Reference</lhs>
<rhs><nt def='NT-EntityRef'>EntityRef</nt>
| <nt def='NT-CharRef'>CharRef</nt></rhs></prod>
<prod id='NT-EntityRef'><lhs>EntityRef</lhs>
<rhs>'&amp;' <nt def='NT-Name'>Name</nt> ';'</rhs>
<wfc def='wf-entdeclared'/>
<vc def='vc-entdeclared'/>
<wfc def='textent'/>
<wfc def='norecursion'/>
</prod>
<prod id='NT-PEReference'><lhs>PEReference</lhs>
<rhs>'%' <nt def='NT-Name'>Name</nt> ';'</rhs>
<wfc def='wf-entdeclared'/>
<vc def='vc-entdeclared'/>
<wfc def='textent'/>
<wfc def='norecursion'/>
<wfc def='indtd'/>
</prod>
</scrap>
<wfcnote id='wf-entdeclared'>
<head>¼ÂÂΤ¬Àë¸À¤µ¤ì¤Æ¤¤¤ë¤³¤È</head>
<p>DTD¤ò¤â¤¿¤Ê¤¤Ê¸½ñ¡¤¥Ñ¥é¥á¥¿¼ÂÂλ²¾È¤ò´Þ¤Þ¤Ê¤¤ÆâÉôDTD&subset;¤À¤±¤ò¤â¤Äʸ½ñ¡¤Ëô¤Ï "<code>standalone='yes'</code>" ¤ò¤â¤Äʸ½ñ¤Ë¤ª¤¤¤Æ¡¤¼ÂÂλ²¾È¤ÇÍѤ¤¤ë <nt def='NT-Name'>Name</nt> ¤Ï¡¤¤½¤Î¼ÂÂΤÎÀë¸À¤ÇÍ¿¤¨¤ë̾Á°¤È¡¤<termref def="dt-match">&match;</termref>¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤¿¤À¤·¡¤&well-formed;¤Îʸ½ñ¤Ï¡¤¼ÂÂÎ&magicents; ¤òÀë¸À¤¹¤ëɬÍפϤʤ¤¡£¥Ñ¥é¥á¥¿¼ÂÂΤξì¹ç¤Ï¡¤Àë¸À¤Ï¡¤»²¾È¤ËÀè¹Ô¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£Æ±Íͤˡ¤°ìÈ̼ÂÂΤξì¹ç¤Ï¡¤Â°À­¥ê¥¹¥ÈÀë¸À¤Î&default-value;Æâ¤Ç¤Î»²¾È¤è¤êÀè¤Ë¡¤Àë¸À¤¬¸½¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
<p>³°Éô&subset;Ëô¤Ï³°Éô¥Ñ¥é¥á¥¿¼ÂÂΤǼÂÂΤòÀë¸À¤¹¤ë¤È¤­¡¤&non-validating;&processor;¤¬¡¤Àë¸À¤òÆɤߡ¤½èÍý¤¹¤ë¤³¤È¤ò<titleref href='include-if-valid'>µÁ̳¤Å¤±¤Ê¤¤</titleref>¡£¤½¤ì¤é¤Îʸ½ñ¤Ç¤Ï¡¤¼ÂÂΤÏÀë¸À¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤È¤¤¤¦µ¬Â§¤Ï¡¤&well-formed;À©Ìó¤Ç¤Ï¤Ê¤¤¡£
</p>
</wfcnote>
<vcnote id="vc-entdeclared">
<head>¼ÂÂΤ¬Àë¸À¤µ¤ì¤Æ¤¤¤ë¤³¤È</head>
<p>
³°Éô&subset;Ëô¤Ï³°Éô¥Ñ¥é¥á¥¿¼ÂÂΤò¤â¤Ã¤Æ¤¤¤Æ¡¤"<code>standalone='no'</code>"¤ò¤â¤Äʸ½ñ¤Ë¤ª¤¤¤Æ¡¤¼ÂÂλ²¾È¤ÇÍѤ¤¤ë <nt def='NT-Name'>Name</nt> ¤Ï¡¤¤½¤Î¼ÂÂΤÎÀë¸À¤ÇÍ¿¤¨¤ë̾Á°¤È<termref def="dt-match">&match;</termref>¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£Áê¸ß±¿ÍÑÀ­¤Î¤¿¤á¡¤&valid;¤Êʸ½ñ¤Ï<titleref href="sec-escapes">¤¢¤é¤«¤¸¤áÄêµÁ¤·¤¿¼ÂÂΤε¬Äê</titleref>¤Ç»ØÄꤷ¤¿½ñ¼°¤Ë¤è¤Ã¤Æ¡¤¼ÂÂÎ &magicents;¤òÀë¸À¤¹¤ë¤³¤È¤¬Ë¾¤Þ¤·¤¤¡£¥Ñ¥é¥á¥¿¼ÂÂΤξì¹ç¤Ï¡¤Àë¸À¤Ï¡¤»²¾È¤ËÀè¹Ô¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£Æ±Íͤˡ¤°ìÈ̼ÂÂΤξì¹ç¤Ï¡¤Â°À­¥ê¥¹¥ÈÀë¸À¤Î&default-value;Æâ¤Ç¤Î»²¾È¤è¤ê¤âÀè¤Ë¡¤Àë¸À¤¬¸½¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<!-- FINAL EDIT: is this duplication too clumsy? -->
<wfcnote id='textent'>
<head>&parsed-entity;</head>
<p>
¼ÂÂλ²¾È¤Ï¡¤<termref def="dt-unparsed">&unparsed-entity;</termref>¤Î̾Á°¤ò´Þ¤ó¤Ç¤¤¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£&unparsed-entity;¤Ï¡¤<kw>ENTITY</kw>·¿Ëô¤Ï<kw>ENTITIES</kw> ·¿¤È¤·¤ÆÀë¸À¤·¤¿<termref def="dt-attrval">°À­ÃÍ</termref>¤È¤·¤Æ¤À¤±»²¾È¤Ç¤­¤ë¡£
</p>
</wfcnote>
<wfcnote id='norecursion'>
<head>ºÆµ¢¤Ê¤·</head>
<p>&parsed-entity;¤Ï¡¤¤½¤ì¼«ÂΤؤλ²¾È¤ò¡¤Ä¾Àܤˤâ´ÖÀܤˤâ´Þ¤ó¤Ç¤Ï¤Ê¤é¤Ê¤¤¡£</p>
</wfcnote>
<wfcnote id='indtd'>
<head>DTD¤ÎÃæ</head>
<p>
¥Ñ¥é¥á¥¿¼ÂÂλ²¾È¤Ï¡¤<termref def='dt-doctype'>DTD</termref>Æâ¤Ë¤À¤±¡¤½Ð¸½¤·¤Æ¤è¤¤¡£
<!--
In the external DTD subset, a parameter-entity reference is
recognized only at the locations where
the nonterminal <nt def="NT-PEReference">PEReference</nt> or the
special operator <code>%</code> appears in a production of the
grammar. In the internal subset, parameter-entity references
are recognized only when they match
the <nt def="NT-InternalPERef">InternalPERef</nt> non-terminal
in the production for <nt def="NT-markupdecl">markupdecl</nt>.
-->
</p>
</wfcnote>
<p>
ʸ»ú»²¾ÈµÚ¤Ó¼ÂÂλ²¾È¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>Type &lt;key>less-than&lt;/key> (&hcro;3C;) to save options.
This document was prepared on &amp;docdate; and
is classified &amp;security-level;.</eg>
</p>
<p>
¥Ñ¥é¥á¥¿¼ÂÂλ²¾È¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;!ENTITY % ISOLat2
SYSTEM "http://www.xml.com/iso/isolat2-xml.entities" >
%ISOLat2;
</eg>
</p>
</div2>
<div2 id='sec-entity-decl'>
<head>¼ÂÂÎÀë¸À</head>
<p>
<termdef id="dt-entdecl" term="entity declaration">
¼ÂÂΤϡ¤¼¡¤Î¤È¤ª¤ê¤ËÀë¸À¤¹¤ë¡£
<scrap lang='ebnf'>
<head>¼ÂÂÎÀë¸À</head>
<prodgroup pcw2="5" pcw4="18.5">
<prod id='NT-EntityDecl'><lhs>EntityDecl</lhs>
<rhs><nt def="NT-GEDecl">GEDecl</nt></rhs><com>°ìÈ̼ÂÂÎ</com>
<rhs>| <nt def="NT-PEDecl">PEDecl</nt></rhs><com>¥Ñ¥é¥á¥¿¼ÂÂÎ</com>
</prod>
<prod id='NT-GEDecl'><lhs>GEDecl</lhs>
<rhs>'&lt;!ENTITY' <nt def='NT-S'>S</nt> <nt def='NT-Name'>Name</nt>
<nt def='NT-S'>S</nt> <nt def='NT-EntityDef'>EntityDef</nt>
<nt def='NT-S'>S</nt>? '&gt;'</rhs>
</prod>
<prod id='NT-PEDecl'><lhs>PEDecl</lhs>
<rhs>| '&lt;!ENTITY' <nt def='NT-S'>S</nt> '%' <nt def='NT-S'>S</nt>
<nt def='NT-Name'>Name</nt> <nt def='NT-S'>S</nt>
<nt def='NT-PEDef'>PEDef</nt> <nt def='NT-S'>S</nt>? '&gt;'</rhs>
<com>¥Ñ¥é¥á¥¿¼ÂÂÎ</com>
</prod>
<prod id='NT-EntityDef'><lhs>EntityDef</lhs>
<rhs><nt def='NT-EntityValue'>EntityValue</nt>
</rhs>
<!--<wfc def="WF-EntityValue"/>-->
<rhs>| <nt def='NT-ExternalDef'>ExternalDef</nt></rhs>
<!--<wfc def="WF-External"/>-->
</prod>
<!-- FINAL EDIT: what happened to WFs here? -->
<prod id='NT-PEDef'><lhs>PEDef</lhs>
<rhs><nt def='NT-EntityValue'>EntityValue</nt>
| <nt def='NT-ExternalID'>ExternalID</nt></rhs></prod>
</prodgroup>
</scrap>
<nt def='NT-Name'>Name</nt> ¤Ï¡¤<termref def="dt-entref">¼ÂÂλ²¾È</termref>¤Ë¤ª¤¤¤Æ¼ÂÂΤò&identify;¡£&unparsed-entity;¤Ê¤é¤Ð¡¤<kw>ENTITY</kw> ·¿Ëô¤Ï<kw>ENTITIES</kw>·¿¤Î°À­ÃÍÆâ¤Ç¡¤¼ÂÂΤò&identify;¡£Æ±°ì¤Î¼ÂÂΤ¬°ì²ó°Ê¾åÀë¸À¤µ¤ì¤ì¤Ð¡¤ºÇ½é¤ÎÀë¸À¤òÍѤ¤¤ë¡£&at-user-option;¡¤Ê£¿ô²óÀë¸À¤µ¤ì¤ë¼ÂÂΤ˴ؤ·¡¤XML&processor;¤Ï¡¤·Ù¹ð¤ò½Ð¤·¤Æ¤â¤è¤¤¡£
</termdef>
</p>
<!--
<wfcnote id="WF-Entityvalue">
<head>Well-Formed Internal Entity</head>
<p>General entities defined by an <nt
def="NT-EntityValue">EntityValue</nt> must be well-formed, as defined
in section <specref ref="wf-entities"/>.
</p>
</wfcnote>
<wfcnote id="WF-External">
<head>Well-Formed External Entity</head>
<p>General text entities defined by an <nt
def="NT-ExternalDef">ExternalDef</nt>, must be well-formed, as defined
in the section on <titleref xml-link="simple"
href="wf-entities">well-formed entities.</titleref>.</p>
</wfcnote>
-->
<div3 id='sec-internal-ent'>
<head>ÆâÉô¼ÂÂÎ</head>
<p>
<termdef id='dt-internent' term="Internal Entity Replacement Text">
¼ÂÂΤÎÄêµÁ¤¬ <nt def='NT-EntityValue'>EntityValue</nt>¤Î¤È¤­¡¤¤³¤ì¤ò<term>ÆâÉô¼ÂÂÎ</term>¤È¤¤¤¦¡£¤³¤ì¤Ï¡¤Ê̸ĤÎʪÍýŪµ­²±Ã±°Ì¤ò¤â¤¿¤º¡¤¼ÂÂΤÎÆâÍƤϡ¤Àë¸ÀÆâ¤ÇÍ¿¤¨¤ë¡£</termdef>Àµ¤·¤¯<termref def='dt-repltext'>&replacement-text;</termref>¤òÀ¸À®¤¹¤ë¤Ë¤Ï¡¤<termref def='dt-litentval'>&literal;¼ÂÂÎÃÍ</termref>Æâ¤Ç¤Î¼ÂÂλ²¾ÈµÚ¤Óʸ»ú»²¾È¤Î½èÍý¤¬¡¤É¬ÍפȤʤ뤫¤â¤·¤ì¤Ê¤¤¤³¤È¤ËÃí°Õ¤¹¤ë¡£¾ÜºÙ¤Ï¡¤<titleref href='intern-replacement'>ÆâÉô¼ÂÂΤÎ&replacement-text;¤Î¹½ÃÛ</titleref>¤ò»²¾È¡£
<!-- redundant -TWB
Within the <nt def="NT-EntityValue">EntityValue</nt>,
parameter-entity references and character references are recognized
and expanded immediately.
General-entity references within the
replacement text are not recognized
at the time the entity declaration is parsed, though they may be
recognized when the entity itself is referred to.
-->
</p>
<p>
ÆâÉô¼ÂÂΤϡ¤<termref def="dt-parsedent">&parsed-entity;</termref>¤È¤¹¤ë¡£
</p>
<p>ÆâÉô¼ÂÂÎÀë¸À¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;!ENTITY Pub-Status "This is a pre-release of the specification."></eg></p>
</div3>
<div3 id='sec-external-ent'>
<head>³°Éô¼ÂÂÎ</head>
<p>
<termdef id="dt-extent" term="External Entity">
¼ÂÂΤ¬ÆâÉô¼ÂÂΤǤʤ±¤ì¤Ð¡¤<term>³°Éô¼ÂÂÎ</term>¤È¤·¡¤¼¡¤Î¤È¤ª¤ê¤ËÀë¸À¤¹¤ë¡£
<scrap lang='ebnf'>
<head>³°Éô¼ÂÂÎÀë¸À</head>
<prod id='NT-ExternalDef'><lhs>ExternalDef</lhs>
<rhs><nt def='NT-ExternalID'>ExternalID</nt>
<nt def='NT-NDataDecl'>NDataDecl</nt>?</rhs></prod>
<prod id='NT-ExternalID'><lhs>ExternalID</lhs>
<rhs>'SYSTEM' <nt def='NT-S'>S</nt>
<nt def='NT-SystemLiteral'>SystemLiteral</nt></rhs>
<rhs>| 'PUBLIC' <nt def='NT-S'>S</nt>
<nt def='NT-PubidLiteral'>PubidLiteral</nt>
<nt def='NT-S'>S</nt>
<nt def='NT-SystemLiteral'>SystemLiteral</nt>
</rhs>
</prod>
<prod id='NT-NDataDecl'><lhs>NDataDecl</lhs>
<rhs><nt def='NT-S'>S</nt> 'NDATA' <nt def='NT-S'>S</nt>
<nt def='NT-Name'>Name</nt></rhs>
<vc def='not-declared'/></prod>
</scrap>
<nt def='NT-NDataDecl'>NDataDecl</nt> ¤¬Â¸ºß¤¹¤ì¤Ð¡¤¤³¤Î¼ÂÂΤϡ¤<termref def="dt-unparsed">&unparsed-entity;</termref>¤È¤·¡¤¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¤&parsed-entity;¤È¤¹¤ë¡£</termdef>
</p>
<vcnote id='not-declared'>
<head>µ­Ë¡¤¬Àë¸À¤µ¤ì¤Æ¤¤¤ë¤³¤È</head>
<p>
<nt def='NT-Name'>Name</nt> ¤Ï¡¤Àë¸À¤·¤¿<termref def="dt-notation">µ­Ë¡</termref>¤Î̾Á°¤È&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<p>
<termdef id="dt-sysid" term="System Identifier">
¥­¡¼¥ï¡¼¥É <kw>SYSTEM</kw> ¤Î¸å¤Î <nt def='NT-SystemLiteral'>SystemLiteral</nt> ¤ò¡¤¼ÂÂΤÎ<term>¥·¥¹¥Æ¥à&identifier;</term>¤È¸Æ¤Ö¡£¤³¤ì¤ÏURI¤È¤·¡¤¤½¤Î¼ÂÂΤÎÆâÍƤò¼è¤ê½Ð¤¹¤Î¤ËÍѤ¤¤Æ¤â¤è¤¤¡£</termdef>URI¤È¶¦¤Ë»È¤¦¤³¤È¤Î¿¤¤¥Ï¥Ã¥·¥å("<code>#</code>")µÚ¤Ó¥Õ¥é¥°¥á¥ó¥È&identifier;¤Ï¡¤Àµ¼°¤Ë¤Ï¡¤URI¼«ÂΤΰìÉô¤È¤Ï¤·¤Ê¤¤¡£¥Õ¥é¥°¥á¥ó¥È&identifier;¤¬¡¤¥·¥¹¥Æ¥à&identifier;¤ÎÉôʬ¤È¤·¤ÆÍ¿¤¨¤é¤ì¤Æ¤¤¤ë¾ì¹ç¡¤XML&processor;¤Ï¡¤&error;¤ò½Ð¤·¤Æ¤â¤è¤¤¡£¤³¤Î&TR-or-Rec;¤ÎÈϰϳ°¤Î¾ðÊó(Î㤨¤Ð¡¤¤¢¤ëÆÃÄê¤ÎDTD¤ÎÆÃÊ̤ÊXMLÍ×ÁÇËô¤ÏÆÃÄê¤Î&application;¤Î»ÅÍͤˤè¤Ã¤ÆÄêµÁ¤µ¤ì¤¿½èÍýÌ¿Îá)¤Ë¤è¤Ã¤Æ¾å½ñ¤­¤µ¤ì¤Ê¤¤¸Â¤ê¡¤ÁêÂÐŪ¤ÊURI¤Ï¡¤¤½¤Î¼ÂÂΤΰÌÃÖ¡¤¤¹¤Ê¤ï¤Á¡¤¤½¤Î¼ÂÂΤÎÀë¸À¤¬¤¢¤ë¥Õ¥¡¥¤¥ë¤ËÁêÂÐŪ¤È¤¹¤ë¡£¤·¤¿¤¬¤Ã¤Æ¡¤DTD¤ÎÆâÉô&subset;¤Ë¤¢¤ë¼ÂÂÎÀë¸À¤Ç¤ÎÁêÂÐŪ¤ÊURI¤Ï¡¤Ê¸½ñ¤Î°ÌÃ֤ˤĤ¤¤ÆÁêÂÐŪ¤È¤¹¤ë¡£³°Éô&subset;¤Ë¤¢¤ë¼ÂÂÎÀë¸À¤Ç¤ÎÁêÂÐŪ¤ÊURI¤Ï¡¤¤½¤Î³°Éô&subset;¤ò´Þ¤à¥Õ¥¡¥¤¥ë¤Î°ÌÃÖ¤ËÁêÂÐŪ¤È¤¹¤ë¡£
</p>
<p>
<termdef id="dt-pubid" term="Public identifier">
¥·¥¹¥Æ¥à&identifier;°Ê³°¤Ë¡¤³°Éô¼ÂÂΤϡ¤<term>¸ø³«&identifier;</term>¤ò´Þ¤ó¤Ç¤â¤è¤¤¡£
</termdef>
¼ÂÂΤÎÆâÍƤò¼è¤ê½Ð¤¹XML&processor;¤Ï¡¤¤³¤Î¸ø³«&identifier;¤òÍѤ¤¤Æ¡¤Âå¤ï¤ê¤ÎURI¤ÎÀ¸À®¤ò»î¤ß¤Æ¤â¤è¤¤¡£XML&processor;¤¬¤³¤ì¤Ë¼ºÇÔ¤·¤¿¾ì¹ç¤Ï¡¤¥·¥¹¥Æ¥à&literal;¤È¤·¤Æ»ØÄꤷ¤¿URI¤òÍѤ¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£&match;¤¹¤ëÁ°¤Ë¡¤¸ø³«&identifier;Æâ¤Ë¤¢¤ë¶õÇòʸ»ú¤«¤é¤Ê¤ë&string;¤Ï¡¤¤¹¤Ù¤Æñ°ì¤Î&space-character;(#x20)¤ËÀµµ¬²½¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤º¡¤Á°¸å¤Î¶õÇòʸ»ú¤Ïºï½ü¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
<p>³°Éô¼ÂÂÎÀë¸À¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;!ENTITY open-hatch
SYSTEM "http://www.textuality.com/boilerplate/OpenHatch.xml">
&lt;!ENTITY open-hatch
PUBLIC "-//Textuality//TEXT Standard open-hatch boilerplate//EN"
"http://www.textuality.com/boilerplate/OpenHatch.xml">
&lt;!ENTITY hatch-pic
SYSTEM "../grafix/OpenHatch.gif"
NDATA gif ></eg></p>
</div3>
</div2>
<div2 id='TextEntities'>
<head>&parsed-entity;</head>
<div3 id='sec-TextDecl'>
<head>¥Æ¥­¥¹¥ÈÀë¸À</head>
<p>³°Éô&parsed-entity;¤Ï¡¤<term>¥Æ¥­¥¹¥ÈÀë¸À</term>¤Ç»Ï¤Þ¤Ã¤Æ¤â¤è¤¤¡£
<scrap lang='ebnf'>
<head>¥Æ¥­¥¹¥ÈÀë¸À</head>
<prodgroup pcw4="12.5" pcw5="13">
<prod id='NT-TextDecl'><lhs>TextDecl</lhs>
<rhs>&xmlpio;
<nt def='NT-VersionInfo'>VersionInfo</nt>?
<nt def='NT-EncodingDecl'>EncodingDecl</nt>
<nt def='NT-S'>S</nt>? &pic;</rhs>
<!-- <wfc def='wfc-xmldecliteral'/> -->
<!-- <wfc def='wfc-no-nonleading-encdec'/> -->
</prod>
</prodgroup>
</scrap>
</p>
<p>¥Æ¥­¥¹¥ÈÀë¸À¤Ï¡¤¤½¤Î¤Þ¤Þ¤Î·Á¤Ç¸½¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤º¡¤&parsed-entity;¤Ø¤Î»²¾È¤ò·Ðͳ¤·¤Æ¤Ï¤Ê¤é¤Ê¤¤¤³¤È¤ËÃí°Õ¤¹¤ë¡£</p>
<p>³°Éô&parsed-entity;¤Ë¤ª¤¤¤Æ¡¤¥Æ¥­¥¹¥ÈÀë¸À¤Ï¡¤ÀèƬ°Ê³°¤Î¤¤¤«¤Ê¤ë°ÌÃ֤ˤâ½Ð¸½¤·¤Ê¤¤¡£</p>
</div3>
<div3 id='wf-entities'>
<head>&well-formed;¤Î&parsed-entity;</head>
<p>¥é¥Ù¥ë<nt def='NT-document'>document</nt>¤ò¤â¤ÄÀ¸À®µ¬Â§¤Ë&match;¤¹¤ì¤Ð¡¤Ê¸½ñ¼ÂÂΤϡ¤&well-formed;¤È¤¹¤ë¡£¥é¥Ù¥ë<nt def='NT-ExtParsedEnt'>ExtParsedEnt</nt>¤ò¤â¤ÄÀ¸À®µ¬Â§¤Ë&match;¤¹¤ì¤Ð¡¤³°Éô¤Î°ìÈÌ&parsed-entity;¤Ï¡¤&well-formed;¤È¤¹¤ë¡£¥é¥Ù¥ë<nt def='NT-ExtPE'>ExtPE</nt>¤ò¤â¤ÄÀ¸À®µ¬Â§¤Ë&match;¤¹¤ì¤Ð¡¤³°Éô¥Ñ¥é¥á¥¿¼ÂÂΤϡ¤&well-formed;¤È¤¹¤ë¡£
<scrap lang='ebnf'>
<head>&well-formed;¤Î&parsed-entity;</head>
<prod id='NT-ExtParsedEnt'><lhs>ExtParsedEnt</lhs>
<rhs><nt def='NT-TextDecl'>TextDecl</nt>?
<nt def='NT-content'>content</nt></rhs>
</prod>
<prod id='NT-ExtPE'><lhs>ExtPE</lhs>
<rhs><nt def='NT-TextDecl'>TextDecl</nt>?
<nt def='NT-extSubset'>extSubset</nt></rhs>
</prod>
</scrap>
&replacement-text;¤¬¡¤¥é¥Ù¥ë<nt def='NT-content'>content</nt>¤ò¤â¤ÄÀ¸À®µ¬Â§¤Ë&match;¤¹¤ì¤Ð¡¤ÆâÉô¤Î°ìÈÌ&parsed-entity;¤Ï¡¤&well-formed;¤È¤¹¤ë¡£DTD¤òºÇ¸å¤Þ¤ÇÆɤ߹þ¤Þ¤Ê¤¤¤È¡¤³Î¼Â¤Ë¤³¤ì¤òȽÄê¤Ç¤­¤Ê¤¤¤³¤È¤ËÃí°Õ¡£¤¹¤Ù¤Æ¤ÎÆâÉô¤Î¥Ñ¥é¥á¥¿¼ÂÂΤϡ¤ÄêµÁ¤Ë¤è¤Ã¤Æ&well-formed;¤È¤¹¤ë¡£
</p>
<p>¼ÂÂΤ¬&well-formed;¤Ê·ë²Ì¤È¤·¤Æ¡¤XMLʸ½ñ¤ÎÏÀÍýŪµÚ¤ÓʪÍýŪ¹½Â¤¤Ï¡¤Àµ¤·¤¯Æþ¤ì»Ò¤È¤Ê¤ë¡£<termref def='dt-stag'>³«»Ï¥¿¥°</termref>¡¤<termref def='dt-etag'>½ªÎ»¥¿¥°</termref>¡¤<termref def="dt-empty">¶õÍ×ÁÇ¥¿¥°</termref>¡¤<termref def='dt-element'>Í×ÁÇ</termref>¡¤<termref def='dt-comment'>¥³¥á¥ó¥È</termref>¡¤<termref def='dt-pi'>½èÍýÌ¿Îá</termref>¡¤<termref def='dt-charref'>ʸ»ú»²¾È</termref>µÚ¤Ó<termref def='dt-entref'>¼ÂÂλ²¾È</termref>¤¬¡¤°ì¤Ä¤Î¼ÂÂΤdz«»Ï¤·¡¤Ê̤μÂÂΤǽªÎ»¤¹¤ë¤³¤È¤Ï¤Ê¤¤¡£</p>
</div3>
<div3 id='charencoding'>
<head>¼ÂÂΤˤª¤±¤ëʸ»úÉä¹æ²½</head>
<p>XMLʸ½ñÆâ¤Î³°Éô&parsed-entity;¤Ï¡¤³Æ¡¹¡¤Ê̤Îʸ»úÉä¹æ²½Êý¼°¤òÍѤ¤¤Æ¤â¤è¤¤¡£¤¹¤Ù¤Æ¤ÎXML&processor;¤Ï¡¤UTF-8¤ÇÉä¹æ²½¤·¤¿¼ÂÂΡ¤UTF-16¤ÇÉä¹æ²½¤·¤¿¼ÂÂΤò½èÍý¤Ç¤­¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
<!--
It is recognized that for some purposes, the use of additional
ISO/IEC 10646 planes other than the Basic Multilingual Plane
may be required.
A facility for handling characters in these planes is therefore a
desirable characteristic in XML processors and applications.
-->
</p>
<p>UTF-16¤ÇÉä¹æ²½¤·¤¿¼ÂÂΤϡ¤ISO/IEC 10646¤ÎÉÕÏ¿EµÚ¤ÓUnicode¤ÎÉÕÏ¿B¤Çµ¬Äꤹ¤ë&byte-order-mark;(ZERO WIDTH NO-BREAK SPACEʸ»ú¡¤#xFEFF)¤Ç»Ï¤Þ¤é¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤³¤ì¤Ï¡¤Éä¹æ²½¤Îɸ¼±¤Ç¤¢¤Ã¤Æ¡¤XMLʸ½ñ¤Î&markup;¤Î°ìÉô¤Ç¤â¡¤Ê¸»ú¥Ç¡¼¥¿¤Î°ìÉô¤Ç¤â¤Ê¤¤¡£XML&processor;¤Ï¡¤UTF-8¤ÇÉä¹æ²½¤·¤¿Ê¸½ñ¤ÈUTF-16¤ÇÉä¹æ²½¤·¤¿Ê¸½ñ¤È¤Î¶èÊ̤ò¹Ô¤¦¤¿¤á¤Ë¡¤¤³¤Îʸ»ú¤ò»ÈÍѲÄǽ¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
<p>XML&processor;¤Ï¡¤UTF-8µÚ¤ÓUTF-16¤ÇÉä¹æ²½¤·¤¿¼ÂÂΤÀ¤±¤òÆɤळ¤È¤òɬ¿Ü¤È¤¹¤ë¤¬¡¤Â¾¤ÎÉä¹æ²½¤òÀ¤³¦¤Ç¤ÏÍѤ¤¤Æ¤ª¤ê¡¤¤½¤ì¤é¤ÎÉä¹æ²½¤òÍѤ¤¤ë¼ÂÂΤòXML&processor;¤¬½èÍý¤Ç¤­¤ë¤³¤È¤¬Ë¾¤Þ¤·¤¤¡£UTF-8Ëô¤ÏUTF-16°Ê³°¤ÎÉä¹æ²½Êý¼°¤òÍѤ¤¤Æ³ÊǼ¤¹¤ë&parsed-entity;¤Ï¡¤Éä¹æ²½Àë¸À¤ò´Þ¤à<titleref href='TextDecl'>¥Æ¥­¥¹¥ÈÀë¸À</titleref>¤Ç»Ï¤á¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
<scrap lang='ebnf'>
<head>Éä¹æ²½Àë¸À</head>
<prod id='NT-EncodingDecl'><lhs>EncodingDecl</lhs>
<rhs><nt def="NT-S">S</nt>
'encoding' <nt def='NT-Eq'>Eq</nt>
'"' <nt def='NT-EncName'>EncName</nt> '"' | "'"
<nt def='NT-EncName'>EncName</nt> "'"
</rhs>
</prod>
<prod id='NT-EncName'><lhs>EncName</lhs>
<rhs>[A-Za-z] ([A-Za-z0-9._] | '-')*</rhs>
<com>¥é¥Æ¥óʸ»ú¤À¤±¤ò´Þ¤àÉä¹æ²½Ì¾</com>
</prod>
</scrap>
<termref def='dt-docent'>ʸ½ñ¼ÂÂÎ</termref>¤Ç¤Ï¡¤Éä¹æ²½Àë¸À¤Ï¡¤<termref def="dt-xmldecl">XMLÀë¸À</termref>¤Î°ìÉô¤È¤¹¤ë¡£<nt def="NT-EncName">EncName</nt>¤Ï¡¤»ÈÍѤ¹¤ëÉä¹æ²½Êý¼°¤Î̾Á°¤È¤¹¤ë¡£
</p>
<!-- FINAL EDIT: check name of IANA and charset names -->
<p>Éä¹æ²½Àë¸À¤Ç¤Ï¡¤ÃÍ<code>UTF-8</code>¡¤<code>UTF-16</code>¡¤<code>ISO-10646-UCS-2</code>µÚ¤Ó<code>ISO-10646-UCS-4</code>¤Ï¡¤UnicodeµÚ¤ÓISO/IEC 10646¤Î³Æ¼ïÉä¹æ²½¤Î¤¿¤á¤ËÍѤ¤¤ë¡£ÃÍ<code>ISO-8859-1</code>¤«¤é<code>ISO-8859-9</code>¤Þ¤Ç¤Ï¡¤ISO 8859¤ÎÂбþ¤¹¤ë¥Ñ¡¼¥È¤Î¤¿¤á¤ËÍѤ¤¤ë¡£ÃÍ<code>ISO-2022-JP</code>¡¤<code>Shift_JIS</code>µÚ¤Ó<code>EUC-JP</code>¤Ï¡¤JIS X-0208-1997¤Î³Æ¼ïÉä¹æ²½¤Î¤¿¤á¤ËÍѤ¤¤ë¡£XML&processor;¤Ï¡¤¤½¤ì°Ê³°¤ÎÉä¹æ²½Êý¼°¤òǧ¼±¤·¤Æ¤â¤è¤¤¡£Internet Assigned Numbers Authority (IANA)¤Ë¡¤(<emph>charset</emph>s¤È¤·¤Æ)ÅÐÏ¿¤µ¤ì¤¿Ê¸»úÉä¹æ²½Êý¼°¤Ë¤Ä¤¤¤Æ¤Ï¡¤¤³¤ì¤é°Ê³°¤Ë¤Ä¤¤¤Æ¤â¡¤ÅÐÏ¿¤µ¤ì¤¿Ì¾Á°¤Ç»²¾È¤¹¤ë¤³¤È¤¬Ë¾¤Þ¤·¤¤¡£¤³¤ì¤é¤ÎÅÐÏ¿¤µ¤ì¤¿Ì¾Á°¤Ï¡¤Âçʸ»ú¡¦¾®Ê¸»ú¤Î¶èÊ̤ò¤»¤º¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¤¤³¤ì¤é¤ËÂФ¹¤ëÈæ³Ó¤ò»î¤ß¤ë&processor;¤Ï¡¤Âçʸ»ú¡¦¾®Ê¸»ú¤Î¶èÊ̤ò¤·¤Ê¤¤ÊýË¡¤ò¤È¤ë¤Î¤¬Ë¾¤Þ¤·¤¤¤³¤È¤ËÃí°Õ¤¹¤ë¡£</p>
<p>XML½èÍý·Ï¤ËÅϤµ¤ì¤¿¼ÂÂΤ¬¡¤Éä¹æ²½Àë¸À¤ò´Þ¤à¤Ë¤â¤«¤«¤ï¤é¤º¡¤Àë¸À¤Ç¼¨¤·¤¿¤â¤Î°Ê³°¤ÎÊý¼°¤ÇÉä¹æ²½¤µ¤ì¤Æ¤¤¤¿¤ê¡¤Éä¹æ²½Àë¸À¤¬¡¤³°Éô¼ÂÂΤκǽé°Ê³°¤Î°ÌÃ֤˽и½¤¹¤ì¤Ð¡¤<termref def="dt-error">&error;</termref>¤È¤¹¤ë¡£
</p>
<p>&byte-order-mark;¤Ç¤âÉä¹æ²½Àë¸À¤Ç¤â»Ï¤Þ¤é¤Ê¤¤¼ÂÂΤϡ¤UTF-8Éä¹æ²½¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
<p><!-- XML processors should make an effort to use all available
information, internal and external, to aid in detecting an entity's correct
encoding. Such information may include, but is not limited to:
<ulist><item><p>An HTTP header</p></item>
<item><p>A MIME header obtained other than through HTTP</p></item>
<item><p>Metadata provided by the native OS file system or by document
management software</p></item>
<item><p>The bit patterns at the front of an entity, which may
be analyzed to determine if
the application of any known encoding yields a valid encoding
declaration. See <titleref href='sec-guessing'>the appendix on
autodetection of character sets</titleref>
for a fuller description.</p></item></ulist> -->
½èÍý¤Ç¤­¤Ê¤¤Éä¹æ²½¤ò¤â¤Ã¤¿¼ÂÂΤòXML&processor;¤¬È¯¸«¤·¤¿¤È¤­¤Ï¡¤&application;¤Ë¤½¤Î»ö¼Â¤òÄÌÃΤ·¡¤<termref def='dt-fatal'>&fatal-error;</termref>¤È¤·¤Æ¡¤½èÍý¤ò½ªÎ»¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
<!--
inform the application of this fact and
may
allow the application to
request either that the entity should be treated as an <termref
def="dt-unparsed">unparsed entity</termref>, or that processing should
cease.-->
</p>
<p>Éä¹æ²½Àë¸À¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;?xml encoding='UTF-8'?>
&lt;?xml encoding='EUC-JP'?></eg></p>
</div3>
</div2>
<div2 id='entproc'>
<head>XML&processor;¤Ë¤è¤ë¼ÂÂεڤӻ²¾È¤Î°·¤¤</head>
<p>¼¡¤Îɽ¤Ï¡¤Ê¸»ú»²¾È¡¤¼ÂÂλ²¾ÈµÚ¤Ó&unparsed-entity;¤Î¸Æ½Ð¤·¤¬¸½¤ì¤ëʸ̮µÚ¤Ó³Æ¡¹¤Î¾ì¹ç¤Ë¤ª¤±¤ë<termref def='dt-xml-proc'>XML&processor;</termref>¤ËÍ׵᤹¤ë¿¶Éñ¤¤¤òÍ×Ì󤹤롣°ìÈÖº¸¤ÎÎó¤Î¥é¥Ù¥ë¤Ï¡¤Ç§¼±¤Îʸ̮¤ò¼¨¤¹¡£
<glist>
<gitem><label>ÆâÍƤˤª¤±¤ë»²¾È</label>
<def><p>Í×ÁǤÎ<termref def='dt-stag'>³«»Ï¥¿¥°</termref>µÚ¤Ó<termref def='dt-etag'>½ªÎ»¥¿¥°</termref>¤Î´Ö¤ÎǤ°Õ¤Î¾ì½ê¤Ç¤Î»²¾È¡£Èó½ªÃ¼µ­¹æ<nt def='NT-content'>content</nt>¤ËÂбþ¤¹¤ë¡£</p></def>
</gitem>
<gitem>
<label>°À­Ãͤˤª¤±¤ë»²¾È</label>
<def><p><termref def='dt-stag'>³«»Ï¥¿¥°</termref>¤Î°À­¤ÎÃÍ¡¤Ëô¤Ï<termref def='dt-attdecl'>°À­Àë¸À</termref>¤Ë¤ª¤±¤ë&default-value;¤Î¤¤¤º¤ì¤«¤Ç¤Î»²¾È¡£Èó½ªÃ¼µ­¹æ<nt def='NT-AttValue'>AttValue</nt>¤ËÂбþ¤¹¤ë¡£</p></def></gitem>
<gitem>
<label>°À­ÃͤȤ·¤Æ½Ð¸½</label>
<def><p>»²¾È¤Ç¤Ï¤Ê¤¯¡¤<nt def='NT-Name'>Name</nt>¤È¤·¤Æ½Ð¸½¡£<code>ENTITY</code>·¿¤È¤·¤ÆÀë¸À¤·¤¿Â°À­¤ÎÃÍ¡¤Ëô¤Ï<code>ENTITIES</code>·¿¤È¤·¤ÆÀë¸À¤·¤¿Â°À­¤ÎÃͤˤª¤±¤ë&space;¤Ç¶èÀÚ¤ë&token;¤Î°ì¤Ä¤È¤·¤Æ½Ð¸½¤¹¤ë¡£</p>
</def></gitem>
<gitem><label>¼ÂÂÎÃͤˤª¤±¤ë»²¾È</label>
<def><p>¼ÂÂΤÎÀë¸À¤Ë¤ª¤±¤ë¡¤¥Ñ¥é¥á¥¿Ëô¤ÏÆâÉô¼ÂÂΤÎ<termref def='dt-litentval'>&literal;¼ÂÂÎÃÍ</termref>Æâ¤Î»²¾È¡£Èó½ªÃ¼µ­¹æ<nt def='NT-EntityValue'>EntityValue</nt>¤ËÂбþ¤¹¤ë¡£</p></def></gitem>
<gitem><label>DTD¤Ë¤ª¤±¤ë»²¾È</label>
<def><p><termref def='dt-doctype'>DTD</termref>¤ÎÆâÉô&subset;Ëô¤Ï³°Éô&subset;¤Ç¤Î»²¾È¡£¤¿¤À¤·¡¤<nt def='NT-EntityValue'>EntityValue</nt>Ëô¤Ï<nt def="NT-AttValue">AttValue</nt>¤Î³°Â¦¤È¤¹¤ë¡£</p></def>
</gitem>
</glist></p>
<!-- border value changed by bosak -->
<htable border='1' cellpadding='7' align='center'>
<!-- tbody wrapper added by bosak -->
<htbody>
<tr><td bgcolor='&cellback;' rowspan='2' colspan='1'></td>
<td bgcolor='&cellback;' align='center' valign='bottom' colspan='4'>¼ÂÂΤη¿</td>
<td bgcolor='&cellback;' rowspan='2' align='center'>ʸ»ú</td>
</tr>
<tr align='center' valign='bottom'>
<td bgcolor='&cellback;'>¥Ñ¥é¥á¥¿</td>
<td bgcolor='&cellback;'>ÆâÉô&newline;°ìÈÌ</td>
<td bgcolor='&cellback;'>³°Éô&newline;&parsed-entity;&newline;°ìÈÌ</td>
<td bgcolor='&cellback;'>&unparsed-entity;</td>
</tr>
<tr align='center' valign='middle'>
<!--<td bgcolor='&cellback;' rowspan='4'>Recognition
Context</td>-->
<td bgcolor='&cellback;' align='right'>ÆâÍƤǤÎ&newline;»²¾È</td>
<td bgcolor='&cellback;'><titleref href='not-recognized'>ǧ¼±&newline;¤·¤Ê¤¤</titleref></td>
<td bgcolor='&cellback;'><titleref href='included'>¼è¹þ¤ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='include-if-valid'>¸¡¾Ú¤Î¤¿¤á¤Ë¼è¹þ¤ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='forbidden'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='included'>¼è¹þ¤ß</titleref></td>
</tr>
<tr align='center' valign='middle'>
<td bgcolor='&cellback;' align='right'>°À­ÃͤǤÎ&newline;»²¾È</td>
<td bgcolor='&cellback;'><titleref href='not-recognized'>ǧ¼±&newline;¤·¤Ê¤¤</titleref></td>
<td bgcolor='&cellback;'><titleref href='included'>¼è¹þ¤ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='forbidden'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='forbidden'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='included'>¼è¹þ¤ß</titleref></td>
</tr>
<tr align='center' valign='middle'>
<td bgcolor='&cellback;' align='right'>°À­ÃͤȤ·¤Æ&newline;½Ð¸½</td>
<td bgcolor='&cellback;'><titleref href='not-recognized'>ǧ¼±&newline;¤·¤Ê¤¤</titleref></td>
<td bgcolor='&cellback;'><titleref href='not-recognized'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='not-recognized'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='notify'>ÄÌÃÎ</titleref></td>
<td bgcolor='&cellback;'><titleref href='not recognized'>ǧ¼±&newline;¤·¤Ê¤¤</titleref></td>
</tr>
<tr align='center' valign='middle'>
<td bgcolor='&cellback;' align='right'>¼ÂÂÎÃͤǤÎ&newline;»²¾È</td>
<td bgcolor='&cellback;'><titleref href='included'>¼è¹þ¤ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='bypass'>&bypass;</titleref></td>
<td bgcolor='&cellback;'><titleref href='bypass'>&bypass;</titleref></td>
<td bgcolor='&cellback;'><titleref href='forbidden'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='included'>¼è¹þ¤ß</titleref></td>
</tr>
<tr align='center' valign='middle'>
<td bgcolor='&cellback;' align='right'>DTD¤Ç¤Î&newline;»²¾È</td>
<td bgcolor='&cellback;'><titleref href='as-PE'>PE¤È¤·¤Æ&newline;¼è¹þ¤ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='forbidden'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='forbidden'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='forbidden'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='forbidden'>¶Ø»ß</titleref></td>
</tr>
</htbody>
</htable>
<div3 id='not-recognized'>
<head>¡Èǧ¼±¤·¤Ê¤¤¡É</head>
<p>DTD¤Î³°¤Ç¤Ï¡¤<code>%</code>ʸ»ú¤Ï¡¤¤¤¤«¤Ê¤ëÆÃÄê¤Î°ÕÌ£¤â¡¤¤â¤¿¤Ê¤¤¡£¤·¤¿¤¬¤Ã¤Æ¡¤DTD¤Ç¤Ï¥Ñ¥é¥á¥¿¼ÂÂλ²¾È¤È¤·¤Æǧ¼±¤¹¤ë¤â¤Î¤Ç¤¢¤Ã¤Æ¤â¡¤<nt def='NT-content'>content</nt>Æâ¤Ç¤Ï&markup;¤È¤·¤Æ¤Ïǧ¼±¤·¤Ê¤¤¡£Æ±Íͤˡ¤Å¬ÀÚ¤ËÀë¸À¤·¤¿Â°À­¤ÎÃͤÎÃæ¤Ë¸½¤ì¤ë¾ì¹ç¤ò½ü¤­¡¤&unparsed-entity;¤Î̾Á°¤Ï¡¤Ç§¼±¤·¤Ê¤¤¡£
</p>
</div3>
<div3 id='included'>
<head>¡È¼è¹þ¤ß¡É</head>
<p><termdef id="dt-include" term="Include">¼ÂÂΤϡ¤¤½¤Î<termref def='dt-repltext'>&replacement-text;</termref>¤ò¼è¤ê½Ð¤·¡¤½èÍý¤¹¤ë¤È¡¤»²¾È¼«ÂΤÎÂå¤ï¤ê¤Ë¡¤»²¾È¤¬¤¢¤Ã¤¿°ÌÃ֤ǡ¤Ê¸½ñ¤Î°ìÉô¤È¤·¤Æ´Þ¤Þ¤ì¤ë¤«¤Î¤è¤¦¤Ë<term>¼è¤ê¹þ¤Þ¤ì¤ë</term>¡£&replacement-text;¤Ï¡¤<termref def='dt-chardata'>ʸ»ú¥Ç¡¼¥¿</termref>µÚ¤Ó(¥Ñ¥é¥á¥¿¼ÂÂΤò½ü¤¯¡£)<termref def="dt-markup">&markup;</termref>¤Î¤¤¤º¤ì¤ò´Þ¤ó¤Ç¤â¤è¤¯¡¤¤³¤ì¤é¤Ï¡¤Ä̾ï¤ÎÊýË¡¤Çǧ¼±¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤¿¤À¤·¡¤&markup;¤Î¶èÀÚ¤ê»Ò¤ò&escape;¤¹¤ë¤¿¤á¤ËÍѤ¤¤ë¼ÂÂÎ(&magicents;)¤Î&replacement-text;¤Ï¡¤¾ï¤Ë¥Ç¡¼¥¿¤È¤·¤Æ°·¤¦(&string;"<code>AT&amp;amp;T;</code>"¤Ï¡¤"<code>AT&amp;T;</code>"¤ËŸ³«¤µ¤ì¡¤»Ä¤µ¤ì¤¿¥¢¥ó¥Ñ¥µ¥ó¥É¤Ï¡¤¼ÂÂλ²¾È¤Î¶èÀÚ¤ê»Ò¤È¤·¤Æ¤Ïǧ¼±¤·¤Ê¤¤¡£)¡£Ê¸»ú»²¾È¤Ï¡¤¼¨¤·¤¿Ê¸»ú¤ò»²¾È¼«ÂΤÎÂå¤ï¤ê¤Ë½èÍý¤¹¤ë¤È¤­¡¤<term>¼è¤ê¹þ¤Þ¤ì¤ë</term>¡£
</termdef></p>
</div3>
<div3 id='include-if-valid'>
<head>¡È¸¡¾Ú¤Î¤¿¤á¤Ë¼è¹þ¤ß¡É</head>
<p>ʸ½ñ¤Î&validity;¤ò<termref def="dt-valid">¸¡¾Ú</termref>¤¹¤ë¤Ë¤Ï¡¤XML&processor;¤¬&parsed-entity;¤Ø¤Î»²¾È¤òǧ¼±¤·¤¿¤È¤­¡¤¤½¤Î&replacement-text;¤ò<termref def="dt-include">¼è¤ê¹þ¤Þ</termref>¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¼ÂÂΤ¬³°Éô¼ÂÂΤǤ¢¤Ã¤Æ¡¤XMLʸ½ñ¤Î&validity;¤ò¸¡¾Ú¤·¤Ê¤±¤ì¤Ð¡¤¼ÂÂΤÎ&replacement-text;¤ò¼è¤ê¹þ¤ó¤Ç¤â<termref def="dt-may">¤è¤¤</termref>¤¬¡¤¤½¤¦¤·¤Ê¤¯¤È¤â¤è¤¤¡£</p>
<p>¤³¤Î¼è·è¤á¤Ï¡¤SGMLµÚ¤ÓXML¤Î¼ÂÂΤε¡¹½¤¬Ä󶡤¹¤ë¼«Æ°¼è¹þ¤ßµ¡Ç½¤¬¡¤Ê¸½ñºîÀ®»þ¤Î¥â¥¸¥å¡¼¥ë²½¤ò¼ç¤ÊÌÜŪ¤È¤·¤ÆÀ߷פµ¤ì¤Æ¤ª¤ê¡¤¤½¤Î¾¤Î&application;(Æäˡ¤Ê¸½ñ¤Î¥Ö¥é¥¦¥º)¤Ë¤Ï¡¤É¬¤º¤·¤âŬÀڤǤϤʤ¤¡¤¤È¤¤¤¦Ç§¼±¤Ë¤è¤ë¡£Î㤨¤Ð¡¤¥Ö¥é¥¦¥¶¤Ï³°Éô&parsed-entity;¤Ø¤Î»²¾È¤ò¸«¤Ä¤±¤ë¤È¡¤¤½¤Î¼ÂÂΤ¬Â¸ºß¤¹¤ë¤È¤¤¤¦É½¼¨¤À¤±¤ò¹Ô¤¤¡¤É½¼¨¤òÍ׵ᤵ¤ì¤¿¤È¤­¤Ë¤À¤±¡¤ÆâÍƤò¼è¤ê½Ð¤¹¤«¤â¤·¤ì¤Ê¤¤¡£
</p>
</div3>
<div3 id='forbidden'>
<head>¡È¶Ø»ß¡É</head>
<p>¼¡¤Ï¶Ø»ß¤µ¤ì¤Æ¤ª¤ê¡¤<termref def='dt-fatal'>&fatal-error;</termref>¤È¤¹¤ë¡£
<ulist>
<item><p>a) <termref def='dt-unparsed'>&unparsed-entity;</termref>¤Ø¤Î»²¾È¤Î½Ð¸½¡£
</p></item>
<item><p>b) DTD¤Î<nt def='NT-EntityValue'>EntityValue</nt>Ëô¤Ï<nt def="NT-AttValue">AttValue</nt>°Ê³°¤ÎÉôʬ¤Ë¤ª¤±¤ë¡¤Ê¸»ú»²¾ÈËô¤Ï°ìÈ̼ÂÂΤؤλ²¾È¤Î½Ð¸½¡£</p></item>
<item><p>c) °À­ÃÍÆâ¤Î³°Éô¼ÂÂΤؤλ²¾È¡£</p>
</item>
</ulist>
</p>
</div3>
<div3 id='notify'>
<head>¡ÈÄÌÃΡÉ</head>
<p><termref def='dt-unparsed'>&unparsed-entity;</termref>¤Î̾Á°¤¬¡¤<kw>ENTITY</kw>Ëô¤Ï<kw>ENTITIES</kw>¤Î°À­¤ÎÃͤˤª¤¤¤Æ&token;¤È¤·¤Æ¸½¤ì¤¿¤È¤­¡¤&processor;¤Ï¡¤&application;¤ËÂФ·¤Æ¡¤´ØÏ¢ÉÕ¤±¤é¤ì¤¿<termref def="dt-notation">µ­Ë¡</termref>̾¡¤µ­Ë¡¤ËÂФ¹¤ë<termref def='dt-sysid'>¥·¥¹¥Æ¥à</termref>&identifier;µÚ¤Ó(¸ºß¤¹¤ì¤Ð)<termref def='dt-pubid'>¸ø³«</termref>&identifier;¤òÄÌÃΤ·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
</div3>
<div3 id='bypass'>
<head>¡È&bypass;¡É</head>
<p>°ìÈ̼ÂÂλ²¾È¤¬¡¤¼ÂÂÎÀë¸À¤Ë¤ª¤±¤ë<nt def='NT-EntityValue'>EntityValue</nt>Æâ¤Ë¸½¤ì¤ë¤È¤­¡¤¤½¤ì¤Ï̵»ë¤µ¤ì¡¤¤½¤Î¤Þ¤Þ»Ä¤ë¡£</p>
</div3>
<div3 id='as-PE'>
<head>¡ÈPE¤È¤·¤Æ¼è¹þ¤ß¡É</head>
<p>³°Éô&parsed-entity;¤Î¾ì¹ç¤ÈƱÍͤˡ¤¥Ñ¥é¥á¥¿¼ÂÂΤϡ¤&validity;¤ò<titleref href='include-if-valid'>¸¡¾Ú¤¹¤ë¤È¤­¤À¤±¼è¤ê¹þ¤Þ¤ì¤ë</titleref>ɬÍפ¬¤¢¤ë¡£¥Ñ¥é¥á¥¿¼ÂÂλ²¾È¤òDTDÆâ¤Ëǧ¼±¤·¤Æ¼è¤ê¹þ¤à¤È¤­¡¤¤½¤Î<termref def='dt-repltext'>&replacement-text;</termref>¤Ï¡¤¤½¤ÎÁ°¸å¤Ë°ì¤Ä¤Î&space-character;(#x20)¤ÎÉղäˤè¤Ã¤Æ°ú¤­¿­¤Ð¤µ¤ì¤ë¡£¤³¤Î°Õ¿Þ¤Ï¡¤¥Ñ¥é¥á¥¿¼ÂÂΤÎ&replacement-text;¤¬¡¤DTDÆâ¤Î¤¤¤¯¤Ä¤«¤ÎʸˡŪ&token;¤ò´°Á´¤Ë´Þ¤à¤È¡¤À©Ì󤹤뤳¤È¤Ë¤¢¤ë¡£
</p>
</div3>
<!--
<div3 id='gen-char-entproc'>
<head>General and Character Entity Processing</head>
<p>General-entity and character references are recognized in three
contexts: wherever the nonterminal <nt def='NT-content'>content</nt> may
appear, at any point within the nonterminal
<nt def='NT-AttValue'>AttValue</nt>,
and within the
<termref def='dt-litentval'>literal entity value</termref>
(<nt def='NT-EntityValue'>EntityValue</nt>)
of an internal entity declaration.
This section discusses the first two cases; the third
is discussed <titleref href='intern-replacement'>below</titleref>.
When an <termref def="dt-xml-proc">XML processor</termref> encounters
such a reference, or the name of an unparsed entity as the value
of an <kw>ENTITY</kw> or <kw>ENTITIES</kw> attribute, then:
<olist>
<item><p>In all cases, the XML processor may
inform the application of the reference's occurrence and its identifier
(for an entity reference, the name; for a character
reference,
the character number in decimal, hexadecimal, or binary form).</p></item>
<item><p>For both character and entity references, the processor must
remove the reference itself from the <termref def="dt-text">text</termref> data
before passing the data to the application.
</p></item>
<item><p>For character references, the processor must
pass the character indicated
to the application in
place of the reference.
</p></item>
<item><p>For an external entity, the processor must inform the
application of the entity's <termref def="dt-sysid">system
identifier</termref>, and <termref def="dt-pubid">public identifier</termref>
if any.
All strings
of white space in the public identifier must be normalized to single space characters (#x20),
and leading and trailing white space must be removed.</p></item>
<item><p>If the external entity is binary, the processor must inform the
application of the associated <termref def="dt-notation">notation</termref>
name, and the notation's associated <termref def='dt-sysid'>system</termref>
and <termref def='dt-pubid'>public</termref> (if any)
identifiers.</p></item>
<item><p><termdef id="dt-include" term="Include">For an internal
(parsed) entity, the processor must <term>include</term> the
entity; that is, retrieve its replacement text
and process it as a part of the document
(i.e. as <nt def="NT-content">content</nt> or <nt
def="NT-AttValue">AttValue</nt>, whichever was being processed when
the reference was recognized), passing the result to the application
in place of the reference. The replacement text may contain both
<termref def='dt-chardata'>character data</termref>
and <termref def="dt-markup">markup</termref>, which must be recognized in
the usual way, except that the replacement text of entities used to escape
markup delimiters (the entities &magicents;) is always treated as
data. (The string "<code>AT&amp;amp;T;</code>" expands to
"<code>AT&amp;T;</code>" since the ampersand replacing "<code>&amp;amp;</code>"
is not recognized
as an entity-reference delimiter.) </termdef></p>
<p>Since the entity may contain other entity references,
an XML processor may have to repeat the inclusion process recursively.</p>
</item>
<item><p>If the entity is an external parsed entity, then in order to
<termref def="dt-valid">validate</termref> the XML document, the processor must
<termref def="dt-include">include</termref> the content of the
entity.</p></item>
<item><p>If the entity is an external parsed entity, and the processor is not
attempting to <termref def="dt-valid">validate</termref> the XML document, the
processor <termref def="dt-may">may</termref>, but need not, <termref
def="dt-include">include</termref> the entity's content.</p>
<p>This rule is based on the recognition that the automatic inclusion
provided by the SGML and XML entity mechanism, primarily designed
to support modularity in authoring, is not necessarily
appropriate for other applications, in particular document browsing.
Browsers, for example, when encountering an external parsed entity reference,
might