blob: a81bbff8f280fe1bd3ce47afdcf6fe0a16bc5c35 [file] [log] [blame]
<?xml version="1.0" encoding="shift_jis"?>
<!DOCTYPE spec SYSTEM "spec.dtd" [
<!-- “ú–{Œê–ó‚Ì‚½‚߂̉ðÍ‘ΏێÀ‘́i‚±‚±‚©‚çj -->
<!ENTITY TR-or-Rec "Žd—l‘">
<!-- <!ENTITY TR-or-Rec "•W€î•ñ(TR)"> -->
<!ENTITY eTR-or-Rec "specification">
<!-- <!ENTITY eTR-or-Rec "technical report(TR)"> -->
<!ENTITY application "ƒAƒvƒŠƒP[ƒVƒ‡ƒ“">
<!ENTITY error "ƒGƒ‰[">
<!ENTITY fatal-error "’v–½“IƒGƒ‰[">
<!ENTITY parsed-data "‰ðÍ‚³‚ê‚éƒf[ƒ^">
<!ENTITY unparsed-data "‰ðÍ‚³‚ê‚È‚¢ƒf[ƒ^">
<!ENTITY parsed-entity "‰ðÍ‘ΏێÀ‘Ì">
<!ENTITY parser "ƒp[ƒT">
<!ENTITY unparsed-entity "‰ðÍ‘ΏۊOŽÀ‘Ì">
<!ENTITY well-formed "®Œ`Ž®">
<!ENTITY valid "‘Ó–">
<!ENTITY validity "‘Ó–«">
<!ENTITY escape "•Êˆµ‚¢">
<!ENTITY prolog "‘‚«">
<!ENTITY surrogate-blocks "ƒTƒƒQ[ƒgƒuƒƒbƒN">
<!ENTITY letter "Žš">
<!ENTITY ideographic "“‡Š¿Žš">
<!ENTITY markup "ƒ}[ƒN•t‚¯">
<!ENTITY left-angle-bracket "•s“™†(¬‚È‚è)">
<!ENTITY right-angle-bracket "•s“™†(‘å‚È‚è)">
<!ENTITY string "•¶Žš—ñ">
<!ENTITY char-string "•¶Žš—ñ"><!-- string of chararacters,
character strings, strings,
characters ‚Í‚·‚ׂĕ¶Žš—ñ‚Æ‚·‚é -->
<!ENTITY replacement-text "’uŠ·ƒeƒLƒXƒg">
<!ENTITY single-quote "ˆêdˆø—p•„">
<!ENTITY double-quote "“ñdˆø—p•„">
<!ENTITY adaptations-annex "“K—p•‘®‘">
<!ENTITY root "ƒ‹[ƒg">
<!ENTITY base-character "Šî’ꕶŽš">
<!ENTITY diacritical-mark "”­‰¹•„"><!--(ƒ_ƒCƒAƒNƒŠƒeƒBƒJƒ‹ƒ}[ƒN)‚ð‰o‚Ì‚Æ‚«•â‚¤-->
<!ENTITY composed-form "‡¬Œ`Ž®">
<!ENTITY standalone "ƒXƒ^ƒ“ƒhƒAƒƒ“">
<!ENTITY double-hyphen "“ñ˜AƒnƒCƒtƒ“">
<!--<!ENTITY case-fold "‘啶Žš‚©¬•¶Žš‚Ö‚Ì“ˆê">-->
<!-- <!ENTITY case-fold "”äŠr‚Ì‚Æ‚«C‘啶Žš‚Ə¬•¶Žš‚Ì“¯ˆêŽ‹">-->
<!ENTITY parameter "ƒpƒ‰ƒƒ^">
<!ENTITY stream "ƒXƒgƒŠ[ƒ€">
<!ENTITY validating "‘Ó–«‚ðŒŸØ‚·‚é">
<!ENTITY non-validating "‘Ó–«‚ðŒŸØ‚µ‚È‚¢">
<!ENTITY user "ƒ†[ƒU">
<!--<!ENTITY at-user-option "ƒ†[ƒU‚ªƒIƒvƒVƒ‡ƒ“‚ðŽw’肵‚½‚Æ‚«">-->
<!ENTITY at-user-option "ƒ†[ƒU‚̃IƒvƒVƒ‡ƒ“Žw’è‚É‚æ‚Á‚Ä‚Í">
<!ENTITY content-particle "“à—e‘fŽq">
<!ENTITY processor "ƒvƒƒZƒT">
<!ENTITY default "ƒfƒtƒHƒ‹ƒg">
<!ENTITY default-value "ƒfƒtƒHƒ‹ƒg’l">
<!ENTITY header "ƒwƒbƒ_">
<!ENTITY target "ƒ^[ƒQƒbƒg">
<!ENTITY mixed-content "¬‡“à—e">
<!ENTITY country-code "‘ƒR[ƒh">
<!ENTITY language-code "Œ¾ŒêƒR[ƒh">
<!ENTITY version "”Å"> <!-- version 1.0‚Í‘æ1.0”Å -->
<!ENTITY match "ƒ}ƒbƒ`">
<!ENTITY character-value "•¶Žš”ԍ†">
<!ENTITY byte-order-mark "ƒoƒCƒg‡ƒ}[ƒN">
<!ENTITY bypass "ˆ—‚µ‚È‚¢">
<!ENTITY identifier "Ž¯•ÊŽq">
<!-- <!ENTITY identify "Ž¯•Ê‚·‚é"> -->
<!ENTITY identify "“Á’è‚·‚é">
<!-- <!ENTITY identified "Ž¯•Ê‚³‚ê‚é"> -->
<!ENTITY identified "“Á’肳‚ê‚é">
<!ENTITY combining-character "Œ‹‡•¶Žš">
<!ENTITY subset "ƒTƒuƒZƒbƒg">
<!ENTITY token "ƒg[ƒNƒ“">
<!ENTITY literal "ƒŠƒeƒ‰ƒ‹">
<!ENTITY parenthesis "‚©‚Á‚±">
<!ENTITY left-parenthesis "ŠJ‚«‚©‚Á‚±">
<!ENTITY right-parenthesis "•Â‚¶‚©‚Á‚±">
<!-- ‚ ‚Æ‚Å‹C‚ª‚‚¢‚½‚à‚Ì JIS X0221‚ðŒ©‚é•K—v‚ ‚è -->
<!ENTITY extender "ƒGƒNƒXƒeƒ“ƒ_">
<!ENTITY property "ƒvƒƒpƒeƒB">
<!ENTITY property-list "ƒvƒƒpƒeƒBƒŠƒXƒg">
<!ENTITY property-file "ƒvƒƒpƒeƒBƒtƒ@ƒCƒ‹">
<!ENTITY font-decomposition "ƒtƒHƒ“ƒg•ª‰ð">
<!ENTITY compatibility-decomposition "ŒÝŠ·«•ª‰ð">
<!ENTITY compatibility-area "ŒÝŠ·«—̈æ">
<!ENTITY language-identification "Œ¾ŒêŽ¯•Ê">
<!ENTITY space-character "ƒXƒy[ƒX•¶Žš">
<!ENTITY space "ƒXƒy[ƒX">
<!ENTITY code-value "ƒR[ƒh’l">
<!ENTITY normative "‹K’è‚Ì">
<!ENTITY hueristics "ƒqƒ…[ƒŠƒXƒeƒBƒbƒN">
<!ENTITY informative "">
<!ENTITY WebSGML 'ISO 8879‚Ö‚ÌWebSGML&adaptations-annex;'>
<!ENTITY XML.version "1.0">
<!ENTITY doc.date "1997”N12ŒŽ8“ú">
<!ENTITY iso6.doc.date "971208">
<!ENTITY w3c.doc.date "97”N12ŒŽ3“ú">
<!ENTITY draft.day '8“ú'>
<!ENTITY draft.month '12ŒŽ'>
<!ENTITY draft.year '1997”N'>
<!-- “ú–{Œê–ó‚Ì‚½‚߂̉ðÍ‘ΏێÀ‘́i‚±‚±‚܂Łj -->
<!-- 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>">
<!--“ú–{Œê–ó‚ɂ‚¢‚Ä: ƒRƒƒ“ƒg‚Í–|–ó‘Ώۂ©‚çŠO‚µ‚Ü‚µ‚½B—é–ؘa•v -->
<!-- audience and distribution status: for use at publication time -->
<!-- -->
<!ENTITY doc.audience "ŒöŠJƒŒƒrƒ…[‹y‚Ñ‹c˜_">
<!ENTITY doc.distribution "ƒeƒLƒXƒg‹y‚Ñ–@—¥ã‚Ì’ˆÓ‚ð‰ü•Ï‚µ‚È‚¢ŒÀ‚èC
Ž©—R‚É”z•z‚µ‚Ä‚à‚æ‚¢">
]>
<!-- for Panorama *-->
<?VERBATIM "eg" ?>
<spec>
<header>
<title>Šg’£‰Â”\‚È&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>‚±‚Ì‘ˆÄ‚́CXML WG‹y‚Ñ‘¼‚ÌŠÖŒWŽÒ‚É‚æ‚郌ƒrƒ…[‚Ì‚½‚ß‚Ì‚à‚Ì‚Å‚ ‚Á‚āCŒöŠJ‚Ì‹c˜_‚Ì‚½‚ß‚Ì‚à‚Ì‚Å‚Í‚È‚¢B
<!-- 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”N12ŒŽ‚ÉWorld Wide Web Consortium‚©‚ç
Œö•\‚³‚ꂽŠ©ˆÄExtensible Markup Language version‘æ1.0”Å‚ð–|–ó‚µ, ‹Z
p“I“à—e‚ð•ÏX‚·‚邱‚Æ‚È‚­ì¬‚µ‚½&TR-or-Rec;‚Å‚ ‚éBThis &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>Œ´•¶‚É‚ ‚éA’˜ìŒ ‚ÉŠÖ‚µ‚Ä‚Ì‹Lq‚ðŽŸ‚ÉŽ¦‚·BThe
original copyright notice is shown below:</p>
<p>‚±‚̔łÌXML‚Ì‹K’è‚́CŒöŠJƒŒƒrƒ…[‹y‚Ñ‹c˜_‚ð
–Ú“I‚Æ‚·‚éBƒeƒLƒXƒg‹y‚Ñ–@—¥ã‚Ì’ˆÓ‚ð‰ü•Ï‚µ‚È‚¢ŒÀ‚èCŽ©—R‚É
”z•z‚µ‚Ä‚à‚æ‚¢BThis 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Š©ˆÄ‚́C1998”N2ŒŽ‚ÉWorld
Wide Web Consortium‚©‚çŒö•\‚³‚ꂽXMLŠ©‚É‚æ‚Á‚Ä‚·‚Å‚É’u‚«Š·
‚¦‚ç‚ê‚Ä‚¢‚éB‚±‚Ì•W€î•ñ‚́CXMLŠ©‚ɏ]‚Á‚Ä’ù³‚·‚邱‚Æ‚ð
—\’肵‚Ä‚¢‚éBThe 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;‚́CˆÀ’肵‚½‚à‚Ì‚Å‚ ‚Á‚āCð”N—ˆ‚Ì<loc
href='http://www.w3.org/XML'>XMLŠˆ“®</loc>‚ð’Ê‚¶‚č쐬‚³‚ꂽCˆê˜A‚̍ì
‹Æ‘ˆÄ‚ðŒ³‚Æ‚·‚éBŒ»ÝCL”͈͂Ɏg—p‚³‚ê‚Ä‚¢‚鍑Û“I‚ȃeƒLƒXƒgˆ—‚Ì•W
€(•W€ˆê”ʉ»&markup;Œ¾ŒêCStandard Generalized Markup Language, ISO
8879:1986‚ɒljÁ‹y‚Ñ’ù³‚ð‰Á‚¦‚½‚à‚Ì)‚́CWWWã‚Å‚ÌŽg—p‚Ì‚½‚ß‚É&subset;
‰»‚µ‚½Œ¾Œê‚ðC‚±‚Ì&TR-or-Rec;‚́C‹K’è‚·‚éBISO 8879‚Ì‚Ç‚Ì‹@”\‚ð‚±‚Ì
&subset;‚ÉŽc‚·‚©C‚Æ‚¢‚¤Œˆ’è‚ɂ‚¢‚Ă̏ڍׂ́C<loc
href='http://www.w3.org/XML/#WG-decisions'>•Ê“r—pˆÓ‚·‚é</loc>BXML‚́C
Šù‚É‚¢‚­‚‚©‚̏¤•i‚ŃTƒ|[ƒg‚³‚êCXML‚ðƒTƒ|[ƒg‚·‚é<loc
href='http://www.w3.org/XML/#software'>ƒtƒŠ[ƒEƒFƒA</loc>‚̐”‚à‘‚¦‚Ä
‚¢‚éBXML‚ÉŠÖ‚·‚éŒöŠJ‚̘_‹c‚àCƒIƒ“ƒ‰ƒCƒ“‚Å<loc
href='http://www.w3.org/XML/#discussion'>“üŽè‚Å‚«‚é</loc>BIt 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;‚ł́C<bibref ref="Berners-Lee"/>‚É’è‹`‚·‚é
URI(Uniform Resource Identifier)‚ðŽg—p‚·‚éBURI‚̐§’èì‹Æ‚͐is’†‚Å‚ ‚Á
‚āC<bibref ref="RFC1738"/>‹y‚Ñ<bibref ref="RFC1808"/>‚ðXV‚·‚é—\’è‚Æ
‚È‚Á‚Ä‚¢‚éB‚±‚̍ì‹Æ‚ªRFC‚Æ‚µ‚Ď󂯓ü‚ê‚ç‚ê‚È‚¢ê‡‚́C‚±‚Ì‹K’ö“à‚ÌURI
‚Ö‚ÌŽQÆ‚́CURL(Uniform Resource Locator)‚Ö‚ÌŽQÆ‚É‘ã‚í‚éBThis
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‚ÌŽd—l‚ɏ€‹’‚µ‚Ä‚¢‚é‚©‚Ç‚¤‚©‚̊‚Æ‚È‚é‚ÍW3C‚̃TƒCƒg‚É‚ 
‚錴•¶‚Å‚ ‚éBThe normative version of the specification is
the English version found at the W3C site.</p>
<p>‚±‚Ì•W€î•ñ‚ÍŒ´Žd—l‚Æ‹Zp“I‚É“¯ˆê‚Å‚ ‚邱‚Æ‚ðˆÓ}‚µ‚Ä‚¢‚邪A
–|–óã‚ÌŒë‚è‚Í‚ ‚蓾‚éBAlthough this technical report is
intended to be technically identical to the original, it may
contain errors from the translation.</p>
<p>”õl: Œ´‹K’è‚Æ‚Ì‹K’è‰ÓŠ‚̑ΉžŠÖŒW‚𖾂炩‚É‚·‚邽‚߁A‚±‚Ì
&TR-or-Rec;‚̐ߍ\¬‹y‚ѐߔԍ†‚́AŒ´‹K’è‚Ì‚»‚ê‚ç‚ð‚Å‚«‚邾‚¯•Û‘¶‚µ‚Ä‚¢
‚éB‚±‚Ì&TR-or-Rec;‚ÌWeb”ł́AŒ´‹K’è‚ÌHTMLƒ^ƒO‚ð‚»‚Ì‚Ü‚Ü•Û‘¶‚µ‚Ä‚¢‚éB
</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>Šg’£‰Â”\‚È&markup;Œ¾Œê(XML)‚ÍSGML‚ÌŠÈ’P‚È•ûŒ¾‚Å‚ ‚Á‚āC‚±‚Ì&TR-or-Rec;‚ŁC‚»‚Ì‚·‚ׂĂð‹K’è‚·‚éBXML‚Ì–Ú•W‚́CŒ»Ý‚ÌHTML‚Æ“¯—l‚ɁCˆê”ʐ«‚Ì‚ ‚éSGML‚ðƒEƒFƒuã‚Å”z•zCŽóM‹y‚яˆ—‚Å‚«‚邱‚Æ‚Æ‚·‚éBXML‚ÍŽÀ‘•‚ª—eˆÕ‚Å‚ ‚Á‚āCSGML‹y‚ÑHTML‚Ì‚Ç‚¿‚ç‚ɑ΂µ‚Ä‚à‘ŠŒÝ‰^—p«‚ð•Û‚݌v‚ª‚È‚³‚ê‚Ä‚¢‚éB</p>
</abstract>
<pubstmt>
<p>Chicago, Vancouver, Mountain View, et al.:
World-Wide Web Consortium, XMLì‹ÆƒOƒ‹[ƒv, 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>“K—p”͈Í</head> -->
<p>Šg’£‰Â”\‚È&markup;Œ¾ŒêXML(eXtensible Markup Language)‚́C<termref def="dt-xml-doc">XML•¶‘</termref>‚Æ‚¢‚¤ƒf[ƒ^ƒIƒuƒWƒFƒNƒg‚̃Nƒ‰ƒX‚ð‹K’肵CXML•¶‘‚ðˆ—‚·‚éƒvƒƒOƒ‰ƒ€‚Ì“®ì‚̈ꕔ‚ð‹K’è‚·‚éBXML‚́CSGML(•W€ˆê”ʉ»&markup;Œ¾ŒêCStandard Generalized Markup Language)<bibref ref='ISO8879'/>‚̐§ŒÀ‚µ‚½&subset;‚Æ‚·‚éB\‘¢ãCXML•¶‘‚́C‚©‚Ȃ炸SGML‹KŠi‚É“K‡‚·‚éB</p>
<p>XML•¶‘‚́C<termref def="dt-entity">ŽÀ‘Ì</termref>‚Æ‚¢‚¤‹L‰¯’PˆÊ‚©‚ç‚È‚èCŽÀ‘̂́C&parsed-data;–”‚Í&unparsed-data;‚©‚ç‚È‚éB&parsed-data;‚́C<termref def="dt-character">•¶Žš</termref>‚©‚ç‚È‚èC‚»‚̈ꕔ‚́C•¶‘‚Ì<termref def="dt-chardata">•¶Žšƒf[ƒ^</termref>‚ð\¬‚µCˆê•”‚́C<termref def="dt-markup">&markup;</termref>‚ð\¬‚·‚éB&markup;‚́C•¶‘‚Ì‹L‰¯ƒŒƒCƒAƒEƒg‹y‚ј_—\‘¢‚ɂ‚¢‚Ä‚Ì‹Lq‚ð•\‚·•„†‚Æ‚·‚éBXML‚́C‹L‰¯ƒŒƒCƒAƒEƒg‹y‚ј_—\‘¢‚ɂ‚¢‚Ă̐§–ñðŒ‚ð‹Lq‚·‚é‹@\‚ð’ñ‹Ÿ‚·‚éB</p>
<p><termdef id="dt-xml-proc" term="XML&processor;"><term>XML&processor;</term>‚Æ‚¢‚¤ƒ\ƒtƒgƒEƒFƒAƒ‚ƒWƒ…[ƒ‹‚́CXML•¶‘‚ð“ǂݍž‚݁C‚»‚Ì“à—e‹y‚э\‘¢‚ւ̃AƒNƒZƒX‚ð’ñ‹Ÿ‚·‚邽‚ß‚É—p‚¢‚éB </termdef> <termdef id="dt-app" term="&application;">XML&processor;‚́C‘¼‚̃‚ƒWƒ…[ƒ‹‚Ì‚½‚ß‚É“®ì‚·‚邱‚Æ‚ð‘O’ñ‚Æ‚µC‚»‚̃‚ƒWƒ…[ƒ‹‚ð<term>&application;</term>‚Æ‚¢‚¤B</termdef>‚±‚Ì&TR-or-Rec;‚́CXML&processor;‚ªs‚í‚È‚¯‚ê‚΂Ȃç‚È‚¢U•‘‚¢‚ð‹K’è‚·‚éB‚‚܂èCXMLƒf[ƒ^‚̓Ǎž‚Ý•û–@‚ð‹K’肵C&application;‚É’ñ‹Ÿ‚·‚éî•ñ‚ð‹K’è‚·‚éB</p>
<!-- </div2> -->
<div2 id='sec-origin-goals'>
<head>ŒoˆÜ‹y‚Ñ–Ú•W</head>
<p>1996”N‚ÉWorld Wide Web Consortium(W3C)‚Ì’†‚ɐݗ§‚µ‚½XMLì‹ÆƒOƒ‹[ƒv(ˆÈ‘O‚́C SGML•ÒWƒŒƒrƒ…[ˆÏˆõ‰ï‚ƌĂ΂ꂽ)‚ªCXML‚ðŠJ”­‚µ‚½B‚±‚̍ì‹ÆƒOƒ‹[ƒv‚Ì‹c’·‚ðCSun Microsystems‚ÌJon Bosak‚ª‹Î‚ß‚éBW3C‚ª‘gD‚µCˆÈ‘O‚ÍSGMLì‹ÆƒOƒ‹[ƒv‚ƌĂ΂ꂽXML SIG(Special Interest Group)‚àCXML‚̐§’è‚É”ñí‚ÉŠˆ”­‚ÉŽQ‰æ‚µ‚½B
<!--JIS‚Å‚Í? XMLì‹ÆƒOƒ‹[ƒv‚̃ƒ“ƒo‚ð•t˜^‚ÉŽ¦‚·B-->Dan Connolly‚́Cì‹ÆƒOƒ‹[ƒv‚ÌW3C‚É‚¨‚¯‚é˜A—ŒW‚𖱂߂½B</p>
<p>XML‚̐݌v–Ú•W‚ðCŽŸ‚ÉŽ¦‚·B<ulist>
<item><p>a) XML‚́CInternetã‚Å‚»‚Ì‚Ü‚ÜŽg—p‚Å‚«‚éB</p></item>
<item><p>b) XML‚́CL”͈͂Ì&application;‚ðŽx‰‡‚·‚éB</p></item>
<item><p>c) XML‚́CSGML‚ƌ݊·«‚ð‚à‚B</p></item>
<item><p>d) XML•¶‘‚ðˆ—‚·‚éƒvƒƒOƒ‰ƒ€‚ð‘‚­‚±‚Ƃ́C—eˆÕ‚Å‚È‚¯‚ê‚΂Ȃç‚È‚¢B</p></item>
<item><p>e) XML‚ł́CƒIƒvƒVƒ‡ƒ“‚Ì‹@”\‚Í‚Å‚«‚邾‚¯­‚È‚­‚µCˆê‚Â‚à‘¶Ý‚µ‚È‚¢‚±‚Æ‚ð–ÚŽw‚·B</p></item>
<item><p>f) XML•¶‘‚́ClŠÔ‚É‚Æ‚Á‚Ä“Ç‚Ý‚â‚·‚­C\•ª‚É—‰ð‚µ‚â‚·‚¢B</p></item>
<item><p>g) XML‚̐݌v‚́C‚·‚Ý‚â‚©‚ɍs‚¦‚È‚¯‚ê‚΂Ȃç‚È‚¢B</p></item>
<item><p>h) XML‚̐݌v‚́CŒµ–§‹y‚ÑŠÈŒ‰‚Å‚È‚¯‚ê‚΂Ȃç‚È‚¢B</p></item>
<item><p>i) XML•¶‘‚́C—eˆÕ‚ɍ쐬‚Å‚«‚éB</p></item>
<item><p>j) XML‚ł́C&markup;‚̐”‚ðŒ¸‚ç‚·‚±‚Ƃ́Cd—v‚Å‚Í‚È‚¢B</p></item></ulist>
</p>
<p>XML‘æ&XML.version;&version;‚ð—‰ð‚µC‚»‚ê‚ðˆ—‚·‚éŒvŽZ‹@ƒvƒƒOƒ‰ƒ€‚ð‘‚­‚½‚߂ɏ\•ª‚ȏî•ñ‚́C‚±‚Ì&TR-or-Rec;‹y‚ÑŠÖ˜A‚·‚é‹KŠi(•¶Žš—p‚Æ‚µ‚āCUnicode‹y‚ÑISO/IEC 10646C<!--* XXX for Uniform Resource Identifiers, *-->&language-identification;ƒ^ƒO—p‚Æ‚µ‚āCƒCƒ“ƒ^ƒlƒbƒg RFC 1766C&language-code;—p‚Æ‚µ‚āCISO 639C•À‚Ñ‚É&country-code;—p‚Æ‚µ‚āCISO 3166)‚ŁC‚·‚ׂϦ‚·B</p>
<p>‚±‚Ì&version;‚ÌXML‚Ì‹K’è<!-- (&doc.date;) -->‚́CŒöŠJƒŒƒrƒ…[‹y‚Ñ‹c˜_‚ð–Ú“I‚Æ‚·‚éBƒeƒLƒXƒg‹y‚Ñ–@—¥ã‚Ì’ˆÓ‚ð‰ü•Ï‚µ‚È‚¢ŒÀ‚èCŽ©—R‚É”z•z‚µ‚Ä‚à‚æ‚¢B</p>
</div2>
<div2 id='sec-terminology'>
<head>’è‹`</head>
<p>XML•¶‘‚Ì‹K’è‚Ì‚½‚ß‚ÉŽg—p‚·‚é—pŒê‚́C‚±‚Ì&TR-or-Rec;“à‚Å’è‹`‚·‚éBŽŸ‚ÉŽ¦‚·Œê‹å‚́C‚»‚ê‚ç‚Ì—pŒê‚ð’è‹`‚·‚邽‚߁C‹y‚ÑXML&processor;‚Ì“®‚«‚ð‹K’è‚·‚邽‚ß‚ÉŽg—p‚·‚éB
<glist>
<gitem>
<label>1.2.1 ‚µ‚Ä‚à‚æ‚¢(may)</label>
<def><p><termdef id="dt-may" term="‚µ‚Ä‚à‚æ‚¢">“K‡‚·‚镶‘–”‚ÍXML&processor;‚́C‹Lq‚³‚ꂽ‚Æ‚¨‚è‚É“®ì‚µ‚Ä‚à‚æ‚¢‚ªC‚»‚Ì‚Æ‚¨‚è‚É‚·‚é•K—v‚Í‚È‚¢B</termdef></p></def>
</gitem>
<gitem>
<label>1.2.2 ‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢(must)</label>
<def><p>“K‡‚·‚镶‘–”‚ÍXML&processor;‚́C‹Lq‚³‚ꂽ‚Æ‚¨‚è‚É“®ì‚·‚邱‚Æ‚ª—v‹‚³‚ê‚éB‚»‚¤‚Å‚È‚¯‚ê‚΁C&error;‚Æ‚·‚éB<!-- 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;‚ª’è‚ß‚é‹K‘¥‚ɑ΂·‚éˆá”½BŒ‹‰Ê‚Í’è‹`‚µ‚È‚¢B“K‡‚·‚éƒ\ƒtƒgƒEƒFƒA‚́C&error;‚ðŒŸo‚µ‚Ä•ñ‚µ‚Ä‚à‚æ‚­C&error;‚©‚ç‰ñ•œ‚µ‚Ä‚à‚æ‚¢B</termdef></p></def>
</gitem>
<gitem>
<label>1.2.4 &fatal-error;(fatal error)</label>
<def><p><termdef id="dt-fatal" term="&fatal-error;">“K‡‚·‚é<termref def="dt-xml-proc">XML&processor;</termref>‚ªŒŸo‚µ‚È‚¯‚ê‚΂Ȃ炸C&application;‚É•ñ‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢&error;B&fatal-error;‚ð”­Œ©‚µ‚½‚ ‚ƁC&processor;‚́C‚»‚êˆÈ~‚Ì&error;‚ð’T‚·‚½‚߂Ƀf[ƒ^ˆ—‚𑱍s‚µ‚Ä‚à‚æ‚­C&error;‚ð”­Œ©‚µ‚½ê‡‚́C‚»‚Ì&error;‚ð&application;‚É•ñ‚µ‚Ä‚à‚æ‚¢B&error;’ù³‚ðƒTƒ|[ƒg‚·‚邽‚߂ɁC&processor;‚́C–¢ˆ—ƒf[ƒ^(•¶Žšƒf[ƒ^‹y‚Ñ&markup;‚̍¬Ý‚µ‚½‚à‚Ì)‚𕶏‘‚©‚çŽæ‚èo‚µC&application;‚É“n‚µ‚Ä‚à‚æ‚¢B‚µ‚©‚µCˆê“xC&fatal-error;‚ðŒŸo‚µ‚½‚çC&processor;‚́C’ʏí‚̏ˆ—‚𑱍s‚µ‚Ä‚Í‚È‚ç‚È‚¢B‚‚܂èC&processor;‚́C•¶Žšƒf[ƒ^‹y‚Ñ•¶‘‚̘_—\‘¢‚ɂ‚¢‚Ă̏î•ñ‚ðC’ʏí‚Ì•û–@‚Å&application;‚É“n‚µ‘±‚¯‚Ä‚Í‚È‚ç‚È‚¢B</termdef></p></def>
</gitem>
<gitem>
<label>1.2.5 &at-user-option;(at user option)</label>
<def><p>“K‡‚·‚éƒ\ƒtƒgƒEƒGƒA‚́C‹Lq‚³‚ꂽ‚Æ‚¨‚è‚ɐU‚é•‘‚Á‚Ä‚à‚æ‚¢(may)C–”‚͐U‚é•‘‚í‚È‚­‚Ä‚Í‚È‚ç‚È‚¢(must)(•¶Í’†‚̏•“®ŽŒ‚É‚æ‚éB)B‚»‚Ì‚Æ‚¨‚è‚ɐU‚é•‘‚¤ê‡‚́C‹Lq‚³‚ꂽU•‘‚¢‚ð‘I‘ð–”‚Í‹‘”Û‚·‚éŽè’i‚ð&user;‚É’ñ‹Ÿ‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B</p></def>
</gitem>
<gitem>
<label>1.2.6 &validity;§–ñ(validity constraint)</label>
<def><p>‚·‚ׂĂÌ<termref def="dt-valid">&valid;‚È</termref>XML•¶‘‚É“K—p‚·‚é‹K‘¥B&validity;§–ñ‚̈ᔽ‚́C&error;‚Æ‚·‚éB&at-user-option;C<termref def="dt-validating">ŒŸØ‚ðs‚¤XML&processor;</termref>‚́C‚±‚Ì&error;‚ð•ñ‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B</p></def>
</gitem>
<gitem>
<label>1.2.7 &well-formed;§–ñ(well-formedness constraint)</label>
<def><p>‚·‚ׂĂÌ<termref def="dt-wellformed">&well-formed;</termref>‚ÌXML•¶‘‚É“K—p‚·‚é‹K‘¥B&well-formed;§–ñ‚̈ᔽ‚́C<termref def="dt-fatal">&fatal-error;</termref>‚Æ‚·‚éB</p></def>
</gitem>
<gitem>
<label>1.2.8 &match;(match)</label>
<def><p>a) <termdef id="dt-match" term="&match;">&string;–”‚Í–¼‘O‚Ì&match;@”äŠr‚·‚é“ñ‚‚Ì&string;–”‚Í–¼‘O‚́C“¯ˆê‚Å‚È‚¯‚ê‚΂Ȃç‚È‚¢BISO/IEC 10646‚É‚¨‚¢‚āC•¡”‚Ì•\Œ»‚ª‰Â”\‚È•¶Žšm—Ⴆ‚΁C&composed-form;‹y‚ÑŠî’ê+&diacritical-mark;(ƒ_ƒCƒAƒNƒŠƒeƒBƒJƒ‹ƒ}[ƒN)Œ`Ž®n‚́C‚Ç‚¿‚ç‚Ì&string;‚à“¯‚¶•\Œ»‚Ì‚Æ‚«‚ÉŒÀ‚èC&match;‚·‚éB&at-user-option;C&processor;‚́C‚»‚Ì•¶Žš‚ð•W€Œ`‚ɐ³‹K‰»‚µ‚Ä‚à‚æ‚¢B”äŠr‚Ì‚Æ‚«A‘啶Žš‚Ə¬•¶Žš‚Æ‚Ì‹æ•Ê‚ð‚·‚éB<!-- Note that no processing of characters with respect to case is part of the matching process. -->&lt;BR>b) &string;‚Æ•¶–@’†‚Ì‹K‘¥‚Æ‚Ì&match;@‚ ‚鐶¬‹K‘¥‚©‚琶¬‚·‚錾Œê‚ɁC‚ ‚é&string;‚ª‘®‚·‚é‚Æ‚«C‚±‚Ì&string;‚́C‚±‚̐¶¬‹K‘¥‚É&match;‚·‚é‚Æ‚¢‚¤B&lt;BR>c) “à—e‚Æ“à—eƒ‚ƒfƒ‹‚Æ‚Ì&match;@‚ ‚é—v‘f‚ªC<titleref href='elementvalid'>—v‘f‚Ì&validity;</titleref>‚̐§–ñ‚ÉŽ¦‚·ˆÓ–¡‚Å“K‡‚·‚é‚Æ‚«C‚±‚Ì—v‘f‚́C‚»‚̐錾‚É&match;‚·‚é‚Æ‚¢‚¤B</termdef></p></def>
</gitem>
<gitem>
<label>1.2.9 ŒÝŠ·«‚Ì‚½‚ß(for compatibility)</label>
<def><p><termdef id="dt-compat" term="ŒÝŠ·«‚Ì‚½‚ß">XML‚Ì‹@”\‚Å‚ ‚Á‚āCXML‚ªSGML‚ƌ݊·‚Å‚ ‚邱‚Æ‚ð•ÛØ‚·‚邽‚ß‚¾‚¯‚É“±“ü‚³‚ê‚é‚à‚́B</termdef></p></def>
</gitem>
<gitem>
<label>1.2.10 ‘ŠŒÝ‰^—p«‚Ì‚½‚ß(for interoperability)</label>
<def><p><termdef id="dt-interop" term="‘ŠŒÝ‰^—p«‚Ì‚½‚ß">S‘©—Í‚Í‚à‚½‚È‚¢„§Ž–€B&WebSGML;ˆÈ‘O‚©‚瑶Ý‚·‚éSGML&processor;‚ªCXML•¶‘‚ðˆ—‚Å‚«‚é‰Â”\«‚ð‚‚ß‚é‚½‚ß‚ÉŽæ‚è“ü‚ê‚é‚à‚́B</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;‚Å’è‹`‚·‚éˆÓ–¡‚ŁC<termref def="dt-wellformed">&well-formed;</termref>‚Æ‚·‚éƒf[ƒ^ƒIƒuƒWƒFƒNƒg‚ðC<term>XML•¶‘</term>‚Æ‚¢‚¤B&well-formed;‚ÌXML•¶‘‚ªC‚³‚ç‚ɁC‚ ‚鐧–ñðŒ‚ð–ž‘«‚·‚ê‚΁C<termref def="dt-valid">&valid;</termref>‚ÈXML•¶‘‚Æ‚·‚éB
</termdef></p>
<!-- why this div? -TB
<div2 id='sec-log-phys'>
<head>Logical and Physical Structure</head> -->
<p>‚¢‚¸‚ê‚ÌXML•¶‘‚àC˜_—\‘¢‹y‚Ñ•¨—\‘¢‚ð‚à‚B•¨—“I‚ɂ́C•¶‘‚́C<termref def="dt-entity">ŽÀ‘Ì</termref>‚ƌĂԒPˆÊ‚©‚ç‚È‚éB‚ ‚éŽÀ‘̂́C•¶‘“à‚É‘¼‚ÌŽÀ‘Ì‚ðŠÜ‚Þ‚½‚߂ɁC‚»‚Ì‘¼‚ÌŽÀ‘Ì‚ð<termref def="dt-entref">ŽQÆ</termref>‚µ‚Ä‚à‚æ‚¢B•¶‘‚́Cgƒ‹[ƒgh‚·‚È‚í‚¿<termref def="dt-docent">•¶‘ŽÀ‘Ì</termref>‚©‚çŽn‚Ü‚éB˜_—“I‚ɂ́C•¶‘‚́CéŒ¾C—v‘fCƒRƒƒ“ƒgC•¶ŽšŽQÆ‹y‚яˆ—–½—ß‚ðŠÜ‚݁C‚±‚ê‚ç‚·‚ׂẮC•¶‘“à‚Å–¾Ž¦“I‚È&markup;‚É‚æ‚Á‚ÄŽ¦‚·B˜_—\‘¢‹y‚Ñ•¨—\‘¢‚́C<titleref href="wf-entities">ˆÈ~</titleref>‚ÉŽ¦‚·‚Æ‚¨‚è‚ɁCŒµ–§‚É“ü‚êŽq‚É‚È‚Á‚Ä‚¢‚È‚¯‚ê‚΂Ȃç‚È‚¢B</p>
<!--
</div2> -->
<div2 id='sec-well-formed'>
<head>&well-formed;‚ÌXML•¶‘</head>
<p><termdef id="dt-wellformed" term="&well-formed;">‚ ‚éƒeƒLƒXƒgƒIƒuƒWƒFƒNƒg‚ªCŽŸ‚Ì‚¢‚¸‚ê‚©‚Ì‚Æ‚«C‚»‚̃eƒLƒXƒgƒIƒuƒWƒFƒNƒg‚ð&well-formed;‚ÌXML•¶‘‚ƌĂԁB</termdef>
<ulist>
<item><p>a) ‘S‘Ì‚Æ‚µ‚āC<nt def='NT-document'>document</nt>‚Æ‚¢‚¤ƒ‰ƒxƒ‹‚ð‚à‚¶¬‹K‘¥‚É&match;‚·‚éB</p></item>
<item><p>b) ‚±‚Ì&TR-or-Rec;‚Å’è‹`‚·‚éC‚·‚ׂĂÌ&well-formed;§–ñ‚ɏ]‚¤B</p>
</item>
<item><p>c) ‚»‚ꂼ‚ê‚Ì<termref def='dt-parsedent'>&parsed-entity;</termref>‚ªC<titleref href='wf-entities'>&well-formed;</titleref>‚Æ‚È‚éB</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>¶¬‹K‘¥‚É&match;‚·‚é‚Ƃ́CŽŸ‚ðˆÓ–¡‚·‚éB
<ulist>
<item><p>a) ˆê‚ˆȏã‚Ì<termref def="dt-element">—v‘f</termref>‚ðŠÜ‚ށB</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="ƒ‹[ƒg—v‘f"><term>ƒ‹[ƒg</term>–”‚Í•¶‘—v‘f‚Æ‚¢‚¤—v‘f‚ªˆê‚‚¾‚¯‘¶Ý‚µC‚±‚ê‚́C‘¼‚Ì—v‘f‚Ì<termref def="dt-content">“à—e</termref>‚ÉŠÜ‚Ü‚ê‚È‚¢B</termdef>‚±‚êˆÈŠO‚Ì‚·‚ׂĂ̗v‘f‚́C‚»‚ÌŠJŽnƒ^ƒO‚ª‘¼‚Ì—v‘f‚Ì“à—e‚ÉŠÜ‚Ü‚ê‚ê‚΁C‘Ήž‚·‚éI—¹ƒ^ƒO‚à“¯‚¶—v‘f‚Ì“à—e‚ÉŠÜ‚Ü‚ê‚éB‚‚܂èC—v‘f‚́CŠJŽnƒ^ƒO‹y‚яI—¹ƒ^ƒO‚É‚æ‚Á‚Ä‹æØ‚ç‚êC“ü‚êŽq\‘¢‚ð‚È‚·B
</p></item>
</ulist>
</p>
<p><termdef id="dt-parentchild" term="e—v‘f/Žq—v‘f">‚±‚ê‚ç‚ÌŒ‹‰Ê‚Æ‚µ‚āC•¶‘“à‚Ì‚Ç‚Ì”ñƒ‹[ƒg—v‘f<code>C</code>‚ɑ΂µ‚Ä‚àC‚ ‚鑼‚Ì—v‘f<code>P</code>‚ª‘¶Ý‚µC<code>C</code>‚́C<code>P</code>‚Ì“à—e‚ÉŠÜ‚Ü‚ê‚邪C<code>P</code>‚Ì“à—e‚ÉŠÜ‚Ü‚ê‚鑼‚Ì—v‘f‚ÉŠÜ‚Ü‚ê‚邱‚Æ‚Í‚È‚¢B‚±‚Ì‚Æ‚«C<code>P</code>‚ð<code>C</code>‚Ì<code>e</code>‚Æ‚¢‚¢C<code>C</code>‚ð<code>P</code>‚Ì<code>Žq</code>‚Æ‚¢‚¤B</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="ƒeƒLƒXƒg">&parsed-entity;‚́C<term>ƒeƒLƒXƒg</term>(<termref def="dt-character">•¶Žš</termref>‚Ì•À‚Ñ‚Å‚ ‚Á‚āC&markup;–”‚Í•¶Žšƒf[ƒ^‚ð•\‚µ‚Ä‚à‚æ‚¢B)‚ðŠÜ‚ށB</termdef><termdef id="dt-character" term="•¶Žš"><term>•¶Žš</term>‚́CƒeƒLƒXƒg‚̍ŏ¬’PˆÊ‚Å‚ ‚Á‚āCISO/IEC 10646<bibref ref="ISO10646"/>‚É‹K’肳‚ê‚éB<!--Users may extend the ISO/IEC 10646 character repertoire by exploiting the private use areas. -->‹–—e‚·‚镶Žš‚́Cƒ^ƒuC‰üsC•œ‹A•À‚Ñ‚ÉUnicode‹y‚ÑISO/IEC 10646‚ª‹–—e‚·‚é}Œ`•¶Žš‚Æ‚·‚éB</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>”CˆÓ‚ÌUnicode•¶ŽšB‚½‚¾‚µC&surrogate-blocks;CFFFE‹y‚ÑFFFF‚͏œ‚­B</com>
</prod>
</prodgroup>
</scrap>
</p>
<p>&character-value;‚ðƒrƒbƒgƒpƒ^ƒ“‚É•„†‰»‚·‚é‹@\‚́CŽÀ‘Ì‚²‚ƂɈá‚Á‚Ä‚à‚æ‚¢B‚·‚ׂĂÌXML&processor;‚́CISO/IEC 10646‚ÌUTF-8•„†‰»‹y‚ÑUTF-16•„†‰»‚ðŽó‚¯•t‚¯‚È‚¯‚ê‚΂Ȃç‚È‚¢B“ñ‚‚̂ǂ¿‚炪—p‚¢‚ç‚ê‚Ä‚¢‚é‚©‚𖾎¦‚·‚邽‚ß‚Ì‹@\C‹y‚Ñ‘¼‚Ì•„†‰»•û–@‚ð—˜—p‚·‚邽‚ß‚Ì‹@\‚́C<titleref href='charencoding'>•¶Žš‚Ì•„†‰»</titleref>‚É‹Lq‚·‚éB</p>
<p>‚Ç‚Ì•„†‰»•û–@‚ð—p‚¢‚é‚©‚ÉŠÖŒW‚È‚­CISO/IEC 10646‚Ì•¶ŽšW‡‚É‚ ‚é‚·‚ׂĂ̕¶Žš‚́C‚»‚ÌUCS-4&code-value;<!-- bit string. -->‚Æ“™‰¿‚È10i”–”‚Í16i”‚É‚æ‚Á‚āCŽQÆ‚Å‚«‚éB</p>
</div2>
<div2 id='sec-common-syn'>
<head>‹¤’ʂ̍\•¶\¬Žq</head>
<p>2.3‚ł́C•¶–@“à‚ōL‚­Žg—p‚·‚é‚¢‚­‚‚©‚Ì‹L†‚ð’è‹`‚·‚éB</p>
<p><nt def="NT-S">S</nt> (‹ó”’)‚́Cˆê‚ŽႵ‚­‚Í•¡”‚Ì&space-character;(#x20)C•œ‹AC‰üs–”‚̓^ƒu‚©‚琬‚éB
<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>•Ö‹XãC•¶Žš‚ðC&letter;C”Žš–”‚Í‘¼‚Ì•¶Žš‚É•ª—Þ‚·‚éB&letter;‚́CƒAƒ‹ƒtƒ@ƒxƒbƒg“I–”‚Í•\‰¹“I‚Å‚ ‚éŠî–{•¶Žš(ˆê‚–”‚Í•¡”‚Ì&combining-character;‚ªCŒã‚É‘±‚­‚±‚Æ‚à‚ ‚éB)C&ideographic;‚©‚琬‚éB
<!--
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>.
-->
ŠeƒNƒ‰ƒX‚É‚¨‚¯‚éŽÀÛ‚Ì•¶Žš‚ɂ‚¢‚Ä‚ÌŠ®‘S‚È’è‹`‚́C<titleref href='CharClasses'>•¶ŽšƒNƒ‰ƒX</titleref>‚ÉŠÖ‚·‚é•t˜^‚É‹K’è‚·‚éB</p>
<p><termdef id="dt-name" term="Name"><term>Name</term>‚́C&letter;–”‚Í‚¢‚­‚‚©‚Ì‹æØ‚蕶Žš‚̈ê‚‚Ŏn‚Ü‚èC‚»‚ÌŒã‚É&letter;C”ŽšCƒnƒCƒtƒ“C‰ºüCƒRƒƒ“–”‚̓sƒŠƒIƒh‚ª‘±‚­(‚±‚ê‚ç‚𖼑O•¶Žš‚Æ‚¢‚¤B)B</termdef>&string;"<code>xml</code>"–”‚Í<code>(('X'|'x') ('M'|'m') ('L'|'l'))</code>‚É&match;‚·‚é”CˆÓ‚Ì&string;‚ÅŽn‚Ü‚é–¼‘O‚́C‚±‚Ì&TR-or-Rec;‚ÌŒ»Ý‚̔Ŗ”‚͏«—ˆ‚̔łł̕W€‰»‚Ì‚½‚ß‚É—\–ñ‚·‚éB
</p>
<note>
<p>XML‚Ì–¼‘O‚Ì’†‚̃Rƒƒ“‚́C–¼‘O‹óŠÔ‚Å‚ÌŽÀŒ±‚Ì‚½‚ß‚É—\–ñ‚·‚éBƒRƒƒ“‚̈Ӗ¡‚́C«—ˆ‚Ì‚ ‚鎞“_‚Å•W€‰»‚·‚é‚à‚Ì‚Æ‚µC‚»‚Ì‚Æ‚«‚ɂ́CŽÀŒ±“I‚È–Ú“I‚ŃRƒƒ“‚ðŽg—p‚·‚镶‘‚ðXV‚·‚é•K—v‚ª¶‚¶‚é‰Â”\«‚ª‚ ‚éBXML‚ō̗p‚·‚é–¼‘O‹óŠÔ‚Ì‹@\‚ªC‹æØ‚èŽq‚Æ‚µ‚ÄŽÀÛ‚ɃRƒƒ“‚ðŽg—p‚·‚é‚Æ‚¢‚¤•ÛØ‚Í‚È‚¢BŽ–ŽÀãC‚±‚ê‚́C–¼‘O‹óŠÔ‚ÌŽÀŒ±‚̈ê‚‚Ƃµ‚ĈȊO‚ɂ́CXML‚Ì–¼‘O‚Ì’†‚ŃRƒƒ“‚ðŽg—p‚µ‚È‚¢‚Ù‚¤‚ª‚æ‚¢‚±‚Æ‚ðˆÓ–¡‚·‚éB‚µ‚©‚µCXML&processor;‚́C–¼‘O•¶Žš‚Æ‚µ‚ăRƒƒ“‚ðŽó‚¯•t‚¯‚邱‚Æ‚ª–]‚Ü‚µ‚¢B
</p>
</note>
<p>
<nt def='NT-Nmtoken'>Nmtoken</nt> (–¼‘O&token;)‚́C–¼‘O•¶Žš‚ō\¬‚·‚é—ñ‚Æ‚·‚éB
<scrap lang='ebnf'>
<head>–¼‘O‹y‚Ñ&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;ƒf[ƒ^‚́Cˆø—p•„‚ň͂܂ꂽ&string;‚Æ‚µC‚»‚Ì—ñ‚Ì‹æØ‚èŽq‚Æ‚µ‚ÄŽg—p‚·‚éˆø—p•„‚ÍŠÜ‚Ü‚È‚¢B&literal;‚́C“à•”ŽÀ‘Ì(<nt def='NT-EntityValue'>EntityValue</nt>)C‘®«’l(<nt def='NT-AttValue'>AttValue</nt>)CŠO•”&identifier;(<nt def="NT-SystemLiteral">SystemLiteral</nt>)‚Ì“à—e‚ÌŽw’è‚ÉŽg—p‚·‚éB–Ú“I‚É‚æ‚Á‚ẮC&literal;‘S‘Ì‚ðC‚»‚Ì’†‚Ì&markup;‚Ì‘–¸‚ðs‚Ȃ킸‚ɁCƒXƒLƒbƒv‚·‚邱‚Æ‚ª‚ ‚é(<nt def='NT-SkipLit'>SkipLit</nt>B)B
<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>•¶Žšƒf[ƒ^‹y‚Ñ&markup;</head>
<p><termref def='dt-text'>ƒeƒLƒXƒg</termref>‚́C<termref def="dt-chardata">•¶Žšƒf[ƒ^</termref>‹y‚Ñ&markup;‚ª¬Ý‚·‚é‚à‚Ì‚Æ‚µ‚č\¬‚·‚éB<termdef id="dt-markup" term="Markup"><term>&markup;</term>‚́C<termref def="dt-stag">ŠJŽnƒ^ƒO</termref>C<termref def="dt-etag">I—¹ƒ^ƒO</termref>C<termref def="dt-empty">‹ó—v‘f</termref>C<termref def="dt-entref">ŽÀ‘ÌŽQÆ</termref>C<termref def="dt-charref">•¶ŽšŽQÆ</termref>C<termref def="dt-comment">ƒRƒƒ“ƒg</termref>C<termref def="dt-cdsection">CDATAƒZƒNƒVƒ‡ƒ“</termref> ‚Ì‹æØ‚èŽqC<termref def="dt-doctype">•¶‘Œ^éŒ¾</termref>‹y‚Ñ<termref def="dt-pi">ˆ—–½—ß</termref>‚ÌŒ`‚ðŽæ‚éB
</termdef>
</p>
<p><termdef id="dt-chardata" term="Character Data">&markup;‚Å‚Í‚È‚¢‚·‚ׂẴeƒLƒXƒg‚́C•¶‘‚Ì<term>•¶Žšƒf[ƒ^</term>‚ð\¬‚·‚éB</termdef></p>
<p>ƒAƒ“ƒpƒTƒ“ƒh•¶Žš (&amp;)‹y‚Ñ&left-angle-bracket; (&lt;)‚́C&markup;‚Ì‹æØ‚èŽq‚Æ‚µ‚āC–”‚Í<termref def="dt-comment">ƒRƒƒ“ƒg</termref>C<termref def="dt-pi">ˆ—–½—ß</termref>Žá‚µ‚­‚Í<termref def="dt-cdsection">CDATAƒZƒNƒVƒ‡ƒ“</termref>“à‚ÅŽg—p‚·‚éê‡‚É<emph>‚¾‚¯</emph>C‚»‚Ì‚Ü‚Ü‚ÌŒ`‚ŏoŒ»‚µ‚Ä‚æ‚¢B‚±‚ê‚ç‚Ì•¶Žš‚́C“à•”ŽÀ‘̐錾‚Ì<termref def='dt-litentval'>&literal;ŽÀ‘Ì’l</termref>“à‚É‹Lq‚µ‚Ä‚à‚æ‚¢B Ú‚µ‚­‚́C<titleref href='wf-entities'>&well-formed;‚ÌŽÀ‘Ì</titleref>‚ÉŠÖ‚·‚é‹K’è‚ðŽQÆB<!-- FINAL EDIT: restore internal entity decl or leave it out. -->‚±‚ê‚ç‚Ì•¶Žš‚ª‘¼‚Ì•”•ª‚Å•K—v‚ȏꍇC”’l‚É‚æ‚镶ŽšŽQÆ–”‚Í&string;"<code>&amp;amp;</code>"‹y‚Ñ&string;"<code>&amp;lt;</code>"‚ðŽg—p‚µC<termref def="dt-escape">&escape;</termref>‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B&right-angle-bracket; (>) ‚́C&string;"<code>&amp;gt;</code>"‚ðŽg—p‚µ‚Ä•\Œ»‚µ‚Ä‚à‚æ‚¢B“à—e‚Ì’†‚Å—ñ"<code>]]&gt;</code>"‚ðŽg—p‚·‚é‚Æ‚«‚́C‚»‚ꂪC<termref def="dt-cdsection">CDATAƒZƒNƒVƒ‡ƒ“</termref>‚̏I—¹‚ð&markup;‚µ‚È‚¢ŒÀ‚èC<termref def='dt-compat'>ŒÝŠ·«‚Ì‚½‚ß</termref>C"<code>&amp;gt;</code>"–”‚Í•¶ŽšŽQÆ‚ðŽg—p‚µC&escape;‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B</p>
<p>—v‘f‚Ì“à—e‚ł́C•¶Žšƒf[ƒ^‚́C‚¢‚©‚È‚é&markup;‚ÌŠJŽn‹æØ‚èŽq‚ðŠÜ‚Ü‚È‚¢”CˆÓ‚Ì&char-string;‚Æ‚·‚éBCDATAƒZƒNƒVƒ‡ƒ“‚ł́C•¶Žšƒf[ƒ^‚Ƃ́CCDATAƒZƒNƒVƒ‡ƒ“‚̏I—¹‹æØ‚èŽq"<code>]]&gt;</code>"‚ðŠÜ‚Ü‚È‚¢”CˆÓ‚Ì&char-string;‚Æ‚·‚éB
</p>
<p>
‘®«’l‚É&single-quote;‹y‚Ñ&double-quote;‚ðŠÜ‚Þ‚½‚߂ɂ́CƒAƒ|ƒXƒgƒƒtƒB–”‚Í&single-quote;(') ‚́C"<code>&amp;apos;</code>"‚Æ‚µ‚Ä•\Œ»‚µC&double-quote;(")‚́C"<code>&amp;quot;</code>"‚Æ‚µ‚Ä•\Œ»‚·‚éB
<scrap lang="ebnf">
<head>•¶Žšƒf[ƒ^</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>ƒRƒƒ“ƒg</head>
<p><termdef id="dt-comment" term="Comment"><term>ƒRƒƒ“ƒg</term>‚́C‘¼‚Ì<termref def='dt-markup'>&markup;</termref>‚ÌŠO‚È‚ç‚΁C•¶‘‚Ì‚Ç‚±‚ÉŒ»‚ê‚Ä‚à‚æ‚¢B‚³‚ç‚ɁC•¶‘Œ^éŒ¾“à‚ŁC•¶–@‚ª‹–‚·êŠ‚ÉŒ»‚ê‚Ä‚à‚æ‚¢B
<!-- 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. -->
ƒRƒƒ“ƒg‚́C•¶‘‚Ì<termref def="dt-chardata">•¶Žšƒf[ƒ^</termref>‚̈ꕔ‚Å‚Í‚È‚¢BXML&processor;‚́C&application;‚ªƒRƒƒ“ƒg‚̃eƒLƒXƒg‚ðŽæ‚èo‚·‚±‚Æ‚ð‰Â”\‚Æ‚µ‚Ä‚à‚æ‚¢‚ªC‚»‚¤‚µ‚È‚­‚Æ‚à‚æ‚¢B
<termref def="dt-compat">ŒÝŠ·«‚Ì‚½‚ß</termref>C&string;"<code>--</code>" i&double-hyphen;j‚́CƒRƒƒ“ƒg“à‚ÅŒ»‚ê‚Ä‚Í‚È‚ç‚È‚¢B
<scrap lang="ebnf">
<head>ƒRƒƒ“ƒg</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>ƒRƒƒ“ƒg‚Ì—á‚ðŽŸ‚ÉŽ¦‚·B
<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)‚É‚æ‚Á‚āC&application;‚Ì‚½‚ß‚Ì–½—߂𕶏‘‚É“ü‚ê‚邱‚Æ‚ª‚Å‚«‚éB
<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‚́C•¶‘‚Ì<termref def="dt-chardata">•¶Žšƒf[ƒ^</termref>‚̈ꕔ‚Å‚Í‚È‚¢‚ªC&application;‚É“n‚³‚ê‚È‚¯‚ê‚΂Ȃç‚È‚¢BPI‚́C–½—ß‚ª“n‚³‚ê‚é&application;‚ð&identify;‚½‚ß‚ÉŽg—p‚·‚é&target; (<nt def='NT-PITarget'>PITarget</nt>) ‚ÅŽn‚Ü‚éB&target;–¼ "<code>XML</code>"C"<code>xml</code>"‚Ȃǂ́C‚±‚Ì&TR-or-Rec;‚ÌŒ»Ý‚̔Ŗ”‚͏«—ˆ‚̔ł̋KŠi‰»—p‚É—\–ñ‚·‚éBXML‚Ì<termref def='dt-notation'>‹L–@</termref>‹@\‚ðCPI‚Ì&target;‚ðéŒ¾‚·‚邽‚ß‚ÉŽg—p‚µ‚Ä‚à‚æ‚¢B
</p>
</div2>
<div2 id='sec-cdata-sect'>
<head>CDATAƒZƒNƒVƒ‡ƒ“</head>
<p><termdef id="dt-cdsection" term="CDATA Section"><term>CDATAƒZƒNƒVƒ‡ƒ“</term>‚́C•¶Žšƒf[ƒ^‚ªoŒ»‚·‚é‚Æ‚±‚ë‚Å‚ ‚ê‚΁C‚Ç‚±‚ɏoŒ»‚µ‚Ä‚à‚æ‚¢B‚±‚ê‚́C‚»‚¤‚Å‚È‚¯‚ê‚΁C&markup;‚Æ‚µ‚Ä”FŽ¯‚·‚镶Žš‚ðŠÜ‚ށCƒeƒLƒXƒg‚Ì‹æ‰æ‚ð&escape;‚·‚é‚Ì‚ÉŽg—p‚·‚éBCDATAƒZƒNƒVƒ‡ƒ“‚́C&string;"<code>&lt;![CDATA[</code>"‚ÅŽn‚Ü‚èC&string;
"<code>]]&gt;</code>"‚ŏI‚í‚éB
<scrap lang="ebnf">
<head>CDATAƒZƒNƒVƒ‡ƒ“</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ƒZƒNƒVƒ‡ƒ““à‚ł́C—ñ<nt def='NT-CDEnd'>CDEnd</nt>‚¾‚¯‚ð&markup;‚Æ‚µ‚Ä”FŽ¯‚·‚é‚̂ŁC&left-angle-bracket;‹y‚уAƒ“ƒpƒTƒ“ƒh‚́C‚»‚Ì&literal;Œ`Ž®‚ŏoŒ»‚µ‚Ä‚æ‚¢B‚»‚ê‚ç‚́C"<code>&amp;lt;</code>"‹y‚Ñ"<code>&amp;amp;</code>"‚ðŽg—p‚µ‚Ä&escape;‚·‚é•K—v‚Í‚È‚¢BCDATAƒZƒNƒVƒ‡ƒ“‚́C“ü‚êŽq‚É‚Í‚Å‚«‚È‚¢B
</termdef>
</p>
<p>"<code>&lt;greeting></code>"‹y‚Ñ"<code>&lt;/greeting></code>"‚ðC<termref def='dt-markup'>&markup;</termref>‚Å‚Í‚È‚­C<termref def='dt-chardata'>•¶Žšƒf[ƒ^</termref>‚Æ‚µ‚Ä”FŽ¯‚·‚éCDATAƒZƒNƒVƒ‡ƒ“‚Ì—á‚ðCŽŸ‚ÉŽ¦‚·B
<eg>&lt;![CDATA[&lt;greeting>Hello, world!&lt;/greeting>]]&gt;</eg>
</p>
</div2>
<div2 id='sec-prolog-dtd'>
<head>&prolog;‹y‚Ñ•¶‘Œ^éŒ¾</head>
<p><termdef id='dt-xmldecl' term='XML Declaration'>XML•¶‘‚́CŽg—p‚·‚éXML‚Ì&version;‚ðŽw’è‚·‚é<term>XMLéŒ¾</term>‚ÅŽn‚ß‚Ä‚à‚æ‚­C–”‚»‚¤‚·‚é‚Ì‚ª–]‚Ü‚µ‚¢B
</termdef>
</p>
<p>‚±‚Ì&TR-or-Rec;‚Ì‚±‚Ì&version;‚É“K‡‚·‚邱‚Æ‚ðŽ¦‚·‚½‚߂ɂ́C&version;”ԍ† "<code>1.0</code>" ‚ðŽg—p‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B‚ ‚镶‘‚ªC‚±‚Ì&TR-or-Rec;‚Ì‚±‚Ì&version;‚É“K‡‚µ‚È‚¢‚Æ‚«C’l"<code>1.0</code>"‚ðŽg—p‚·‚é‚̂́C&error;‚Æ‚·‚éB‚±‚Ì&TR-or-Rec;‚̍¡Œã‚Ì&version;‚É"<code>1.0</code>"ˆÈŠO‚Ì’l‚ð•t—^‚·‚邱‚Æ‚ªCXMLì‹ÆƒOƒ‹[ƒv‚̈Ӑ}‚¾‚ªCXML‚̏«—ˆ‚Ì&version;‚ðì¬‚·‚邱‚Æ‚ÌŠm–ñ‚ðŽ¦‚·‚킯‚Å‚Í‚È‚­Cì¬‚µ‚½‚Æ‚µ‚Ä‚àC”ԍ†•t‚¯‚ɂ‚¢‚āC“Á’è‚Ì•û–@‚ðŽg—p‚·‚邱‚Æ‚ÌŠm–ñ‚ðŽ¦‚·‚킯‚Å‚à‚È‚¢B«—ˆ‚Ì&version;‚̉”\«‚ðœŠO‚µ‚È‚¢‚̂ŁC•K—v‚ȏꍇCŽ©“®“I‚È&version;‚Ì”FŽ¯‚ð‰Â”\‚Æ‚·‚éŽè’i‚Æ‚µ‚āC‚±‚̍\¬Žq‚ð’ñ‹Ÿ‚·‚éB&processor;‚́CƒTƒ|[ƒg‚µ‚Ä‚¢‚È‚¢&version;‚щƒxƒ‹•t‚¯‚µ‚½•¶‘‚ðŽó‚¯Žæ‚Á‚½‚Æ‚«C&error;‚ð’Ê’m‚µ‚Ä‚à‚æ‚¢B
</p>
<p>XML•¶‘“à‚Ì&markup;‚Ì‹@”\‚́C‹L‰¯\‘¢‹y‚ј_—\‘¢‚ð‹Lq‚·‚邱‚ƁC•À‚Ñ‚É‘®«‹y‚Ñ‘®«’l‚̑΂ð˜_—\‘¢‚ÉŠÖ˜A‚¯‚邱‚Æ‚É‚ ‚éBXML‚́C˜_—\‘¢‚ɂ‚¢‚Ă̐§–ñðŒ‚ð’è‹`‚·‚邽‚߁C‹y‚Ñ‚ ‚ç‚©‚¶‚ß’è‹`‚³‚ꂽ‹L‰¯’PˆÊ‚ðŽg—p‚Å‚«‚邽‚ß‚Ì‹@\‚Æ‚µ‚āC<termref def="dt-doctype">•¶‘Œ^éŒ¾</termref>‚ð’ñ‹Ÿ‚·‚éB<!-- 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>‚Ƃ́C•¶‘Œ^éŒ¾‚ð‚à‚¿C‚»‚Ì•¶‘Œ^éŒ¾‚ÉŽ¦‚·§–ñðŒ‚ð–ž‚½‚·‚±‚Æ‚Æ‚·‚éB
</termdef></p>
<p>•¶‘Œ^éŒ¾‚́C•¶‘‚̍ŏ‰‚Ì<termref def="dt-element">—v‘f</termref>‚Ì‘O‚ÉŒ»‚ê‚È‚¯‚ê‚΂Ȃç‚È‚¢B
<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>
—Ⴆ‚΁CŽŸ‚ÉŽ¦‚·Š®‘S‚ÈXML•¶‘‚́C<termref def="dt-wellformed">&well-formed;</termref>‚Å‚ ‚邪<termref def="dt-valid">&valid;</termref>‚Å‚Í‚È‚¢B
<eg><![CDATA[<?xml version="1.0"?>
<greeting>Hello, world!</greeting>
]]></eg>
ŽŸ‚Ì•¶‘‚à“¯—l‚Æ‚·‚éB
<eg><![CDATA[<greeting>Hello, world!</greeting>
]]></eg>
</p>
<p><termdef id="dt-doctype" term="Document Type Declaration">
XML‚Ì<term>•¶‘Œ^éŒ¾</term>‚́C‚ ‚镶‘ƒNƒ‰ƒX‚Ì‚½‚ß‚Ì•¶–@‚ð’ñ‹Ÿ‚·‚é<termref def='dt-markupdecl'>&markup;éŒ¾</termref>‚ðŠÜ‚Þ‚©C–”‚ÍŽQÆ‚·‚éB‚±‚Ì•¶–@‚ðC•¶‘Œ^’è‹`–”‚Í<term>DTD</term>‚Æ‚¢‚¤B•¶‘Œ^éŒ¾‚́C&markup;éŒ¾‚ðŠÜ‚ñ‚¾ŠO•”&subset;(“Á•Ê‚ÈŽí—Þ‚Ì<termref def='dt-extent'>ŠO•”ŽÀ‘Ì</termref>)‚ðŽQÆ‚Å‚«C–”‚Í“à•”&subset;‚É’¼Ú&markup;éŒ¾‚ðŠÜ‚Þ‚±‚Æ‚à‚Å‚«‚éB‚³‚ç‚ɁC‚»‚Ì—¼•û‚à‰Â”\‚Æ‚·‚éB‚ ‚镶‘‚ÌDTD‚́C—¼•û‚Ì&subset;‚ð‚Ü‚Æ‚ß‚½‚à‚Ì‚Æ‚µ‚č\¬‚·‚éB</termdef>
</p>
<p><termdef id="dt-markupdecl" term="markup declaration">
<term>&markup;éŒ¾</term>‚́C<termref def="dt-eldecl">—v‘fŒ^éŒ¾</termref>C <termref def="dt-attdecl">‘®«ƒŠƒXƒgéŒ¾</termref>C<termref def="dt-entdecl">ŽÀ‘̐錾</termref>–”‚Í<termref def="dt-notdecl">‹L–@éŒ¾</termref>‚Æ‚·‚éB</termdef>ŽŸ‚ÉŽ¦‚·&well-formed;§–ñ‹y‚Ñ&validity;§–ñ‚É‹K’è‚·‚邪C‚±‚ê‚ç‚̐錾‚́C<termref def='dt-PE'>&parameter;ŽÀ‘Ì</termref>“à‚É‘S‘Ì–”‚͈ꕔ‚ªŠÜ‚Ü‚ê‚Ä‚à‚æ‚¢BÚ‚µ‚¢‹K’è‚́C<titleref xml-link="simple" href="sec-physical-struct">•¨—\‘¢</titleref>‚ÉŠÖ‚·‚é‹K’è‚ðŽQÆ‚Ì‚±‚ƁB</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;—v‘fŒ^</head>
<p>
•¶‘Œ^éŒ¾‚É‚¨‚¯‚é<nt def='NT-Name'>Name</nt>‚́C&root;—v‘f‚ÌŒ^‚Æ&match;‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B
</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>éŒ¾‹y‚Ñ&parameter;ŽÀ‘Ì‚ªŒµ–§‚É“ü‚êŽq‚ð‚È‚·‚±‚Æ</head>
<p>&parameter;ŽÀ‘Ì<termref def='dt-repltext'>‚Ì&replacement-text;</termref>‚́C&markup;éŒ¾“à‚É‚¨‚¢‚āCŒµ–§‚É“ü‚êŽq‚É‚È‚Á‚Ä‚¢‚È‚¯‚ê‚΂Ȃç‚È‚¢B‚‚܂èC&markup;éŒ¾(<nt def='NT-markupdecl'>markupdecl</nt>)‚̍ŏ‰–”‚͍Ōã‚Ì•¶Žš‚ªC<termref def='dt-PERef'>&parameter;ŽÀ‘ÌŽQÆ</termref>‚̑ΏۂƂȂé&replacement-text;‚ÉŠÜ‚Ü‚ê‚ê‚΁C—¼•û‚Æ‚à“¯‚¶&replacement-text;‚ÉŠÜ‚Ü‚ê‚È‚¯‚ê‚΂Ȃç‚È‚¢B</p>
</vcnote>
<wfcnote id="wfc-PEinInternalSubset">
<head>“à•”&subset;“à‚Ì&parameter;ŽÀ‘Ì</head>
<p>DTD‚Ì“à•”&subset;‚ł́C<termref def='dt-PERef'>&parameter;ŽÀ‘ÌŽQÆ</termref>‚́C&markup;éŒ¾‚ªoŒ»‰Â”\‚ȏꏊ‚¾‚¯‚ɏoŒ»‚Å‚«‚éB&markup;éŒ¾“à‚ɂ͏oŒ»‚Å‚«‚È‚¢(‚±‚̐§–ñ‚́CŠO•”&parameter;ŽÀ‘Ì–”‚ÍŠO•”&subset;‚Å‚ÌŽQÆ‚É‚Í“K—p‚µ‚È‚¢B)B
</p>
</wfcnote>
<p>
“à•”&subset;‚Ì‚Æ‚«‚Æ“¯—l‚ɁCŠO•”&subset;‹y‚ÑDTD‚É‚¨‚¢‚ÄŽQÆ‚·‚é”CˆÓ‚ÌŠO•”&parameter;ŽÀ‘̂́C”ñI’[‹L†<nt def="NT-markupdecl">markupdecl</nt>‚É‚æ‚Á‚Ä‹–‚³‚ê‚éŒ^‚́Cˆê˜A‚ÌŠ®‘S‚È&markup;éŒ¾‚ō\¬‚³‚ê‚È‚¯‚ê‚΂Ȃç‚È‚¢B&markup;éŒ¾‚̊Ԃɂ́C‹ó”’–”‚Í<termref def="dt-PERef">&parameter;ŽÀ‘ÌŽQÆ</termref>‚ð’u‚¢‚Ä‚à‚æ‚¢B‚µ‚©‚µCŠO•”&subset;–”‚ÍŠO•”&parameter;ŽÀ‘Ì‚Ì“à—e‚̈ꕔ‚́C<termref def="dt-cond-section">ðŒ•t‚«ƒZƒNƒVƒ‡ƒ“</termref>‚ðŽg—p‚µ‚Ä–³Ž‹‚µ‚Ä‚à‚æ‚¢B“à•”ƒTƒuƒZƒbƒg‚ł́C‚±‚ê‚Í‹–‚³‚ê‚È‚¢B
<!--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>ŠO•”&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>ŠO•”&subset;‹y‚ÑŠO•”&parameter;ŽÀ‘̂́C‚»‚Ì“à‚ł́C&parameter;ŽÀ‘Ì‚ª&markup;éŒ¾‚Ì<emph>ŠÔ</emph>‚¾‚¯‚Å‚È‚­C&markup;éŒ¾‚Ì<emph>“à</emph>‚Å‚à”FŽ¯‚³‚ê‚éC‚Æ‚¢‚¤“_‚Å‚à“à•”&subset;‚Ƃ͈قȂéB
</p>
<p>•¶‘Œ^éŒ¾•t‚«‚ÌXML•¶‘‚Ì—á‚ðCŽŸ‚ÉŽ¦‚·B
<eg><![CDATA[<?xml version="1.0"?>
<!DOCTYPE greeting SYSTEM "hello.dtd">
<greeting>Hello, world!</greeting>
]]></eg>
<termref def="dt-sysid">ƒVƒXƒeƒ€&identifier;</termref> "<code>hello.dtd</code>"‚ªC•¶‘‚ÌDTD‚ÌURI‚Æ‚È‚éB</p>
<p>ŽŸ‚Ì—á‚Ì‚Æ‚¨‚èCéŒ¾‚ð‹ÇŠ“I‚É—^‚¦‚邱‚Æ‚à‚Å‚«‚éB
<eg><![CDATA[<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE greeting [
<!ELEMENT greeting (#PCDATA)>
]>
<greeting>Hello, world!</greeting>
]]></eg>
ŠO•”&subset;‹y‚Ñ“à•”&subset;‚Ì—¼•û‚ðŽg—p‚·‚é‚Æ‚«‚́C“à•”&subset;‚ªŠO•”&subset;‚æ‚èæ‚ɏoŒ»‚µ‚½‚ÆŒ©‚È‚·B<!--* 'is considered to'? boo. whazzat mean? -->‚±‚ê‚́C“à•”&subset;‚ÌŽÀ‘Ì‹y‚Ñ‘®«ƒŠƒXƒgéŒ¾‚ªCŠO•”&subset;‚ÌŽÀ‘Ì‹y‚Ñ‘®«ƒŠƒXƒgéŒ¾‚æ‚è—Dæ‚·‚é‚Æ‚¢‚¤Œø‰Ê‚ð‚à‚½‚ç‚·B
</p>
</div2>
<div2 id='sec-rmd'>
<head>&standalone;•¶‘éŒ¾</head>
<p><termref def="dt-xml-proc">XML&processor;</termref>‚́C&application;‚É•¶‘‚Ì“à—e‚ð“n‚·‚ªC&markup;éŒ¾‚́C‚±‚Ì“à—e‚ɉe‹¿‚ð—^‚¦‚邱‚Æ‚ª‚ ‚éB‘®«‚Ì&default-value;‹y‚ÑŽÀ‘̐錾‚ð‚»‚Ì—á‚Æ‚·‚éBXMLéŒ¾‚̈ꕔ•ª‚Æ‚µ‚ďoŒ»‚Å‚«‚é&standalone;•¶‘éŒ¾‚́C•¶‘‚ªC‚»‚Ì&markup;éŒ¾‚Ì‘¶Ý‚É‚æ‚Á‚ĉe‹¿‚³‚ê‚È‚¢‚±‚Æ‚ðŽw‚µŽ¦‚·i•’ʁC‚»‚Ì&markup;éŒ¾‚ª‘¶Ý‚µ‚È‚¢‚½‚߂ɁC‚±‚ꂪ‚¢‚¦‚éBjB
<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>"‚Ì’l‚́C<termref def='dt-docent'>•¶‘ŽÀ‘Ì</termref>‚ÌŠO•”‚ɁiDTD‚ÌŠO•”&subset;“à‚ɁC–”‚Í“à•”&subset;‚©‚çŽQÆ‚³‚ê‚éŠO•”ƒpƒ‰ƒƒ^ŽÀ‘Ì“à‚ɁjCXML&processor;‚©‚ç&application;‚Ö‚Æ“n‚³‚ê‚éî•ñ‚ɉe‹¿‚·‚é&markup;éŒ¾‚ª‘¶Ý‚µ‚È‚¢‚±‚Æ‚ðˆÓ–¡‚·‚éB"<code>no</code>"‚Ì’l‚́C‚»‚ÌŠO•”&markup;éŒ¾‚ª‘¶Ý‚·‚é‚©C–”‚Í‘¶Ý‚·‚é‰Â”\«‚ª‚ ‚邱‚Æ‚ðˆÓ–¡‚·‚éB&standalone;•¶‘éŒ¾‚́C‚»‚Ì<emph>éŒ¾</emph>‚ª•¶‘ŠO•”‚É‘¶Ý‚·‚é‚©‚Ç‚¤‚©‚ðŽ¦‚·‚¾‚¯‚É’ˆÓ‚·‚邱‚ƁBŠO•”ŽÀ‘Ì‚Ö‚ÌŽQÆ‚ª•¶‘“à‚É‘¶Ý‚µ‚Ä‚¢‚Ä‚àC‚»‚ÌŽÀ‘Ì‚ª“à•”“I‚ɐ錾‚³‚ê‚Ä‚¢‚é‚Æ‚«‚́C•¶‘‚Ì&standalone;‚̏ó‘Ԃɂ͉e‹¿‚ð—^‚¦‚È‚¢B</p>
<p>ŠO•”‚É&markup;éŒ¾‚ª‘¶Ý‚µ‚È‚¯‚ê‚΁C&standalone;•¶‘éŒ¾‚͈Ӗ¡‚ð‚à‚½‚È‚¢BŠO•”‚É&markup;éŒ¾‚ª‘¶Ý‚µC&standalone;•¶‘éŒ¾‚ª‘¶Ý‚µ‚È‚¢ê‡‚́C<code>"no"</code> ‚Ì’l‚̐ݒè‚ð‰¼’è‚·‚éB</p>
<p>XML•¶‘‚Å <code>standalone="no"</code> ‚ªÝ’肳‚ê‚Ä‚¢‚é‚à‚̂́C‚ ‚éƒAƒ‹ƒSƒŠƒYƒ€‚Å&standalone;•¶‘‚É•ÏŠ·‚Å‚«C‚±‚Ì•¶‘‚́Cƒlƒbƒgƒ[ƒN”zM&application;‚É‚Æ‚Á‚Ä–]‚Ü‚µ‚¢‚©‚à‚µ‚ê‚È‚¢B</p>
<vcnote id='vc-check-rmd'>
<head>&standalone;•¶‘éŒ¾</head>
<p>&standalone;•¶‘éŒ¾‚́C‰½‚ç‚©‚ÌŠO•”&markup;éŒ¾‚ªŽŸ‚Ì‚¢‚¸‚ê‚©‚ðéŒ¾‚µ‚Ä‚¢‚é‚Æ‚«‚́C’l "<code>no</code>" ‚ðŽæ‚ç‚È‚¯‚ê‚΂Ȃç‚È‚¢B
<ulist>
<item><p>a) <termref def="dt-default">&default;</termref>’l•t‚«‚Ì‘®«‚Å‚ ‚Á‚āC‚±‚Ì‘®«‚ª“K—p‚³‚ê‚é—v‘f‚ªC‘®«’l‚ðŽw’肹‚¸‚É•¶‘“à‚ÉŒ»‚ê‚é‚à‚́B</p></item>
<item><p>b) &magicents;ˆÈŠO‚ÌŽÀ‘Ì‚Å‚ ‚Á‚āC‚»‚ÌŽÀ‘̂ɑ΂·‚é<termref def="dt-entref">ŽQÆ</termref>‚ª•¶‘“à‚ɏoŒ»‚·‚é‚à‚́B</p>
</item>
<item><p>c) ’l‚ª<titleref href='AVNormalize'>³‹K‰»</titleref>‚̑ΏۂƂȂ鑮«‚Å‚ ‚Á‚āC³‹K‰»‚ÌŒ‹‰Ê‚Æ‚µ‚ĕω»‚·‚é’l‚ª•¶‘“à‚Å‘®«‚ÉŽw’肳‚ê‚é‚à‚́B</p></item>
<item>
<p>d) <termref def="dt-elemcontent">—v‘f“à—e</termref>‚ð‚à‚—v‘fŒ^‚Å‚ ‚Á‚āC‹ó”’‚ª‚»‚Ì—v‘fŒ^‚Ì‚¢‚¸‚ê‚©‚̃Cƒ“ƒXƒ^ƒ“ƒX“à‚É’¼ÚŒ»‚ê‚é‚à‚́B
</p></item>
</ulist>
</p>
</vcnote>
<p>&standalone;•¶‘éŒ¾•t‚«‚ÌXMLéŒ¾‚Ì—á‚ðCŽŸ‚ÉŽ¦‚·B
<eg>&lt;?xml version="&XML.version;" standalone='yes'?></eg></p>
</div2>
<div2 id='sec-white-space'>
<head>‹ó”’‚̎戵‚¢</head>
<p>XML•¶‘‚ð•ÒW‚·‚é‚Æ‚«‚́C&markup;‚ð–Ú—§‚½‚¹“Ç‚Ý‚â‚·‚­‚·‚邽‚߂ɁCg‹ó”’h(&space;Cƒ^ƒu‹y‚ы󔒍sB‚±‚Ì&TR-or-Rec;‚ł́C”ñI’[‹L†‚Ì<nt def='NT-S'>S</nt>‚Å•\‚·)‚ðŽg‚¤‚Æ•Ö—˜‚È‚±‚Æ‚ª‘½‚¢B‚»‚̋󔒂́C”z•z‚·‚é&version;‚Ì•¶‘‚̈ꕔ‚Æ‚µ‚Ċ܂߂邱‚Æ‚ðˆÓ}‚µ‚È‚¢‚̂𕁒ʂƂ·‚éB‚µ‚©‚µCgˆÓ–¡‚Ì‚ ‚éh‹ó”’‚Å‚ ‚Á‚āC”z•z‚·‚é&version;‚ÉŽc‚³‚È‚¯‚ê‚΂Ȃç‚È‚¢‚à‚Ì‚à‘½‚¢B—Ⴆ‚΁CŽ‹y‚у\[ƒXƒR[ƒh‚É‚¨‚¯‚é‹ó”’‚ª‚ ‚éB</p>
<p><termref def='dt-xml-proc'>XML&processor;</termref>‚́C•¶‘“à‚Ì&markup;ˆÈŠO‚Ì‚·‚ׂĂ̕¶Žš‚ðC‚»‚̂܂ܕύX‚¹‚¸‚É&application;‚É“n‚³‚È‚¯‚ê‚΂Ȃç‚È‚¢B<termref def='dt-validating'>&validating;XML&processor;</termref>‚́C<termref def="dt-elemcontent">—v‘f“à—e</termref>‚Ì’†‚̋󔒂𑼂̔ñ&markup;•¶Žš‚©‚ç‹æ•Ê‚µC&application;‘¤‚É—v‘f“à—e‚Ì’†‚Ì‹ó”’‚ªd—v‚Å‚È‚¢‚Æ‚¢‚¤‚±‚Æ‚ð“`‚¦‚È‚¯‚ê‚΂Ȃç‚È‚¢B</p>
<p>
"<code>xml:space</code>"‚Æ‚¢‚¤“Á•Ê‚È<termref def='dt-attr'>‘®«</termref>‚𕶏‘‚É‘}“ü‚·‚邱‚Æ‚É‚æ‚Á‚āC‹ó”’‚ðd—v‚Æ‚·‚éˆÓ}‚ðŽ¦‚µ‚Ä‚à‚æ‚¢B‚±‚Ì‘®«‚ð“K—p‚·‚é—v‘f‚ÉŒ»‚ê‚é‹ó”’‚ðCƒAƒvƒŠƒP[ƒVƒ‡ƒ“‚ªd—v‚È‚à‚Ì‚Æ‚µ‚Ĉµ‚¤‚±‚Æ‚ð—v‹‚·‚éC‚Æ‚¢‚¤ˆÓ}‚ðŽ¦‚·B</p>
<p>&valid;‚È•¶‘‚ł́C‚±‚Ì‘®«‚ðŽg—p‚·‚éê‡‚́C‘¼‚Ì‘®«‚Æ“¯‚¶‚悤‚É<termref def="dt-attdecl">éŒ¾</termref>‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢BéŒ¾‚·‚é‚Æ‚«‚́CŽæ‚蓾‚é’l‚ð"<code>default</code>"‹y‚Ñ "<code>preserve</code>"‚¾‚¯‚Æ‚·‚é<termref def='dt-enumerated'>—ñ‹“Œ^</termref>‚Å‚È‚¯‚ê‚΂Ȃç‚È‚¢B
</p>
<p>’l"<code>default</code>"‚́C&application;‚Ì&default;‚̋󔒏ˆ—ƒ‚[ƒh‚ðC‚»‚Ì—v‘f‚É“K—p‰Â”\‚Æ‚·‚邱‚Æ‚ðˆÓ–¡‚·‚éB’l"<code>preserve</code>"‚́C&application;‚ª‚·‚ׂĂ̋󔒂ð•Û‘¶‚·‚邱‚Æ‚ðˆÓ–¡‚·‚éB‚±‚̐錾‚̈Ӑ}‚́C"<code>xml:space</code>" ‘®«‚Ì•Ê‚ÌŽw’è‚ŏ㏑‚«‚µ‚È‚¢ŒÀ‚èC—v‘f‚Ì“à—e‚ÉŒ»‚ê‚é‚·‚ׂĂ̗v‘f‚É“K—p‚·‚é‚ƉðŽß‚·‚éB</p>
<p>•¶‘‚Ì<termref def='dt-root'>&root;—v‘f</termref>‚ɂ‚¢‚ẮC‚±‚Ì‘®«‚Ì’l‚ðŽw’è‚·‚é‚©C–”‚Í‚±‚Ì‘®«‚Ì&default-value;‚ª‚ ‚éê‡‚ðœ‚¢‚ẮC&application;‚É‚æ‚é‹ó”’‚̎戵‚¢‚ɂ‚¢‚āC‚¢‚©‚È‚éˆÓ}‚àŽ¦‚³‚È‚¢‚ƉðŽß‚·‚éB</p>
<p>—á‚ðŽŸ‚ÉŽ¦‚·B
<eg><![CDATA[ <!ATTLIST poem xml:space (default|preserve) 'preserve'>]]></eg>
</p>
</div2>
<div2 id='sec-line-ends'>
<head>s––‚̎戵‚¢</head>
<p>XML‚Ì<termref def='dt-parsedent'>\•¶&parsed-entity;</termref>‚́C’ʏíƒRƒ“ƒsƒ…[ƒ^‚̃tƒ@ƒCƒ‹“à‚É•Û‘¶‚³‚êC•ÒW‚Ì•Ö‹X‚Ì‚½‚ß‚É•¡”‚̍s‚É•ª‚¯‚邱‚Æ‚ª‘½‚¢B‚±‚ê‚ç‚̍s‚́C•’ʂ́C<code>CR</code> (#xD)ƒR[ƒh‹y‚Ñ <code>LF</code> (#xA)ƒR[ƒh‚̉½‚ç‚©‚Ì‘g‡‚¹‚É‚æ‚Á‚Ä•ª‚¯‚ç‚ê‚éB</p>
<p><termref def='dt-app'>&application;</termref>‚̏ˆ—‚ðŠÈ’P‚É‚·‚邽‚߁CŠO•”&parsed-entity;–”‚Í“à•”&parsed-entity;‚Ì&literal;ŽÀ‘Ì’l‚ªC"<code>#xD#xA</code>" ‚Ì‚Q•¶Žš‚̘A‘±‚Æ‚·‚é&literal;–”‚Í<code>#xD</code>‚Ì’P“Æ‚Ì&literal;‚ðŠÜ‚ޏꍇ‚ɁC<termref def='dt-xml-proc'>XML&processor;</termref>‚́C&application;‚É’Pˆê‚Ì•¶Žš<code>#xA</code>‚¾‚¯‚ð“n‚³‚È‚¯‚ê‚΂Ȃç‚È‚¢(‚±‚̏ˆ—‚́C“ü—Í“à‚É‘¶Ý‚·‚é‰üsƒR[ƒh‚ð\•¶‰ðÍ‚Ì‘O‚ɐ³‹K‰»‚·‚邱‚Æ‚É‚æ‚Á‚āC—eˆÕ‚ÉŽÀŒ»‚Å‚«‚éB)B</p>
</div2>
<div2 id='sec-lang-tag'>
<head>&language-identification;</head>
<p>•¶‘ˆ—‚É‚¨‚¢‚ẮC‚»‚Ì•¶‘‚Ì’†g‚ª‚Ç‚ñ‚ÈŽ©‘RŒ¾Œê–”‚ÍŒ`Ž®Œ¾Œê‚ŏ‘‚©‚ê‚Ä‚¢‚é‚©–¾Ž¦‚·‚邱‚Æ‚ªC–ð‚É—§‚‚±‚Æ‚ª‘½‚¢B<!--‚±‚±‚ÅŽg—p‚·‚égŒ¾Œêh‚Æ‚¢‚¤Œ¾—t‚̈Ӗ¡‚́C"Espa&#x00F1;ol" ‹y‚Ñ"EBNF"‚Ì‘o•û‚ŗᎦ‚³‚ê‚éˆÓ–¡‚Æ‚·‚éB--><!-- x00F1: spanish's small ntilde--></p>
<!--; ‚±‚̏î•ñ‚́i—á‚ð‚ ‚°‚ê‚΁j•¶‘‚Ì•¶Žš‚Ì•\Ž¦C•À‚тɏî•ñ’Šo‚Ì‚½‚߂̌ꊲEŒ`‘Ô‘f‰ðÍ‹y‚уeƒLƒXƒgƒuƒƒbƒN‚̐®Œ`‚ɉe‹¿‚ð‹y‚Ú‚·‰Â”\«‚ª‚ ‚éB-->
<p>XML•¶‘“à‚Ì—v‘f‚Ì‚à‚“à—e–”‚Í‘®«’l‚É‚¨‚¢‚ÄŽg—p‚·‚é<!--Ž©‘R–”‚ÍŒ`Ž®-->Œ¾Œê‚ðŽw’è‚·‚邽‚߂ɁC"<code>xml:lang</code>" ‚Æ‚¢‚¤–¼‘O‚Ì“Á•Ê‚È<termref def="dt-attr">‘®«</termref>‚ðC•¶‘“à‚É‘}“ü‚µ‚Ä‚à‚æ‚¢B
<!--; ‚±‚Ì‘®«‚ÍXML‹K’è‚̈ꕔ‚Æ‚µ‚āC•¡”‚ÌXML&application;‚Ì‘ŠŒÝ‰^—p«‚ð‚‚ß‚é‚½‚ß‚É’è‹`‚·‚éB-->
‘®«‚Ì’l‚́C<bibref ref="RFC1766"/>gRFC1766F&language-identification;‚Ì‚½‚߂̃^ƒOh‚É‚æ‚Á‚Ä‹K’肳‚ê‚é&language-identification;ƒR[ƒh‚ɏ]‚¤B
<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>‚́CŽŸ‚Ì‚Ç‚ê‚Å‚à‚æ‚¢B
<ulist>
<item><p>a) <bibref ref="ISO639"/>gŒ¾Œê‚Ì–¼‘O•\Œ»‚Ì‚½‚߂̃R[ƒhh‚Å‹K’肳‚ê‚é2•¶Žš‚Ì&language-code;</p></item>
<item><p>b) Internet Assigned Numbers Authority (IANA)‚Å“o˜^‚³‚ê‚Ä‚¢‚é&language-code;B‚±‚ê‚́Cæ“ª‚ª "<code>i-</code>" (–”‚Í"<code>I-</code>")‚ÅŽn‚Ü‚éB</p></item>
<item><p>c) &user;‚É‚æ‚Á‚Ä’è‚ß‚ç‚ꂽ&language-code;C–”‚ÍŽ„“I‚ÈŽg—p‚Ì‚½‚ß‚É•¡”‚Ì’c‘ÌŠÔ‚ªŽæ‚茈‚ß‚½ƒR[ƒhB‚±‚ê‚ç‚́C¡ŒãIANA‚É‚¨‚¢‚Ä•W€‰»–”‚Í“o˜^‚³‚ê‚éƒR[ƒh‚Æ‚Ì‹£‡‚ð”ð‚¯‚é‚½‚߂ɁCæ“ª‚ð"<code>x-</code>" –”‚Í "<code>X-</code>" ‚ÅŽn‚ß‚éB</p></item>
</ulist></p>
<p><nt def='NT-Subcode'>Subcode</nt>‚́C•¡”‰ñŽg‚Á‚Ä‚à‚æ‚¢BÅ‰‚̃TƒuƒR[ƒh‚ª‘¶Ý‚µC‚»‚Ì“à—e‚ª“ñ‚‚̕¶Žš‚©‚琬‚é‚Æ‚«‚́C<bibref ref="ISO3166"/>ISO3166‚́g‘–¼‚ð•\‚·ƒR[ƒh(‘ƒR[ƒh)h‚Å‚È‚¯‚ê‚΂Ȃç‚È‚¢BÅ‰‚̃TƒuƒR[ƒh‚ª3•¶ŽšˆÈã‚©‚琬‚é‚Æ‚«‚́C<nt def='NT-Langcode'>Langcode</nt>‚̐擪‚ªC"<code>x-</code>" –”‚Í "<code>X-</code>"‚ÅŽn‚Ü‚ç‚È‚¢ŒÀ‚èCŽw’肵‚½Œ¾Œê‚ɑ΂·‚éƒTƒuƒR[ƒh‚Æ‚µCIANA‚É“o˜^‚³‚ꂽ‚à‚Ì‚Å‚È‚¯‚ê‚΂Ȃç‚È‚¢B</p>
<p>&language-code;‚́C¬•¶Žš‚Å‚Ì•\‹L‚ðC&country-code;‚́C(‘¶Ý‚·‚é‚È‚ç‚Î)‘啶Žš‚Å‚Ì•\‹L‚ðŠµs‚Æ‚·‚éB‚µ‚©‚µCXML•¶‘“à‚É‚¨‚¯‚鑼‚Ì–¼‘O‚Ƃ͈قȂèC‚±‚ê‚ç‚Ì’l‚ɂ‚¢‚ẮC‘啶Žš‹y‚я¬•¶Žš‚Ì‹æ•Ê‚ð‚µ‚È‚¢‚±‚Æ‚É’ˆÓ‚·‚邱‚ƁB</p>
<p>—á‚ðŽŸ‚ÉŽ¦‚·B
<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 ‚Ì’l‚́C—v‘f‚Ì“à—e‹y‚Ñ(‘®«‚Ì&default-value;‚Å’è‚ß‚È‚¢ŒÀ‚è)ƒtƒŠ[ƒeƒLƒXƒg(CDATA)‚Ì’l‚ð‚à‚‚»‚Ì—v‘f‚Ö‚Ì‚·‚ׂĂ̑®«‚Ì’l‚ɂ‚¢‚āC‚»‚Ì—¼•û‚É“K—p‚·‚éB-->
<p><code>xml:lang</code>‚Ő錾‚·‚éˆÓ}‚́C<code>xml:lang</code>‚Ì•Ê‚ÌŽw’è‚ŏ㏑‚µ‚È‚¢ŒÀ‚èCŽw’肵‚½—v‘f‚Ì“à—e‚ÉŠÜ‚Þ‚·‚ׂĂ̗v‘f‚É“K—p‚·‚éB</p>
<!--‚ ‚é—v‘f‚É‚¨‚¯‚é xml:lang ‘®«‚Ì’l‚ª’è‚ß‚ç‚ê‚Ä‚¨‚炸CDTD‚É‚¨‚¢‚Ä‚»‚Ì&default-value;‚ª’è‚ß‚ç‚ê‚Ä‚¢‚È‚¢ê‡C‚»‚Ì—v‘f‚Ìxml:lang ‘®«‚Ì’l‚́Ce—v‘f‚Å‚Ì’l‚ª‘¶Ý‚·‚éê‡‚́C‚»‚ê‚ðˆø‚«Œp‚®B ŽŸ‚Ì—á‚É‚¨‚¯‚é“ñ‚‚Ì<term>‚Æ‚¢‚¤–¼‘O‚̐ê–å—pŒê‚ð•\‚·—v‘f‚́Cxml:lang‚Ì’l‚ÉŠÖ‚µ‚ẮCŽÀÛãC“¯‚¶’l‚ð‚à‚B
<p xml:lang="en">Here the keywords are
<term xml:lang="en">shift</term> and
<term>reduce</term>. ...</p>
XML&processor;‚Å‚Í‚È‚­&application;‚ªC‚±‚Ì‘®«’l‚ÌŒp³‚ɂ‚¢‚ĐӔC‚ð‚à‚B
-->
<p>
&valid;‚È•¶‘‚É‚¨‚¢‚ẮC‚±‚Ì&TR-or-Rec;‚Ì‘¼‚̏ꏊ‚Å‹K’è‚·‚é‚Æ‚¨‚èC‚±‚Ì‘®«‚ð•K‚¸éŒ¾‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B’ʏíCéŒ¾‚́CŽŸ‚ÌŒ`‚Æ‚·‚éB
<eg>xml:lang NMTOKEN #IMPLIED</eg>
•K—v‚È‚ç‚΁C“Á’è‚Ì&default-value;‚ð—^‚¦‚Ä‚à‚æ‚¢B‰pŒê‚ð•êŒê‚Æ‚·‚éŠw¶—p‚̃tƒ‰ƒ“ƒXŒê‚ÌŽW‚ł́Cà–¾‹y‚Ñ’‚ð‰pŒê‚Å‹Lq‚·‚ê‚΁Cxml:lang ‘®«‚ðŽŸ‚Ì‚Æ‚¨‚è‚ɐ錾‚·‚邱‚Æ‚Æ‚È‚éB
<eg><![CDATA[ <!ATTLIST poem xml:lang NMTOKEN 'fr'>
<!ATTLIST gloss xml:lang NMTOKEN 'en'>
<!ATTLIST note xml:lang NMTOKEN 'en'>]]></eg>
</p>
<!--
DTD‚̐݌vŽÒ‚́CƒXƒNƒŠƒvƒg‚ðŒ¾Œê(‹y‚Ñ‚»‚Ì”h¶‘Ì)‚É•ïÛ‚µ‚Ĉµ‚¤‚Ì‚Å‚Í‚È‚­CƒXƒNƒŠƒvƒg‹y‚ÑŒ¾Œê‚𓯎ŸŒ³‚ňµ‚¤‚Ì‚ª“K“–‚ȏꍇCŒ¾Œê‘®«‚Æ“¯—l‚ɃXƒNƒŠƒvƒg‘®«‚ª‘¶Ý‚·‚ê‚ΗL—p‚¾‚ÆŽv‚¤‚©‚à‚µ‚ê‚È‚¢BƒŠƒ“ƒN—v‘f‚É‚¨‚¢‚āCŽQÆ‚³‚ꂽ–”‚̓Šƒ“ƒN‚³‚ꂽƒŠƒ\[ƒX‚É‚¨‚¯‚é(Žå—v‚È)Œ¾Œê(ê‡‚É‚æ‚Á‚Ä‚Í•¡”)‚ð•\‚·—v‘f‚ð’è‹`‚·‚é‚Ì‚à–]‚Ü‚µ‚¢B‚µ‚©‚µC‚±‚ê‚ç‚Ì&application;‚́C‚±‚Ì&TR-or-Rec;‚ª‹K’è‚·‚é”͈͊O‚Æ‚·‚éB-->
</div2>
</div1>
<!-- &Elements; -->
<div1 id='sec-logical-struct'>
<head>˜_—\‘¢</head>
<p><termdef id="dt-element" term="Element">‚¢‚©‚È‚é<termref def="dt-xml-doc">XML•¶‘</termref>‚àCˆê‚ˆȏã‚Ì<term>—v‘f</term>‚ðŠÜ‚ށB—v‘f‚Ì‹«ŠE‚Í, <termref def="dt-stag">ŠJŽnƒ^ƒO</termref>‹y‚Ñ<termref def="dt-etag">I—¹ƒ^ƒO</termref>‚É‚æ‚Á‚Ä‹æØ‚éB—v‘f‚ª<termref def="dt-empty">‹ó</termref>—v‘f‚Ì‚Æ‚«‚́C<termref def="dt-eetag">‹ó—v‘fƒ^ƒO</termref>‚ÅŽ¦‚·BŠeX‚Ì—v‘f‚́CŒ^‚ð‚à‚B—v‘fŒ^‚Í–¼‘O(‹¤’Ê&identifier;(generic identifier)–”‚ÍGI‚ƌĂԂ±‚Æ‚ª‚ ‚éB)‚É‚æ‚Á‚Ä&identified;B—v‘f‚́C‚¢‚­‚‚©‚Ì‘®«‚ð‚à‚‚±‚Æ‚ª‚Å‚«‚éB</termdef>‘®«‚́C<termref def="dt-attrname">–¼‘O</termref>‹y‚Ñ<termref def="dt-attrval">’l</termref>‚ð‚à‚B</p>
<scrap lang='ebnf'><head>—v‘f</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;‚́C—v‘fŒ^‹y‚Ñ‘®«‚̈Ӗ¡CŽg—p•û–@C–”‚Í(\•¶‚ÉŠÖ‚·‚邱‚Æ‚ðœ‚«)–¼‘O‚ɐ§–ñ‚ð—^‚¦‚È‚¢B‚½‚¾‚µCæ“ª‚ª<code>(('X'|'x')('M'|'m')('L'|'l'))</code>‚É&match;‚·‚é–¼‘O‚́C‚±‚̔Ŗ”‚͍¡Œã‚̔ł̂±‚Ì&TR-or-Rec;‚Å‚Ì•W€‰»‚Ì‚½‚ß‚É—\–ñ‚·‚éB</p>
<wfcnote id='GIMatch'><head>—v‘fŒ^‚Ì&match;</head>
<p>—v‘f‚̏I—¹ƒ^ƒO‚Ì<nt def='NT-Name'>–¼‘O</nt>‚́C‚»‚Ì—v‘f‚ÌŠJŽnƒ^ƒO‚É‚¨‚¯‚éŒ^‚Æ&match;‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B</p>
</wfcnote>
<div2 id='sec-starttags'>
<head>ŠJŽnƒ^ƒOCI—¹ƒ^ƒO‹y‚Ñ‹ó—v‘fƒ^ƒO</head>
<p><termdef id="dt-stag" term="Start-Tag">‹ó‚Å‚È‚¢”CˆÓ‚ÌXML—v‘f‚ÌŽn‚Ü‚è‚́C<term>ŠJŽnƒ^ƒO</term>‚É‚æ‚Á‚Ä&markup;‚·‚éB
<scrap lang='ebnf'><head>ŠJŽnƒ^ƒO</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>
ŠJŽnƒ^ƒO‹y‚яI—¹ƒ^ƒO“à‚Ì<nt def='NT-Name'>Name</nt>‚́C—v‘f‚Ì<term>Œ^</term>‚ð•\‚í‚·B</termdef><termdef id="dt-attr" term="Attribute"><nt def='NT-Name'>Name</nt>‹y‚Ñ<nt def='NT-AttValue'>AttValue</nt>‚̑΂ð—v‘f‚Ì<term>‘®«Žw’è</term>‚Æ‚¢‚¢</termdef>C<termdef id="dt-attrname" term="Attribute Name">ŒÂX‚̑΂ɂ¨‚¯‚é<nt def='NT-Name'>Name</nt>‚́C<term>‘®«–¼</term></termdef>‹y‚Ñ<termdef id="dt-attrval" term="Attribute Value"><nt def='NT-AttValue'>AttValue</nt>‚Ì“à—e(‹æØ‚èŽq<code>'</code>–”‚Í<code>"</code>‚ÌŠÔ‚Ì&string;)‚ð<term>‘®«’l</term>‚Æ‚¢‚¤B</termdef></p>
<wfcnote id='uniqattspec'><head>‘®«Žw’è‚̈êˆÓ«</head>
<p>ŠJŽnƒ^ƒO–”‚Í‹ó—v‘fƒ^ƒO‚ł́C“¯ˆê‚Ì‘®«–¼‚ª‚Q“xˆÈãoŒ»‚µ‚Ä‚Í‚È‚ç‚È‚¢B</p></wfcnote>
<vcnote id='ValueType'><head>‘®«’l‚ÌŒ^</head>
<p>‘®«‚͐錾‚³‚ê‚Ä‚¢‚È‚¯‚ê‚΂Ȃç‚È‚¢B‘®«’l‚ÌŒ^‚́C‚»‚Ì‘®«‚ɑ΂µ‚Đ錾‚µ‚½Œ^‚Å‚È‚¯‚ê‚΂Ȃç‚È‚¢(‘®«‚ÌŒ^‚ɂ‚¢‚ẮC<titleref href='AttDecls'>‘®«ƒŠƒXƒgéŒ¾</titleref>‚ɂ‚¢‚Ä‚Ì‹K’è‚ðŽQÆB)B</p></vcnote>
<wfcnote id='NoExternalRefs'><head>ŠO•”ŽÀ‘Ì‚Ö‚ÌŽQÆ‚ª‚È‚¢‚±‚Æ</head>
<p>‘®«’l‚ɂ́CŠO•”ŽÀ‘Ì‚Ö‚Ì’¼Ú“I–”‚͊ԐړI‚ÈŽQÆ‚ðŠÜ‚Þ‚±‚Æ‚Í‚Å‚«‚È‚¢B</p></wfcnote>
<wfcnote id='CleanAttrVals'><head>‘®«’l‚É<code>&lt;</code>‚ðŠÜ‚Ü‚È‚¢‚±‚Æ</head>
<p>‘®«’l“à‚Å’¼Ú“I–”‚͊ԐړI‚ÉŽQÆ‚·‚éŽÀ‘Ì(<code>&amp;lt;</code>‚ðœ‚­B)‚Ì<termref def='dt-repltext'>&replacement-text;</termref>‚ɂ́C<code>&lt;</code>‚ðŠÜ‚ñ‚Å‚Í‚È‚ç‚È‚¢B</p></wfcnote>
<p>ŠJŽnƒ^ƒO‚Ì—á‚ðCŽŸ‚ÉŽ¦‚·B
<eg>&lt;termdef id="dt-dog" term="dog"></eg></p>
<p><termdef id="dt-etag" term="End Tag">ŠJŽnƒ^ƒO‚ÅŽn‚Ü‚é—v‘f‚̏I‚í‚è‚́C<term>I—¹ƒ^ƒO</term>‚Å&markup;‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B‚±‚̏I—¹ƒ^ƒO‚́C‘Ήž‚·‚éŠJŽnƒ^ƒO‚Ì—v‘fŒ^‚Æ“¯‚¶–¼‘O‚ð‚à‚B
<scrap lang='ebnf'><head>I—¹ƒ^ƒO</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>I—¹ƒ^ƒO‚Ì—á‚ðCŽŸ‚ÉŽ¦‚·B
<eg>&lt;/termdef></eg></p>
<p><termdef id="dt-content" term="Content">—v‘f‚ÌŠJŽnƒ^ƒO‚ƏI—¹ƒ^ƒO‚Æ‚ÌŠÔ‚Ì<termref def='dt-text'>ƒeƒLƒXƒg</termref>‚ðC‚»‚Ì—v‘f‚Ì<term>“à—e</term>‚Æ‚¢‚¤B
<scrap lang='ebnf'><head>—v‘f‚Ì“à—e</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">—v‘f‚ª<term>‹ó</term>‚Ì‚Æ‚«C‚»‚Ì—v‘f‚́C’¼Œã‚ɏI—¹ƒ^ƒO‚ð‚à‚ŠJŽnƒ^ƒO–”‚Í‹ó—v‘fƒ^ƒO‚Å•\Œ»‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B</termdef><termdef id="dt-eetag" term="empty-element tag"><term>‹ó—v‘fƒ^ƒO</term>‚́CŽŸ‚Ì“Á•Ê‚ÈŒ`Ž®‚ð‚Æ‚éB
<scrap lang='ebnf'><head>‹ó—v‘f‚Ì‚½‚߂̃^ƒO</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>
<!-- –å”nFã‚́g‹ó—v‘f‚Ì‚½‚߂̃^ƒO(tags for empty elements)h‚́g‹ó—v‘fƒ^ƒO(empty-element tag)h‚Æ‚·‚ׂ«‚¾‚ÆŽv‚¢‚Ü‚·‚ªC‚¢‚©‚ª‚Å‚µ‚傤‚© -->
<p>‹ó—v‘fƒ^ƒO‚́C“à—e‚ð‚à‚½‚È‚¢”CˆÓ‚Ì—v‘f‚Ì•\Œ»‚É—˜—p‚Å‚«‚éB‹ó—v‘fƒ^ƒO‚Å•\Œ»‚·‚é—v‘f‚ðCƒL[ƒ[ƒh<kw>EMPTY</kw>‚ð—p‚¢‚Đ錾‚µ‚È‚­‚Æ‚à‚æ‚¢B</p>
<p>‹ó—v‘f‚Ì—á‚ðCŽŸ‚ÉŽ¦‚·B
<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>—v‘féŒ¾</head>
<p><termref def="dt-valid">&validity;</termref>‚ð•ÛØ‚·‚邽‚߁C—v‘féŒ¾‹y‚Ñ‘®«ƒŠƒXƒgéŒ¾‚ð—p‚¢‚Ä<termref def="dt-xml-doc">XML•¶‘</termref>‚Ì<termref def="dt-element">—v‘f</termref>‚̍\‘¢‚ɁC§–ñ‚ð‰Á‚¦‚邱‚Æ‚ª‚Å‚«‚éB</p>
<p>—v‘féŒ¾‚́C—v‘f‚Ì<termref def="dt-content">“à—e</termref>‚ɂ‚¢‚Ă̐§–ñ‚Æ‚·‚éB</p>
<p>—v‘féŒ¾‚́C—v‘f‚Ì<termref def="dt-parentchild">Žq</termref>‚Æ‚µ‚ďoŒ»‰Â”\‚È—v‘fŒ^‚ɂ‚¢‚āC§–ñ‚ð‰Á‚¦‚邱‚Æ‚ª‘½‚¢B&at-user-option;C—v‘féŒ¾‚ð‚à‚½‚È‚¢—v‘fŒ^‚ª‘¼‚Ì—v‘féŒ¾‚É‚æ‚Á‚ÄŽQÆ‚³‚ê‚ê‚΁CXML&processor;‚́CŒx‚ðo‚µ‚Ä‚à‚æ‚¢B‚µ‚©‚µC‚±‚ê‚Í&error;‚Æ‚Í‚µ‚È‚¢B</p>
<p><termdef id="dt-eldecl" term="Element Type declaration"><term>—v‘fŒ^éŒ¾</term>‚́CŽŸ‚ÌŒ`Ž®‚ð‚Æ‚éB
<scrap lang='ebnf'><head>—v‘fŒ^éŒ¾</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>
‚±‚±‚ŁC<nt def='NT-Name'>Name</nt>‚́CéŒ¾‚³‚ê‚Ä‚¢‚é—v‘f‚ÌŒ^‚Æ‚·‚éB</termdef></p>
<vcnote id='EDUnique'><head>—v‘féŒ¾‚̈êˆÓ«</head>
<p>—v‘fŒ^‚ð‚Q“xˆÈãéŒ¾‚Å‚«‚È‚¢B</p></vcnote>
<vcnote id='elementvalid'><head>—v‘f‚Ì&validity;</head>
<p>—v‘f‚ª<!-- said to be -->&valid;‚Ƃ́C<nt def='NT-elementdecl'>elementdecl</nt>‚É&match;‚·‚ééŒ¾‚Å‚ ‚Á‚āC‚»‚Ì<nt def='NT-Name'>Name</nt>‚ª‚»‚Ì—v‘fŒ^‚Æ&match;‚µCŽŸ‚Ì‚¢‚¸‚ê‚©‚ÌðŒ‚ð–ž‚½‚·ê‡‚Æ‚·‚éB<ulist>
<item><p>a) éŒ¾‚ª<kw>EMPTY</kw>‚É&match;‚µC—v‘f‚ª<termref def='dt-content'>“à—e</termref>‚ð‚à‚½‚È‚¢B</p></item>
<item><p>b) éŒ¾‚ª<nt def='NT-children'>children</nt>‚É&match;‚µC—v‘f‚Ì<termref def="dt-parentchild">Žq—v‘f</termref>‚Ì•À‚Ñ‚ªC“à—eƒ‚ƒfƒ‹‚̐³‹K•\Œ»‚É‚æ‚Á‚ж¬‚³‚ê‚錾Œê‚É‘®‚·‚éB</p></item>
<item><p>c) éŒ¾‚ª<nt def='NT-Mixed'>mixed</nt>‚É&match;‚µC—v‘f‚Ì“à—e‚ª<termref def='dt-chardata'>•¶Žšƒf[ƒ^</termref>‹y‚Ñ<termref def='dt-parentchild'>Žq—v‘f</termref>‚©‚ç‚È‚éBŽq—v‘f‚Ì—v‘fŒ^‚́C—v‘f‚Ì“à—eƒ‚ƒfƒ‹‚ɏoŒ»‚·‚é–¼‘O‚É&match;‚·‚éB</p></item>
<item><p>d) éŒ¾‚ª<kw>ANY</kw>‚É&match;‚µC‚Ç‚Ì<termref def='dt-parentchild'>Žq—v‘f</termref>‚Ì—v‘fŒ^‚àéŒ¾‚³‚ê‚Ä‚¢‚éB</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>—v‘féŒ¾‚Ì—á‚ðCŽŸ‚ÉŽ¦‚·B
<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>—v‘f“à—e</head>
<p><termdef id='dt-elemcontent' term='Element content'>‚ ‚éŒ^‚Ì—v‘f‚ª<termref def='dt-parentchild'>Žq</termref>—v‘f‚¾‚¯‚ðŠÜ‚Þ(•¶Žšƒf[ƒ^‚ðŠÜ‚Ü‚È‚¢B)‚Æ‚«C‚»‚Ì—v‘f<termref def="dt-stag">Œ^</termref>‚́C<term>—v‘f“à—e</term>‚ð‚à‚C‚Æ‚¢‚¤B</termdef>‚±‚̏ꍇC§–ñ‚́C“à—eƒ‚ƒfƒ‹‚ðŠÜ‚ށB“à—eƒ‚ƒfƒ‹‚́CŽq—v‘f‚ÌŒ^‹y‚ÑŽq—v‘f‚̏oŒ»‡˜‚𐧌䂷‚éŠÈ’P‚È•¶–@‚Æ‚·‚éB‚±‚Ì•¶–@‚́C&content-particle;(<nt def='NT-cp'>cp</nt>s)‚©‚ç‚È‚éB&content-particle;‚́C–¼‘OC&content-particle;‚Ì‘I‘ðƒŠƒXƒg–”‚Í&content-particle;‚Ì—ñƒŠƒXƒg‚©‚ç\¬‚³‚ê‚éB
<scrap lang='ebnf'><head>—v‘f“à—eƒ‚ƒfƒ‹</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>
‚±‚±‚ŁC<nt def='NT-Name'>Name</nt>‚́C<termref def="dt-parentchild">Žq</termref>‚Æ‚µ‚ďoŒ»‚µ‚Ä‚æ‚¢—v‘f‚ÌŒ^‚ðŽ¦‚·B‚±‚Ì•¶–@‚Å‘I‘ðƒŠƒXƒg‚ªŒ»‚ê‚éˆÊ’u‚ł́C‘I‘ðƒŠƒXƒg“à‚Ì‚¢‚¸‚ê‚Ì&content-particle;‚à<termref def="dt-elemcontent">—v‘f“à—e</termref>‚Ì’†‚ÉŒ»‚ê‚Ä‚æ‚¢B—ñƒŠƒXƒg‚ÉŒ»‚ê‚é&content-particle;‚́CƒŠƒXƒg‚ÅŽw’è‚·‚鏇”Ô‚Ì‚Æ‚¨‚è‚ɁC<termref def="dt-elemcontent">—v‘f“à—e</termref>‚ÉŒ»‚ê‚È‚¯‚ê‚΂Ȃç‚È‚¢B–¼‘O–”‚̓ŠƒXƒg‚ÌŒã‚ɏoŒ»‚·‚éƒIƒvƒVƒ‡ƒ“‚Ì•¶Žš<!-- –å”nFcharacter‚𕶎š‚Ɩ󂵂܂µ‚½ -->‚́CƒŠƒXƒg“à‚Ì—v‘f–”‚Í&content-particle;‚ªC1‰ñˆÈã”CˆÓ‚̉ñ”(<code>+</code>)C0‰ñˆÈã”CˆÓ‚̉ñ”(<code>*</code>)–”‚Í0‰ñŽá‚µ‚­‚Í1‰ñ(<code>?</code>)oŒ»‰Â”\‚È‚±‚Æ‚ð‹K’è‚·‚éB‚±‚±‚ÅŽ¦‚·\•¶‹y‚шӖ¡‚́C‚±‚Ì&TR-or-Rec;‚É‚¨‚¯‚鐶¬‹K‘¥‚Å—p‚¢‚é‚à‚Ì‚Æ“¯ˆê‚Æ‚·‚éB</p>
<!-- –å”nFã‚Ì•¶‚ł́Cgname–”‚Ílist‚ÌŒã‚É‘±‚­•¶Žšh‚ªglist‚̏oŒ»‚ð‹K’è‚·‚éh‚Æ‚ ‚Á‚āCname‚̏oŒ»‚ð‹K’è‚·‚é‚Ƃ͏‘‚¢‚Ä‚ ‚è‚Ü‚¹‚ñBC³‚ª•K—v‚ƍl‚¦‚Ü‚·B -->
<p>—v‘f‚Ì“à—e‚ª“à—eƒ‚ƒfƒ‹‚É&match;‚·‚é‚̂́C—ñC‘I‘ð‹y‚ÑŒJ•Ô‚µ‰‰ŽZŽq‚É‚µ‚½‚ª‚Á‚āC“à—e‚Ì’†‚Ì—v‘f‚Æ“à—eƒ‚ƒfƒ‹“à‚Ì—v‘fŒ^‚Æ‚ð&match;‚³‚¹‚È‚ª‚çC“à—eƒ‚ƒfƒ‹“à‚̈ê‚‚̃pƒX‚ð‚½‚Ç‚ê‚é‚Æ‚«‚ÉŒÀ‚éB<termref def='dt-compat'>ŒÝŠ·«‚Ì‚½‚ß</termref>C•¶‘“à‚Ì—v‘f‚ªC“à—eƒ‚ƒfƒ‹‚É‚¨‚¯‚é—v‘fŒ^‚Ì•¡”‚̏oŒ»ˆÊ’u‚Æ&match;‚·‚邱‚Ƃ́C&error;‚Æ‚·‚éBÚ×‚È‹K’è‚ɂ‚¢‚ẮC•‘®‘‚Ì<titleref xml-link="simple" href="determinism">Œˆ’è“I“à—eƒ‚ƒfƒ‹</titleref>‚̍€‚ðŽQÆB
<!-- appendix <specref ref="determinism"/>. -->
<!-- appendix on deterministic content models. -->
</p>
<vcnote id='vc-PEinGroup'>
<head>ƒOƒ‹[ƒv‹y‚уpƒ‰ƒƒ^ŽÀ‘Ì‚ªŒµ–§‚È“ü‚êŽq‚ð‚È‚µ‚Ä‚¢‚邱‚Æ</head>
<p>ƒpƒ‰ƒƒ^ŽÀ‘Ì‚Ì<termref def='dt-repltext'>&replacement-text;</termref>‚́C&parenthesis;‚ň͂܂ꂽƒOƒ‹[ƒv‚É‚æ‚Á‚āCŒµ–§‚È“ü‚êŽq‚ð\¬‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B‚‚܂èC<nt def='NT-choice'>‘I‘ð</nt>C<nt def='NT-seq'>—ñ</nt>–”‚Í<nt def='NT-Mixed'>¬Ý</nt>•”•i‚ɁC&left-parenthesis;–”‚Í&right-parenthesis;‚Ì‚¢‚¸‚ê‚©ˆê•û‚ª<termref def='dt-PERef'>ƒpƒ‰ƒƒ^ŽÀ‘Ì</termref>‚Ì&replacement-text;‚ÉŠÜ‚ê‚ê‚΁C‘¼•û‚à“¯‚¶&replacement-text;‚ÉŠÜ‚Ü‚ê‚È‚¯‚ê‚΂Ȃç‚È‚¢B</p>
<p><termref def='dt-interop'>‘ŠŒÝ‰^—p«‚Ì‚½‚ß</termref>Cƒpƒ‰ƒƒ^ŽÀ‘ÌŽQÆ‚ª<nt def='NT-choice'>‘I‘ð</nt>C<nt def='NT-seq'>—ñ</nt>–”‚Í<nt def='NT-Mixed'>¬Ý</nt>“à—e‚ÉŠÜ‚Ü‚ê‚ê‚΁C‚»‚Ì&replacement-text;‚Í‹ó‚Å‚È‚¢‚±‚Æ‚ª–]‚Ü‚µ‚­C&replacement-text;‚̐擪‹y‚Ñ––”ö‚Ì‹ó”’‚Å‚È‚¢•¶Žš‚́CƒRƒlƒNƒ^(<code>|</code>–”‚Í<code>,</code>)‚Å‚È‚¢•û‚ª‚æ‚¢B
</p>
</vcnote>
<p>—v‘f“à—eƒ‚ƒfƒ‹‚Ì‚¢‚­‚‚©‚Ì—á‚ðCŽŸ‚ÉŽ¦‚·B
<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'>‚ ‚é—v‘fŒ^‚Ì—v‘f“à‚ɁC<termref def="dt-parentchild">Žq</termref>—v‘f‚ɍ¬Ý‚µ‚Ä•¶Žšƒf[ƒ^‚ªŠÜ‚Ü‚ê‚é‰Â”\«‚ª‚ ‚é‚Æ‚«C‚»‚Ì—v‘f<termref def='dt-stag'>Œ^</termref>‚́C<term>&mixed-content;</term>‚ð‚à‚‚Ƃ¢‚¤B</termdef>‚±‚̏ꍇCŽq—v‘f‚ÌŒ^‚ɂ‚¢‚Ă̐§–ñ‚ª‘¶Ý‚µ‚Ä‚à‚æ‚¢<!-- –å”nFgmay be constrainedh‚ð’P‚Ɂu§–ñ‚³‚ê‚év‚Ɩ󂵂܂µ‚½B -->‚ªCŽq—v‘f‚̏‡˜–”‚͏oŒ»‰ñ”‚ɂ‚¢‚Ă̐§–ñ‚Í‚È‚¢‚Æ‚·‚éB
<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>
‚±‚±‚ŁC<nt def='NT-Name'>Name</nt>‚́CŽq‚Æ‚µ‚ďoŒ»‚µ‚Ä‚à‚æ‚¢—v‘f‚ÌŒ^‚ðŽ¦‚·B
</p>
<vcnote id='vc-MixedChildrenUnique'>
<head>—v‘fŒ^‚̏d•¡‚Ì‹ÖŽ~</head>
<p>ˆê‚‚Ì&mixed-content;éŒ¾“à‚ɁC“¯‚¶–¼‘O‚ª•¡”‰ñoŒ»‚µ‚Ä‚Í‚È‚ç‚È‚¢B
</p></vcnote>
<p>&mixed-content;éŒ¾‚Ì—á‚ðCŽŸ‚ÉŽ¦‚·B
<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>‘®«ƒŠƒXƒgéŒ¾</head>
<p>
<termref def="dt-attr">‘®«</termref>‚́C–¼‘O‹y‚Ñ’l‚̑΂ð<termref def="dt-element">—v‘f</termref>‚ÉŠÖ˜A•t‚¯‚邽‚ß‚É—p‚¢‚éB‘®«Žw’è‚́C<termref def="dt-stag">ŠJŽnƒ^ƒO</termref>–”‚Í<termref def="dt-eetag">‹ó—v‘f</termref>ƒ^ƒO“à‚Å‚¾‚¯‰Â”\‚Æ‚·‚éB‚µ‚½‚ª‚Á‚āC‘®«‚ð”FŽ¯‚·‚邽‚߂̐¶¬‹K‘¥‚́C<titleref href='sec-starttags'>ŠJŽnƒ^ƒO</titleref>‚ɂ‚¢‚Ä‚Ì‹K’è‚ÅŽ¦‚·B‘®«ƒŠƒXƒgéŒ¾‚́CŽŸ‚Ì–Ú“I‚Å—p‚¢‚éB
<ulist>
<item><p>a) ‚ ‚é—v‘fŒ^‚É“K—p‚·‚é‘®«‚̏W‡‚ð‹K’è‚·‚éB</p></item>
<item><p>b) ‘®«‚Ö‚ÌŒ^§–ñ‚ðÝ’è‚·‚éB</p></item>
<item><p>c) ‘®«‚Ì<termref def="dt-default">&default-value;</termref>‚ð‹K’è‚·‚éB</p></item>
</ulist>
</p>
<p>
<termdef id="dt-attdecl" term="Attribute-List Declaration">
<term>‘®«ƒŠƒXƒgéŒ¾</term>‚́C‚ ‚é—v‘fŒ^‚ÆŠÖ˜A•t‚¯‚ç‚ꂽŠe‘®«‚ɑ΂µC–¼‘OCƒf[ƒ^Œ^‹y‚Ñ(‘¶Ý‚·‚ê‚Î)&default-value;‚ð‹K’è‚·‚éB
<scrap lang='ebnf'>
<head>‘®«ƒŠƒXƒgéŒ¾</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>‹K‘¥‚É‘¶Ý‚·‚é<nt def="NT-Name">Name</nt>‚́C—v‘fŒ^‚Ì–¼‘O‚Æ‚·‚éB&at-user-option;CéŒ¾‚µ‚Ä‚¢‚È‚¢—v‘fŒ^‚ɑ΂µ‘®«‚ðéŒ¾‚µ‚½‚È‚ç‚΁CXML&processor;‚́CŒx‚ðo‚µ‚Ä‚à‚æ‚¢B‚µ‚©‚µC‚±‚ê‚Í&error;‚Æ‚Í‚µ‚È‚¢B
<nt def='NT-AttDef'>AttDef</nt>‹K‘¥‚É‚¨‚¯‚é<nt def='NT-Name'>Name</nt>‚́C‘®«‚Ì–¼‘O‚Æ‚·‚éB
</termdef>
</p>
<p>
‚ ‚é—v‘f‚ɑ΂µ‚āC•¡”‚Ì<nt def='NT-AttlistDecl'>AttlistDecl</nt>‚ð—^‚¦‚éê‡C‚±‚ê‚ç‚·‚ׂĂ̓à—e‚̓}[ƒW‚·‚éB‚ ‚é—v‘fŒ^‚Ì“¯‚¶‘®«‚ɁC•¡”‚Ì’è‹`‚ð—^‚¦‚éê‡‚ɂ́CÅ‰‚̐錾‚ð—LŒø‚Æ‚µC‘¼‚̐錾‚Í–³Ž‹‚·‚éB<termref def='dt-interop'>‘ŠŒÝ‰^—p«‚Ì‚½‚ß‚É</termref>CDTD‚̍쐬ŽÒ‚́C‚ ‚é—v‘fŒ^‚ɂ͍‚Xˆê‚‚̑®«ƒŠƒXƒgéŒ¾‚µ‚©—^‚¦‚È‚¢C‚ ‚é‘®«–¼‚ɂ͍‚Xˆê‚‚̑®«’è‹`‚µ‚©—^‚¦‚È‚¢C‹y‚Ñ‚·‚ׂĂ̑®«ƒŠƒXƒgéŒ¾‚ɂ͏­‚È‚­‚Æ‚àˆê‚‚̑®«’è‹`‚ð—^‚¦‚éC‚Æ‚¢‚¤‘I‘ð‚ð‚µ‚Ä‚à‚æ‚¢B‘ŠŒÝ‰^—p«‚Ì‚½‚߂ɁCXML&processor;‚́C&at-user-option;C‚ ‚é—v‘fŒ^‚É•¡”‚Ì‘®«ƒŠƒXƒgéŒ¾‚ð—^‚¦‚½‚èC‚ ‚é‘®«‚É•¡”‚Ì‘®«’è‹`‚ð—^‚¦‚½‚肵‚½‚Æ‚«‚ɁCŒx‚ðo‚µ‚Ä‚à‚æ‚¢B‚µ‚©‚µC‚±‚ê‚́C&error;‚Æ‚Í‚µ‚È‚¢B
</p>
<div3 id='sec-attribute-types'>
<head>‘®«‚ÌŒ^</head>
<p>
XML‚Ì‘®«‚ÌŒ^‚́C‚RŽí—Þ‚Æ‚·‚éB‚±‚ê‚ç‚́C&string;Œ^C&token;‰»Œ^‹y‚Ñ—ñ‹“Œ^‚Æ‚·‚éB&string;Œ^‚́C’l‚Æ‚µ‚Ä”CˆÓ‚Ì&string;‚ð‚Æ‚éB&token;‰»Œ^‚́CŽŸ‚ÉŽ¦‚·Žš‹å‹y‚шӖ¡‚ÉŠÖ‚·‚é—lX‚Ȑ§–ñ‚ð‚à‚B
<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>
‚±‚ÌŒ^‚Ì’l‚́C¶¬‹K‘¥<code>Name</code>‚É&match;‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢Bˆê‚‚ÌXML•¶‘“à‚ł́Cˆê‚‚̖¼‘O‚ªC‚±‚ÌŒ^‚Ì’l‚Æ‚µ‚Ä•¡”‰ñŒ»‚ê‚Ä‚Í‚È‚ç‚È‚¢B‚‚܂èCID‚Ì’l‚́C—v‘f‚ðˆêˆÓ‚É&identify;‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B
</p>
</vcnote>
<vcnote id='one-id-per-el'>
<head>1—v‘f‚²‚Æ‚É1ID</head>
<p>
—v‘fŒ^‚́C•¡”‚ÌID‘®«’l‚ð‚à‚Á‚Ä‚Í‚È‚ç‚È‚¢B
</p>
</vcnote>
<vcnote id='id-default'>
<head>ID‘®«‚Ì&default;</head>
<p>
ID‘®«‚́C&default;‚Æ‚µ‚āC<code>#IMPLIED</code>–”‚Í<code>#REQUIRED</code>‚ðéŒ¾‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B
</p>
</vcnote>
<vcnote id='idref'>
<head>IDREF</head>
<p>
<kw>IDREF</kw>Œ^‚Ì’l‚́C¶¬‹K‘¥<nt def="NT-Name">Name</nt>‚É&match;‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B<kw>IDREFS</kw>Œ^‚Ì’l‚́C¶¬‹K‘¥<nt def="NT-Names">Names</nt>‚É&match;‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢BŠeX‚Ì<nt def='NT-Name'>Name</nt>‚́CXML•¶‘“à‚É‘¶Ý‚·‚é—v‘f‚ÌID‘®«‚Ì’l‚Æ&match;‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B‚‚܂èC<kw>IDREF</kw>‚Ì’l‚́C‚ ‚éID‘®«‚Ì’l‚Æ&match;‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B
</p>
</vcnote>
<vcnote id='entname'>
<head>ŽÀ‘Ì–¼</head>
<p>
<kw>ENTITY</kw>Œ^‚Ì’l‚́C¶¬‹K‘¥<nt def="NT-Name">Name</nt>‚É&match;‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B<kw>ENTITIES</kw>Œ^‚Ì’l‚́C¶¬‹K‘¥<nt def="NT-Names">Names</nt>‚É&match;‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢BŠeX‚Ì<nt def="NT-Name">Name</nt>‚́C<termref def="dt-doctype">DTD</termref>‚Ő錾‚·‚é<termref def="dt-unparsed">&unparsed-entity;</termref>‚Æ&match;‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B
</p>
</vcnote>
<vcnote id='nmtok'>
<head>–¼‘O&token;</head>
<p>
<kw>NMTOKEN</kw>Œ^‚Ì’l‚́C”ñI’[‹L†<termref def="NT-Nmtoken">Nmtoken</termref>‚Æ&match;‚·‚é&string;‚©‚ç\¬‚³‚ê‚È‚¯‚ê‚΂Ȃç‚È‚¢B<kw>NMTOKENS</kw>Œ^‚Ì’l‚́C”ñI’[‹L†<termref def="NT-Nmtokens">Nmtokens</termref>‚Æ&match;‚·‚é&string;‚©‚ç\¬‚³‚ê‚È‚¯‚ê‚΂Ȃç‚È‚¢B
</p>
</vcnote>
<p>
XML&processor;‚́C&application;‚É‘®«’l‚ð“n‚·‘O‚ɁC<titleref href="AVNormalize">‘®«’l‚̐³‹K‰»</titleref>‚Å‹K’è‚·‚é‚Æ‚¨‚è‚ɁC‘®«’l‚𐳋K‰»‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B
</p>
<p>
<termdef id='dt-enumerated' term='Enumerated Attribute Values'><term>—ñ‹“Œ^‚Ì‘®«</term>‚́CéŒ¾‚µ‚½’l‚̈ê‚‚ðŽæ‚邱‚Æ‚ª‚Å‚«‚éB</termdef>—ñ‹“Œ^‚ɂ́C2Ží—Þ‚ ‚éB
<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>‹L–@‘®«</head>
<p>‚±‚ÌŒ^‚Ì’l‚́CéŒ¾‚µ‚Ä‚¢‚é<titleref href='Notations'>‹L–@</titleref>‚Ì–¼‘O‚̈ê‚‚Æ&match;‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B‚‚܂èCéŒ¾‚É‘¶Ý‚·‚é‹L–@–¼‚́C‚·‚ׂĐ錾‚³‚ê‚Ä‚¢‚È‚¯‚ê‚΂Ȃç‚È‚¢B
</p>
</vcnote>
<vcnote id='enum'>
<head>—ñ‹“</head>
<p>
‚±‚ÌŒ^‚Ì’l‚́CéŒ¾‚É‘¶Ý‚·‚é<nt def='NT-Nmtoken'>Nmtoken</nt>&token;‚̈ê‚‚Æ&match;‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B
</p>
</vcnote>
<p>
<termref def='dt-interop'>‘ŠŒÝ‰^—p«‚Ì‚½‚ß</termref>C“¯‚¶<nt def='NT-Nmtoken'>Nmtoken</nt>‚́C’Pˆê—v‘fŒ^‚Ì—ñ‹“Œ^‚Ì‘®«‚Æ‚µ‚āC•¡”‰ñŒ»‚ê‚È‚¢•û‚ª‚æ‚¢B
</p>
</div3>
<div3 id='sec-attr-defaults'>
<head>‘®«‚Ì&default;</head>
<p>
<termref def="dt-attdecl">‘®«éŒ¾</termref>‚́C‘®«‚ÌŽw’肪•K{‚©‚Ç‚¤‚©‚ɂ‚¢‚Ă̏î•ñ‚ð—^‚¦‚éB•K{‚Å‚È‚¢ê‡‚ɂ́C•¶‘“à‚Å‘®«‚ðŽw’肵‚È‚¢‚Æ‚«CXML&processor;‚̏ˆ—•û–@‚̏î•ñ‚à—^‚¦‚éB
<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;‚́CéŒ¾‚µ‚½‘®«Œ^‚ÌŽš‹å§–ñ‚ð–ž‚½‚³‚È‚¯‚ê‚΂Ȃç‚È‚¢B
</p>
</vcnote>
<p>
<kw>#REQUIRED</kw>‚ðŽw’肵‚½‚Æ‚«C‚±‚Ì—v‘fŒ^‚Ì<termref def="dt-stag">ŠJŽnƒ^ƒO</termref>‚Å‚ ‚Á‚āC‚±‚Ì‘®«‚É’l‚ð—^‚¦‚È‚¢‚à‚Ì‚ðXML&processor;‚ªŒ©‚‚¯‚½‚È‚ç‚΁C‚»‚Ì•¶‘‚Í<termref def="dt-valid">&valid;</termref>‚Æ‚Í‚µ‚È‚¢B<kw>#IMPLIED</kw>‚ðŽw’肵‚½‚Æ‚«C‚±‚Ì‘®«‚ðÈ—ª‚µ‚½‚çCXML&processor;‚́C‘®«’l‚ðŽw’肵‚È‚¢‚±‚Æ‚ðƒAƒvƒŠƒP[ƒVƒ‡ƒ“‚É“`‚¦‚È‚¯‚ê‚΂Ȃç‚È‚¢B‚±‚Ì‚Æ‚«C&application;‚̐U•‘‚¢‚ɂ‚¢‚Ă̐§–ñ‚Í‚È‚¢B
</p>
<p>
<termdef id="dt-default" term="Attribute Default">
‘®«‚ª<kw>#REQUIRED</kw>‚Å‚à<kw>#IMPLIED</kw>‚Å‚à‚È‚¢‚Æ‚«‚ɂ́C<nt def='NT-AttValue'>AttValue</nt>‚Ì’l‚ªC<term>&default-value;</term>‚Æ‚È‚éB<kw>#FIXED</kw>‚̏ꍇC&default-value;‚ƈقȂé’l‚ªŽw’肳‚ê‚ê‚΁C‚»‚Ì•¶‘‚́C<termref def="dt-valid">&valid;</termref>‚Æ‚µ‚È‚¢B&default-value;‚ðéŒ¾‚µ‚Ä‚¢‚éê‡C‚±‚Ì‘®«‚̏ȗª‚ðŒ©‚Â‚¯‚½‚çCéŒ¾‚µ‚½&default-value;‚𑮐«’l‚ÉŽw’肵‚Ä‚¢‚é‚Æ‚µ‚āCXML&processor;‚͐U‚é•‘‚¤‚±‚Æ‚ª–]‚Ü‚µ‚¢B
</termdef></p>
<p>‘®«ƒŠƒXƒgéŒ¾‚Ì—á‚ðCŽŸ‚ÉŽ¦‚·B
<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>‘®«’l‚̐³‹K‰»</head>
<p>
XML&processor;‚́C‘®«’l‚ð&application;‚É“n‚·‘O‚ɁCŽŸ‚Ì‚Æ‚¨‚è‚ɐ³‹K‰»‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B
<ulist>
<item>
<p>a) ‚Ü‚¸C‘®«’l‹y‚Ñ‚»‚Ì’†‚ÌŽÀ‘Ì“à‚ŁCs–––”‚͍s‹«ŠE(–”‚̓VƒXƒeƒ€‚É‚æ‚Á‚Ă̓ŒƒR[ƒh‹«ŠE)‚Æ‚µ‚ÄŽg‚í‚ê‚é&string;‚ðC&space-character;(#x20)ˆê‚‚ɒu‚«Š·‚¦‚È‚¯‚ê‚΂Ȃç‚È‚¢(u<titleref xml-link="simple" href="sec-line-ends">s––‚̈µ‚¢</titleref>v‚àŽQÆ‚Ì‚±‚ƁB)B
</p></item>
<item>
<p>b) ŽŸ‚ɁC•¶ŽšŽQÆ‹y‚Ñ“à•”&parsed-entity;‚Ö‚ÌŽQÆ‚́C“WŠJ‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢BŠO•”ŽÀ‘Ì‚Ö‚ÌŽQÆ‚́C&error;‚Æ‚·‚éB
</p></item>
<item>
<p>c) ÅŒã‚ɁC‘®«‚ÌŒ^‚ª<kw>CDATA</kw>‚Å‚È‚¯‚ê‚΁C‹ó”’&string;‚́C‚·‚ׂÄ&space-character;(#x20)ˆê‚‚ɐ³‹K‰»‚µCŽc‚è‚Ì‹ó”’•¶Žš‚́Cíœ‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B
</p></item>
</ulist>
&non-validating;&parser;‚́CéŒ¾‚ªŒ©‚‚©‚ç‚È‚¢‘®«‚́C‚·‚ׂāC<kw>CDATA</kw>‚ðéŒ¾‚µ‚Ä‚¢‚é‚Æ‚µ‚Ĉµ‚¤‚±‚Æ‚ª–]‚Ü‚µ‚¢B</p>
</div3>
</div2>
<div2 id='sec-condition-sect'>
<head>ðŒ•t‚«ƒZƒNƒVƒ‡ƒ“</head>
<p>
<termdef id='dt-cond-section' term='conditional section'>
<term>ðŒ•t‚«ƒZƒNƒVƒ‡ƒ“</term>‚Ƃ́C<termref def='dt-doctype'>•¶‘Œ^éŒ¾‚ÌŠO•”&subset;</termref>‚̈ꕔ‚Æ‚µC§ŒäƒL[ƒ[ƒh‚ÌŽw’è‚É‚æ‚Á‚āCDTD‚̘_—\‘¢‚ÉŠÜ‚ß‚½‚èCœ‚¢‚½‚è‚·‚é•”•ª‚Æ‚·‚éB
</termdef>
<scrap lang='ebnf'>
<head>ðŒ•t‚«ƒZƒNƒVƒ‡ƒ“</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>ðŒ•t‚«ƒZƒNƒVƒ‡ƒ“‚́CDTD‚Ì“à•”&subset;‹y‚ÑŠO•”&subset;‚Æ“¯—l‚ɁCŠ®‘S‚Ȑ錾CƒRƒƒ“ƒg–”‚Í“ü‚êŽq‚É‚È‚Á‚½ðŒ•t‚«ƒZƒNƒVƒ‡ƒ“‚ðC‚¢‚­‚‚©ŠÜ‚ñ‚Å‚æ‚¢B‚±‚ê‚ç‚̊ԂɁC‹ó”’‚ªŒ»‚ê‚Ä‚à‚æ‚¢B
</p>
<p>
ðŒ•t‚«ƒZƒNƒVƒ‡ƒ“‚̃L[ƒ[ƒh‚ª<code>INCLUDE</code>‚È‚ç‚΁CXML&processor;‚́C‚±‚ÌðŒ•t‚«ƒZƒNƒVƒ‡ƒ“‚Ì“à—e‚ðC•¶‘‚̈ꕔ‚Æ‚µ‚Ĉµ‚í‚È‚¯‚ê‚΂Ȃç‚È‚¢BðŒ•t‚«ƒZƒNƒVƒ‡ƒ“‚̃L[ƒ[ƒh‚ª<code>IGNORE</code>‚È‚ç‚΁C‚»‚ÌðŒ•t‚«ƒZƒNƒVƒ‡ƒ“‚Ì“à—e‚́C•¶‘‚̈ꕔ‚Æ‚µ‚Ĉµ‚í‚È‚¢B\•¶‰ðÍ‚𐳂µ‚­s‚¤‚½‚߂ɂ́C–³Ž‹‚·‚éðŒ•t‚«ƒZƒNƒVƒ‡ƒ“(IGNORE)‚ÉŠÖ‚µ‚Ä‚àC“à—e‚ð“Ç‚Ü‚È‚¯‚ê‚΂Ȃç‚È‚¢‚±‚Æ‚É’ˆÓ‚·‚邱‚ƁB‚±‚ê‚́C“ü‚êŽq‚É‚È‚Á‚½ðŒ•t‚«ƒZƒNƒVƒ‡ƒ“‚ðŒ©‚Â‚¯C(–³Ž‹‚·‚é)Å‚àŠO‘¤‚ÌðŒ•t‚«ƒZƒNƒVƒ‡ƒ“‚𐳂µ‚­ŒŸo‚·‚邽‚ß‚Æ‚·‚éBƒL[ƒ[ƒh‚ð<code>INCLUDE</code>‚Æ‚·‚鏬‚³‚ÈðŒ•t‚«ƒZƒNƒVƒ‡ƒ“‚ªCƒL[ƒ[ƒh‚ð<code>IGNORE</code>‚Æ‚·‚é‚æ‚è‘å‚«‚ÈðŒ•t‚«ƒZƒNƒVƒ‡ƒ“‚ÉŠÜ‚Ü‚ê‚é‚È‚ç‚΁CŠO‘¤‹y‚Ñ“à‘¤‚ÌðŒ•t‚«ƒZƒNƒVƒ‡ƒ“‚Ì—¼•û‚Æ‚à–³Ž‹‚·‚éB
</p>
<p>
ðŒ•t‚«ƒZƒNƒVƒ‡ƒ“‚̃L[ƒ[ƒh‚ªƒpƒ‰ƒƒ^ŽÀ‘ÌŽQÆ‚È‚ç‚΁CXML&processor;‚ÍðŒ•t‚«ƒZƒNƒVƒ‡ƒ“‚̈µ‚¢‚ð”»’f‚·‚é‘O‚ɁC‚±‚̃pƒ‰ƒƒ^ŽÀ‘Ì‚ð“WŠJ‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B
</p>
<p>—á‚ðŽŸ‚ÉŽ¦‚·B
<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•¶‘‚́Cˆê‚ˆȏã‚Ì‹L‰¯’PˆÊ‚©‚ç\¬‚·‚éB‚±‚Ì‹L‰¯’PˆÊ‚ðC<term>ŽÀ‘Ì</term>‚Æ‚¢‚¤BŽÀ‘̂́C<term>“à—e</term>‚ð‚à‚¿C•¶‘ŽÀ‘Ì(ˆÈ~ŽQÆ)‹y‚Ñ<termref def='dt-doctype'>ŠO•”DTD&subset;</termref>‚ðœ‚¢‚āC<term>–¼‘O</term>‚Å&identified;B
</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 -->ŠeXML•¶‘‚́C<termref def="dt-docent">•¶‘ŽÀ‘Ì</termref>‚ƌĂԎÀ‘Ì‚ðˆê‚‚à‚B<termref def="dt-xml-proc">XML&processor;</termref>‚́C‚±‚Ì•¶‘ŽÀ‘Ì‚©‚珈—‚ðŠJŽn‚·‚éB•¶‘ŽÀ‘Ì‚ªC•¶‘‚Ì‚·‚ׂĂðŠÜ‚ñ‚Å‚à‚æ‚¢B</p>
<p>ŽÀ‘̂́C&parsed-entity;–”‚Í&unparsed-entity;‚Æ‚·‚éB<termdef id="dt-parsedent" term="Text Entity"><term>&parsed-entity;</term>‚Ì“à—e‚́C&parsed-entity;‚Ì<termref def='dt-repltext'>&replacement-text;</termref>‚ƌĂԁB‚±‚Ì<termref def="dt-text">ƒeƒLƒXƒg</termref>‚́C•¶‘‚Ì–{‘̂̈ꕔ‚Æ‚µ‚ĉðŽß‚·‚éB
</termdef>
</p>
<p>
<termdef id="dt-unparsed" term="Unparsed Entity">
<term>&unparsed-entity;</term>‚́C“à—e‚ª<termref def='dt-text'>ƒeƒLƒXƒg</termref>‚Å‚à‚»‚¤‚Å‚È‚­‚Æ‚à‚æ‚¢ƒŠƒ\[ƒX‚Æ‚·‚éBƒeƒLƒXƒg‚̏ꍇCXML‚Å‚È‚­‚Æ‚à‚æ‚¢BŠe&unparsed-entity;‚ɂ́C<termref def="dt-notation">‹L–@</termref>‚ªŠÖ˜A•t‚¯‚ç‚êC‚±‚Ì‹L–@‚́C–¼‘O‚Å&identified;B‹L–@‚Ì–¼‘O‹y‚ÑŠÖ˜A•t‚¯‚ç‚ꂽ&identifier;‚ðCXML&processor;‚ª&application;‚É“n‚·‚Æ‚¢‚¤—vŒˆÈŠO‚́CXML‚́C&unparsed-entity;‚Ì“à—e‚𐧌À‚µ‚È‚¢B
</termdef>
</p>
<p>&parsed-entity;‚́CŽÀ‘ÌŽQÆ‚É‚æ‚Á‚Ä–¼‘O‚ŌĂяo‚·B&unparsed-entity;‚́C<kw>ENTITY</kw>Œ^–”‚Í<kw>ENTITIES</kw>Œ^‚Ì‘®«‚Ì’l‚Æ‚µ‚āC–¼‘O‚ÅŽQÆ‚·‚éB</p>
<p>
<termdef id='gen-entity' term='general entity'><term>ˆê”ÊŽÀ‘Ì</term>‚́C•¶‘“à—e‚Ì’†‚ÅŽg—p‚·‚é&parsed-entity;‚Æ‚·‚éB‚ ‚¢‚Ü‚¢‚É‚È‚ç‚È‚¢ŒÀ‚èC‚±‚Ì&TR-or-Rec;‚ł́Cˆê”ÊŽÀ‘Ì‚ð’P‚É<emph>ŽÀ‘Ì</emph>‚ƌĂԁB</termdef><termdef id='dt-PE' term='Parameter entity'>ƒpƒ‰ƒƒ^ŽÀ‘̂́CDTD“à‚ÅŽg—p‚·‚é&parsed-entity;‚Æ‚·‚éB</termdef>‚±‚ê‚ç‚Ì‚QŽí—Þ‚ÌŽÀ‘̂́CˆÙ‚Ȃ鏑Ž®‚ÅŽQÆ‚µCˆÙ‚Ȃ镶–¬‚Å”FŽ¯‚·‚éB</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>•¶ŽšŽQÆ‹y‚ÑŽÀ‘ÌŽQÆ</head>
<p>
<termdef id="dt-charref" term="Character Reference">
<term>•¶ŽšŽQÆ</term>‚́CISO/IEC 10646•¶ŽšW‡‚Ì“Á’è‚Ì•¶ŽšC—Ⴆ‚΁C“ü—Í‹@Ší‚©‚ç’¼Ú“ü—Í•s‰Â”\‚È•¶Žš‚ðŽQÆ‚·‚éB
<scrap lang='ebnf'>
<head>•¶ŽšŽQÆ</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>•¶ŽšŽQÆ‚ÅŽQÆ‚·‚镶Žš‚́C”ñI’[‹L†<termref def="NT-Char">Char</termref>‚ɏ]‚í‚È‚¯‚ê‚΂Ȃç‚È‚¢B</p>
</wfcnote>
•¶Žš‚ª "<code>&amp;#x</code>" ‚ÅŽn‚Ü‚ê‚΁CI’[‚Ì "<code>;</code>" ‚܂ł̐”Žš‹y‚уAƒ‹ƒtƒ@ƒxƒbƒg‚́CISO/IEC 10646 ‚Ì•¶ŽšƒR[ƒh‚Ì16i”•\Œ»‚Æ‚·‚éB
<!--“ú–{Œê–ó‚ɂ‚¢‚Ä: letter‚̓Aƒ‹ƒtƒ@ƒxƒbƒg‚Ɩ󂵂½B ŽOD -->
•¶Žš‚ª "<code>&amp;#</code>" ‚ÅŽn‚Ü‚ê‚΁CI’[‚Ì "<code>;</code>" ‚܂ł̐”Žš‚́C•¶ŽšƒR[ƒh‚Ì10i”•\Œ»‚Æ‚·‚éB
</termdef>
</p>
<p>
<termdef id="dt-entref" term="Entity Reference">
<term>ŽÀ‘ÌŽQÆ</term>‚́C–¼‘O‚Ì•t‚¢‚½ŽÀ‘Ì‚Ì“à—e‚ðŽQÆ‚·‚éB</termdef><termdef id='dt-GERef' term='General Entity Reference'>ˆê”ÊŽÀ‘Ì‚Ö‚ÌŽQÆ‚́CƒAƒ“ƒpƒTƒ“ƒh(<code>&amp;</code>)‹y‚уZƒ~ƒRƒƒ“(<code>;</code>)‚ð‹æØ‚èŽq‚Æ‚µ‚Ä—p‚¢‚éB</termdef><termdef id='dt-PERef' term='Parameter-entity reference'><term>ƒpƒ‰ƒƒ^ŽÀ‘Ì</term>‚Ö‚ÌŽQÆ‚́Cƒp[ƒZƒ“ƒg‹L†(<code>%</code>)‹y‚уZƒ~ƒRƒƒ“(<code>;</code>)‚ð‹æØ‚èŽq‚Æ‚µ‚Ä—p‚¢‚éB
</termdef>
</p>
<scrap lang="ebnf">
<head>ŽÀ‘ÌŽQÆ</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‚ð‚à‚½‚È‚¢•¶‘Cƒpƒ‰ƒƒ^ŽÀ‘ÌŽQÆ‚ðŠÜ‚Ü‚È‚¢“à•”DTD&subset;‚¾‚¯‚ð‚à‚•¶‘C–”‚Í "<code>standalone='yes'</code>" ‚ð‚à‚•¶‘‚É‚¨‚¢‚āCŽÀ‘ÌŽQÆ‚Å—p‚¢‚é <nt def='NT-Name'>Name</nt> ‚́C‚»‚ÌŽÀ‘̂̐錾‚Å—^‚¦‚é–¼‘O‚ƁC<termref def="dt-match">&match;</termref>‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B‚½‚¾‚µC&well-formed;‚Ì•¶‘‚́CŽÀ‘Ì&magicents; ‚ðéŒ¾‚·‚é•K—v‚Í‚È‚¢Bƒpƒ‰ƒƒ^ŽÀ‘̂̏ꍇ‚́CéŒ¾‚́CŽQÆ‚ɐæs‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B“¯—l‚ɁCˆê”ÊŽÀ‘̂̏ꍇ‚́C‘®«ƒŠƒXƒgéŒ¾‚Ì&default-value;“à‚Å‚ÌŽQÆ‚æ‚èæ‚ɁCéŒ¾‚ªŒ»‚ê‚È‚¯‚ê‚΂Ȃç‚È‚¢B</p>
<p>ŠO•”&subset;–”‚ÍŠO•”ƒpƒ‰ƒƒ^ŽÀ‘Ì‚ÅŽÀ‘Ì‚ðéŒ¾‚·‚é‚Æ‚«C&non-validating;&processor;‚ªCéŒ¾‚ð“ǂ݁Cˆ—‚·‚邱‚Æ‚ð<titleref href='include-if-valid'>‹`–±‚¯‚È‚¢</titleref>B‚»‚ê‚ç‚Ì•¶‘‚ł́CŽÀ‘̂͐錾‚³‚ê‚È‚¯‚ê‚΂Ȃç‚È‚¢‚Æ‚¢‚¤‹K‘¥‚́C&well-formed;§–ñ‚Å‚Í‚È‚¢B
</p>
</wfcnote>
<vcnote id="vc-entdeclared">
<head>ŽÀ‘Ì‚ªéŒ¾‚³‚ê‚Ä‚¢‚邱‚Æ</head>
<p>
ŠO•”&subset;–”‚ÍŠO•”ƒpƒ‰ƒƒ^ŽÀ‘Ì‚ð‚à‚Á‚Ä‚¢‚āC"<code>standalone='no'</code>"‚ð‚à‚•¶‘‚É‚¨‚¢‚āCŽÀ‘ÌŽQÆ‚Å—p‚¢‚é <nt def='NT-Name'>Name</nt> ‚́C‚»‚ÌŽÀ‘̂̐錾‚Å—^‚¦‚é–¼‘O‚Æ<termref def="dt-match">&match;</termref>‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B‘ŠŒÝ‰^—p«‚Ì‚½‚߁C&valid;‚È•¶‘‚Í<titleref href="sec-escapes">‚ ‚ç‚©‚¶‚ß’è‹`‚µ‚½ŽÀ‘Ì‚Ì‹K’è</titleref>‚ÅŽw’肵‚½‘Ž®‚É‚æ‚Á‚āCŽÀ‘Ì &magicents;‚ðéŒ¾‚·‚邱‚Æ‚ª–]‚Ü‚µ‚¢Bƒpƒ‰ƒƒ^ŽÀ‘̂̏ꍇ‚́CéŒ¾‚́CŽQÆ‚ɐæs‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B“¯—l‚ɁCˆê”ÊŽÀ‘̂̏ꍇ‚́C‘®«ƒŠƒXƒgéŒ¾‚Ì&default-value;“à‚Å‚ÌŽQÆ‚æ‚è‚àæ‚ɁCéŒ¾‚ªŒ»‚ê‚È‚¯‚ê‚΂Ȃç‚È‚¢B
</p>
</vcnote>
<!-- FINAL EDIT: is this duplication too clumsy? -->
<wfcnote id='textent'>
<head>&parsed-entity;</head>
<p>
ŽÀ‘ÌŽQÆ‚́C<termref def="dt-unparsed">&unparsed-entity;</termref>‚Ì–¼‘O‚ðŠÜ‚ñ‚Å‚¢‚Ä‚Í‚È‚ç‚È‚¢B&unparsed-entity;‚́C<kw>ENTITY</kw>Œ^–”‚Í<kw>ENTITIES</kw> Œ^‚Æ‚µ‚Đ錾‚µ‚½<termref def="dt-attrval">‘®«’l</termref>‚Æ‚µ‚Ä‚¾‚¯ŽQÆ‚Å‚«‚éB
</p>
</wfcnote>
<wfcnote id='norecursion'>
<head>Ä‹A‚È‚µ</head>
<p>&parsed-entity;‚́C‚»‚ꎩ‘Ì‚Ö‚ÌŽQÆ‚ðC’¼Ú‚É‚àŠÔÚ‚É‚àŠÜ‚ñ‚Å‚Í‚È‚ç‚È‚¢B</p>
</wfcnote>
<wfcnote id='indtd'>
<head>DTD‚Ì’†</head>
<p>
ƒpƒ‰ƒƒ^ŽÀ‘ÌŽQÆ‚́C<termref def='dt-doctype'>DTD</termref>“à‚É‚¾‚¯CoŒ»‚µ‚Ä‚æ‚¢B
<!--
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>
•¶ŽšŽQÆ‹y‚ÑŽÀ‘ÌŽQÆ‚Ì—á‚ðCŽŸ‚ÉŽ¦‚·B
<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>
ƒpƒ‰ƒƒ^ŽÀ‘ÌŽQÆ‚Ì—á‚ðCŽŸ‚ÉŽ¦‚·B
<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">
ŽÀ‘̂́CŽŸ‚Ì‚Æ‚¨‚è‚ɐ錾‚·‚éB
<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>ƒpƒ‰ƒƒ^ŽÀ‘Ì</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>ƒpƒ‰ƒƒ^ŽÀ‘Ì</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> ‚́C<termref def="dt-entref">ŽÀ‘ÌŽQÆ</termref>‚É‚¨‚¢‚ÄŽÀ‘Ì‚ð&identify;B&unparsed-entity;‚È‚ç‚΁C<kw>ENTITY</kw> Œ^–”‚Í<kw>ENTITIES</kw>Œ^‚Ì‘®«’l“à‚ŁCŽÀ‘Ì‚ð&identify;B“¯ˆê‚ÌŽÀ‘Ì‚ªˆê‰ñˆÈãéŒ¾‚³‚ê‚ê‚΁CÅ‰‚̐錾‚ð—p‚¢‚éB&at-user-option;C•¡”‰ñéŒ¾‚³‚ê‚éŽÀ‘Ì‚ÉŠÖ‚µCXML&processor;‚́CŒx‚ðo‚µ‚Ä‚à‚æ‚¢B
</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>‚Ì‚Æ‚«C‚±‚ê‚ð<term>“à•”ŽÀ‘Ì</term>‚Æ‚¢‚¤B‚±‚ê‚́C•ÊŒÂ‚Ì•¨—“I‹L‰¯’PˆÊ‚ð‚à‚½‚¸CŽÀ‘Ì‚Ì“à—e‚́CéŒ¾“à‚Å—^‚¦‚éB</termdef>³‚µ‚­<termref def='dt-repltext'>&replacement-text;</termref>‚𐶐¬‚·‚é‚ɂ́C<termref def='dt-litentval'>&literal;ŽÀ‘Ì’l</termref>“à‚Å‚ÌŽÀ‘ÌŽQÆ‹y‚Ñ•¶ŽšŽQÆ‚̏ˆ—‚ªC•K—v‚Æ‚È‚é‚©‚à‚µ‚ê‚È‚¢‚±‚Æ‚É’ˆÓ‚·‚éBÚ×‚́C<titleref href='intern-replacement'>“à•”ŽÀ‘Ì‚Ì&replacement-text;‚̍\’z</titleref>‚ðŽQÆB
<!-- 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>
“à•”ŽÀ‘̂́C<termref def="dt-parsedent">&parsed-entity;</termref>‚Æ‚·‚éB
</p>
<p>“à•”ŽÀ‘̐錾‚Ì—á‚ðCŽŸ‚ÉŽ¦‚·B
<eg>&lt;!ENTITY Pub-Status "This is a pre-release of the specification."></eg></p>
</div3>
<div3 id='sec-external-ent'>
<head>ŠO•”ŽÀ‘Ì</head>
<p>
<termdef id="dt-extent" term="External Entity">
ŽÀ‘Ì‚ª“à•”ŽÀ‘Ì‚Å‚È‚¯‚ê‚΁C<term>ŠO•”ŽÀ‘Ì</term>‚Æ‚µCŽŸ‚Ì‚Æ‚¨‚è‚ɐ錾‚·‚éB
<scrap lang='ebnf'>
<head>ŠO•”ŽÀ‘̐錾</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> ‚ª‘¶Ý‚·‚ê‚΁C‚±‚ÌŽÀ‘̂́C<termref def="dt-unparsed">&unparsed-entity;</termref>‚Æ‚µC‚»‚¤‚Å‚È‚¯‚ê‚΁C&parsed-entity;‚Æ‚·‚éB</termdef>
</p>
<vcnote id='not-declared'>
<head>‹L–@‚ªéŒ¾‚³‚ê‚Ä‚¢‚邱‚Æ</head>
<p>
<nt def='NT-Name'>Name</nt> ‚́CéŒ¾‚µ‚½<termref def="dt-notation">‹L–@</termref>‚Ì–¼‘O‚Æ&match;‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B
</p>
</vcnote>
<p>
<termdef id="dt-sysid" term="System Identifier">
ƒL[ƒ[ƒh <kw>SYSTEM</kw> ‚ÌŒã‚Ì <nt def='NT-SystemLiteral'>SystemLiteral</nt> ‚ðCŽÀ‘Ì‚Ì<term>ƒVƒXƒeƒ€&identifier;</term>‚ƌĂԁB‚±‚ê‚ÍURI‚Æ‚µC‚»‚ÌŽÀ‘Ì‚Ì“à—e‚ðŽæ‚èo‚·‚Ì‚É—p‚¢‚Ä‚à‚æ‚¢B</termdef>URI‚Æ‹¤‚ÉŽg‚¤‚±‚Æ‚Ì‘½‚¢ƒnƒbƒVƒ…("<code>#</code>")‹y‚уtƒ‰ƒOƒƒ“ƒg&identifier;‚́C³Ž®‚ɂ́CURIŽ©‘̂̈ꕔ‚Æ‚Í‚µ‚È‚¢Bƒtƒ‰ƒOƒƒ“ƒg&identifier;‚ªCƒVƒXƒeƒ€&identifier;‚Ì•”•ª‚Æ‚µ‚Ä—^‚¦‚ç‚ê‚Ä‚¢‚éê‡CXML&processor;‚́C&error;‚ðo‚µ‚Ä‚à‚æ‚¢B‚±‚Ì&TR-or-Rec;‚͈̔͊O‚̏î•ñ(—Ⴆ‚΁C‚ ‚é“Á’è‚ÌDTD‚Ì“Á•Ê‚ÈXML—v‘f–”‚Í“Á’è‚Ì&application;‚ÌŽd—l‚É‚æ‚Á‚Ä’è‹`‚³‚ꂽˆ—–½—ß)‚É‚æ‚Á‚ď㏑‚«‚³‚ê‚È‚¢ŒÀ‚èC‘Š‘ΓI‚ÈURI‚́C‚»‚ÌŽÀ‘̂̈ʒuC‚·‚È‚í‚¿C‚»‚ÌŽÀ‘̂̐錾‚ª‚ ‚éƒtƒ@ƒCƒ‹‚É‘Š‘ΓI‚Æ‚·‚éB‚µ‚½‚ª‚Á‚āCDTD‚Ì“à•”&subset;‚É‚ ‚éŽÀ‘̐錾‚Å‚Ì‘Š‘ΓI‚ÈURI‚́C•¶‘‚̈ʒu‚ɂ‚¢‚Ä‘Š‘ΓI‚Æ‚·‚éBŠO•”&subset;‚É‚ ‚éŽÀ‘̐錾‚Å‚Ì‘Š‘ΓI‚ÈURI‚́C‚»‚ÌŠO•”&subset;‚ðŠÜ‚Þƒtƒ@ƒCƒ‹‚̈ʒu‚É‘Š‘ΓI‚Æ‚·‚éB
</p>
<p>
<termdef id="dt-pubid" term="Public identifier">
ƒVƒXƒeƒ€&identifier;ˆÈŠO‚ɁCŠO•”ŽÀ‘̂́C<term>ŒöŠJ&identifier;</term>‚ðŠÜ‚ñ‚Å‚à‚æ‚¢B
</termdef>
ŽÀ‘Ì‚Ì“à—e‚ðŽæ‚èo‚·XML&processor;‚́C‚±‚ÌŒöŠJ&identifier;‚ð—p‚¢‚āC‘ã‚í‚è‚ÌURI‚̐¶¬‚ðŽŽ‚Ý‚Ä‚à‚æ‚¢BXML&processor;‚ª‚±‚ê‚ÉŽ¸”s‚µ‚½ê‡‚́CƒVƒXƒeƒ€&literal;‚Æ‚µ‚ÄŽw’肵‚½URI‚ð—p‚¢‚È‚¯‚ê‚΂Ȃç‚È‚¢B&match;‚·‚é‘O‚ɁCŒöŠJ&identifier;“à‚É‚ ‚é‹ó”’•¶Žš‚©‚ç‚È‚é&string;‚́C‚·‚ׂĒPˆê‚Ì&space-character;(#x20)‚ɐ³‹K‰»‚µ‚È‚¯‚ê‚΂Ȃ炸C‘OŒã‚Ì‹ó”’•¶Žš‚͍폜‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B
</p>
<p>ŠO•”ŽÀ‘̐錾‚Ì—á‚ðCŽŸ‚ÉŽ¦‚·B
<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>ƒeƒLƒXƒgéŒ¾</head>
<p>ŠO•”&parsed-entity;‚́C<term>ƒeƒLƒXƒgéŒ¾</term>‚ÅŽn‚Ü‚Á‚Ä‚à‚æ‚¢B
<scrap lang='ebnf'>
<head>ƒeƒLƒXƒgéŒ¾</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>ƒeƒLƒXƒgéŒ¾‚́C‚»‚Ì‚Ü‚Ü‚ÌŒ`‚ÅŒ»‚ê‚È‚¯‚ê‚΂Ȃ炸C&parsed-entity;‚Ö‚ÌŽQÆ‚ðŒo—R‚µ‚Ä‚Í‚È‚ç‚È‚¢‚±‚Æ‚É’ˆÓ‚·‚éB</p>
<p>ŠO•”&parsed-entity;‚É‚¨‚¢‚āCƒeƒLƒXƒgéŒ¾‚́Cæ“ªˆÈŠO‚Ì‚¢‚©‚È‚éˆÊ’u‚É‚àoŒ»‚µ‚È‚¢B</p>
</div3>
<div3 id='wf-entities'>
<head>&well-formed;‚Ì&parsed-entity;</head>
<p>ƒ‰ƒxƒ‹<nt def='NT-document'>document</nt>‚ð‚à‚¶¬‹K‘¥‚É&match;‚·‚ê‚΁C•¶‘ŽÀ‘̂́C&well-formed;‚Æ‚·‚éBƒ‰ƒxƒ‹<nt def='NT-ExtParsedEnt'>ExtParsedEnt</nt>‚ð‚à‚¶¬‹K‘¥‚É&match;‚·‚ê‚΁CŠO•”‚̈ê”Ê&parsed-entity;‚́C&well-formed;‚Æ‚·‚éBƒ‰ƒxƒ‹<nt def='NT-ExtPE'>ExtPE</nt>‚ð‚à‚¶¬‹K‘¥‚É&match;‚·‚ê‚΁CŠO•”ƒpƒ‰ƒƒ^ŽÀ‘̂́C&well-formed;‚Æ‚·‚éB
<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;‚ªCƒ‰ƒxƒ‹<nt def='NT-content'>content</nt>‚ð‚à‚¶¬‹K‘¥‚É&match;‚·‚ê‚΁C“à•”‚̈ê”Ê&parsed-entity;‚́C&well-formed;‚Æ‚·‚éBDTD‚ðÅŒã‚܂œǂݍž‚Ü‚È‚¢‚ƁCŠmŽÀ‚É‚±‚ê‚ð”»’è‚Å‚«‚È‚¢‚±‚Æ‚É’ˆÓB‚·‚×‚Ä‚Ì“à•”‚̃pƒ‰ƒƒ^ŽÀ‘̂́C’è‹`‚É‚æ‚Á‚Ä&well-formed;‚Æ‚·‚éB
</p>
<p>ŽÀ‘Ì‚ª&well-formed;‚ÈŒ‹‰Ê‚Æ‚µ‚āCXML•¶‘‚̘_—“I‹y‚Ñ•¨—“I\‘¢‚́C³‚µ‚­“ü‚êŽq‚Æ‚È‚éB<termref def='dt-stag'>ŠJŽnƒ^ƒO</termref>C<termref def='dt-etag'>I—¹ƒ^ƒO</termref>C<termref def="dt-empty">‹ó—v‘fƒ^ƒO</termref>C<termref def='dt-element'>—v‘f</termref>C<termref def='dt-comment'>ƒRƒƒ“ƒg</termref>C<termref def='dt-pi'>ˆ—–½—ß</termref>C<termref def='dt-charref'>•¶ŽšŽQÆ</termref>‹y‚Ñ<termref def='dt-entref'>ŽÀ‘ÌŽQÆ</termref>‚ªCˆê‚‚̎À‘Ì‚ÅŠJŽn‚µC•Ê‚ÌŽÀ‘̂ŏI—¹‚·‚邱‚Æ‚Í‚È‚¢B</p>
</div3>
<div3 id='charencoding'>
<head>ŽÀ‘Ì‚É‚¨‚¯‚镶Žš•„†‰»</head>
<p>XML•¶‘“à‚ÌŠO•”&parsed-entity;‚́CŠeXC•Ê‚Ì•¶Žš•„†‰»•ûŽ®‚ð—p‚¢‚Ä‚à‚æ‚¢B‚·‚ׂĂÌXML&processor;‚́CUTF-8‚Å•„†‰»‚µ‚½ŽÀ‘́CUTF-16‚Å•„†‰»‚µ‚½ŽÀ‘Ì‚ðˆ—‚Å‚«‚È‚¯‚ê‚΂Ȃç‚È‚¢B
<!--
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‚Å•„†‰»‚µ‚½ŽÀ‘̂́CISO/IEC 10646‚Ì•t˜^E‹y‚ÑUnicode‚Ì•t˜^B‚Å‹K’è‚·‚é&byte-order-mark;(ZERO WIDTH NO-BREAK SPACE•¶ŽšC#xFEFF)‚ÅŽn‚Ü‚ç‚È‚¯‚ê‚΂Ȃç‚È‚¢B‚±‚ê‚́C•„†‰»‚Ì•WŽ¯‚Å‚ ‚Á‚āCXML•¶‘‚Ì&markup;‚̈ꕔ‚Å‚àC•¶Žšƒf[ƒ^‚̈ꕔ‚Å‚à‚È‚¢BXML&processor;‚́CUTF-8‚Å•„†‰»‚µ‚½•¶‘‚ÆUTF-16‚Å•„†‰»‚µ‚½•¶‘‚Æ‚Ì‹æ•Ê‚ðs‚¤‚½‚߂ɁC‚±‚Ì•¶Žš‚ðŽg—p‰Â”\‚Å‚È‚¯‚ê‚΂Ȃç‚È‚¢B</p>
<p>XML&processor;‚́CUTF-8‹y‚ÑUTF-16‚Å•„†‰»‚µ‚½ŽÀ‘Ì‚¾‚¯‚ð“Ç‚Þ‚±‚Æ‚ð•K{‚Æ‚·‚邪C‘¼‚Ì•„†‰»‚𐢊E‚Å‚Í—p‚¢‚Ä‚¨‚èC‚»‚ê‚ç‚Ì•„†‰»‚ð—p‚¢‚éŽÀ‘Ì‚ðXML&processor;‚ªˆ—‚Å‚«‚邱‚Æ‚ª–]‚Ü‚µ‚¢BUTF-8–”‚ÍUTF-16ˆÈŠO‚Ì•„†‰»•ûŽ®‚ð—p‚¢‚ÄŠi”[‚·‚é&parsed-entity;‚́C•„†‰»éŒ¾‚ðŠÜ‚Þ<titleref href='TextDecl'>ƒeƒLƒXƒgéŒ¾</titleref>‚ÅŽn‚ß‚È‚¯‚ê‚΂Ȃç‚È‚¢B
<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>ƒ‰ƒeƒ“•¶Žš‚¾‚¯‚ðŠÜ‚Þ•„†‰»–¼</com>
</prod>
</scrap>
<termref def='dt-docent'>•¶‘ŽÀ‘Ì</termref>‚ł́C•„†‰»éŒ¾‚́C<termref def="dt-xmldecl">XMLéŒ¾</termref>‚̈ꕔ‚Æ‚·‚éB<nt def="NT-EncName">EncName</nt>‚́CŽg—p‚·‚é•„†‰»•ûŽ®‚Ì–¼‘O‚Æ‚·‚éB
</p>
<!-- FINAL EDIT: check name of IANA and charset names -->
<p>•„†‰»éŒ¾‚ł́C’l<code>UTF-8</code>C<code>UTF-16</code>C<code>ISO-10646-UCS-2</code>‹y‚Ñ<code>ISO-10646-UCS-4</code>‚́CUnicode‹y‚ÑISO/IEC 10646‚ÌŠeŽí•„†‰»‚Ì‚½‚ß‚É—p‚¢‚éB’l<code>ISO-8859-1</code>‚©‚ç<code>ISO-8859-9</code>‚܂ł́CISO 8859‚̑Ήž‚·‚éƒp[ƒg‚Ì‚½‚ß‚É—p‚¢‚éB’l<code>ISO-2022-JP</code>C<code>Shift_JIS</code>‹y‚Ñ<code>EUC-JP</code>‚́CJIS X-0208-1997‚ÌŠeŽí•„†‰»‚Ì‚½‚ß‚É—p‚¢‚éBXML&processor;‚́C‚»‚êˆÈŠO‚Ì•„†‰»•ûŽ®‚ð”FŽ¯‚µ‚Ä‚à‚æ‚¢BInternet Assigned Numbers Authority (IANA)‚ɁC(<emph>charset</emph>s‚Æ‚µ‚Ä)“o˜^‚³‚ꂽ•¶Žš•„†‰»•ûŽ®‚ɂ‚¢‚ẮC‚±‚ê‚çˆÈŠO‚ɂ‚¢‚Ä‚àC“o˜^‚³‚ꂽ–¼‘O‚ÅŽQÆ‚·‚邱‚Æ‚ª–]‚Ü‚µ‚¢B‚±‚ê‚ç‚Ì“o˜^‚³‚ꂽ–¼‘O‚́C‘啶ŽšE¬•¶Žš‚Ì‹æ•Ê‚ð‚¹‚¸‚É’è‹`‚³‚ê‚Ä‚¢‚é‚̂ŁC‚±‚ê‚ç‚ɑ΂·‚é”äŠr‚ðŽŽ‚Ý‚é&processor;‚́C‘啶ŽšE¬•¶Žš‚Ì‹æ•Ê‚ð‚µ‚È‚¢•û–@‚ð‚Æ‚é‚Ì‚ª–]‚Ü‚µ‚¢‚±‚Æ‚É’ˆÓ‚·‚éB</p>
<p>XMLˆ—Œn‚É“n‚³‚ꂽŽÀ‘Ì‚ªC•„†‰»éŒ¾‚ðŠÜ‚Þ‚É‚à‚©‚©‚í‚炸CéŒ¾‚ÅŽ¦‚µ‚½‚à‚̈ȊO‚Ì•ûŽ®‚Å•„†‰»‚³‚ê‚Ä‚¢‚½‚èC•„†‰»éŒ¾‚ªCŠO•”ŽÀ‘̂̍ŏ‰ˆÈŠO‚̈ʒu‚ɏoŒ»‚·‚ê‚΁C<termref def="dt-error">&error;</termref>‚Æ‚·‚éB
</p>
<p>&byte-order-mark;‚Å‚à•„†‰»éŒ¾‚Å‚àŽn‚Ü‚ç‚È‚¢ŽÀ‘̂́CUTF-8•„†‰»‚Å‚È‚¯‚ê‚΂Ȃç‚È‚¢B</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;‚ª”­Œ©‚µ‚½‚Æ‚«‚́C&application;‚É‚»‚ÌŽ–ŽÀ‚ð’Ê’m‚µC<termref def='dt-fatal'>&fatal-error;</termref>‚Æ‚µ‚āCˆ—‚ðI—¹‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B
<!--
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>•„†‰»éŒ¾‚Ì—á‚ðCŽŸ‚ÉŽ¦‚·B
<eg>&lt;?xml encoding='UTF-8'?>
&lt;?xml encoding='EUC-JP'?></eg></p>
</div3>
</div2>
<div2 id='entproc'>
<head>XML&processor;‚É‚æ‚éŽÀ‘Ì‹y‚ÑŽQÆ‚̈µ‚¢</head>
<p>ŽŸ‚Ì•\‚́C•¶ŽšŽQÆCŽÀ‘ÌŽQÆ‹y‚Ñ&unparsed-entity;‚̌ďo‚µ‚ªŒ»‚ê‚镶–¬‹y‚ÑŠeX‚̏ꍇ‚É‚¨‚¯‚é<termref def='dt-xml-proc'>XML&processor;</termref>‚É—v‹‚·‚éU•‘‚¢‚ð—v–ñ‚·‚éBˆê”ԍ¶‚Ì—ñ‚̃‰ƒxƒ‹‚́C”FŽ¯‚Ì•¶–¬‚ðŽ¦‚·B
<glist>
<gitem><label>“à—e‚É‚¨‚¯‚éŽQÆ</label>
<def><p>—v‘f‚Ì<termref def='dt-stag'>ŠJŽnƒ^ƒO</termref>‹y‚Ñ<termref def='dt-etag'>I—¹ƒ^ƒO</termref>‚ÌŠÔ‚Ì”CˆÓ‚̏ꏊ‚Å‚ÌŽQÆB”ñI’[‹L†<nt def='NT-content'>content</nt>‚ɑΉž‚·‚éB</p></def>
</gitem>
<gitem>
<label>‘®«’l‚É‚¨‚¯‚éŽQÆ</label>
<def><p><termref def='dt-stag'>ŠJŽnƒ^ƒO</termref>‚Ì‘®«‚Ì’lC–”‚Í<termref def='dt-attdecl'>‘®«éŒ¾</termref>‚É‚¨‚¯‚é&default-value;‚Ì‚¢‚¸‚ê‚©‚Å‚ÌŽQÆB”ñI’[‹L†<nt def='NT-AttValue'>AttValue</nt>‚ɑΉž‚·‚éB</p></def></gitem>
<gitem>
<label>‘®«’l‚Æ‚µ‚ďoŒ»</label>
<def><p>ŽQÆ‚Å‚Í‚È‚­C<nt def='NT-Name'>Name</nt>‚Æ‚µ‚ďoŒ»B<code>ENTITY</code>Œ^‚Æ‚µ‚Đ錾‚µ‚½‘®«‚Ì’lC–”‚Í<code>ENTITIES</code>Œ^‚Æ‚µ‚Đ錾‚µ‚½‘®«‚Ì’l‚É‚¨‚¯‚é&space;‚Å‹æØ‚é&token;‚̈ê‚‚Ƃµ‚ďoŒ»‚·‚éB</p>
</def></gitem>
<gitem><label>ŽÀ‘Ì’l‚É‚¨‚¯‚éŽQÆ</label>
<def><p>ŽÀ‘̂̐錾‚É‚¨‚¯‚éCƒpƒ‰ƒƒ^–”‚Í“à•”ŽÀ‘Ì‚Ì<termref def='dt-litentval'>&literal;ŽÀ‘Ì’l</termref>“à‚ÌŽQÆB”ñI’[‹L†<nt def='NT-EntityValue'>EntityValue</nt>‚ɑΉž‚·‚éB</p></def></gitem>
<gitem><label>DTD‚É‚¨‚¯‚éŽQÆ</label>
<def><p><termref def='dt-doctype'>DTD</termref>‚Ì“à•”&subset;–”‚ÍŠO•”&subset;‚Å‚ÌŽQÆB‚½‚¾‚µC<nt def='NT-EntityValue'>EntityValue</nt>–”‚Í<nt def="NT-AttValue">AttValue</nt>‚ÌŠO‘¤‚Æ‚·‚éB</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;'>ƒpƒ‰ƒƒ^</td>
<td bgcolor='&cellback;'>“à•”&newline;ˆê”Ê</td>
<td bgcolor='&cellback;'>ŠO•”&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'>“à—e‚Å‚Ì&newline;ŽQÆ</td>
<td bgcolor='&cellback;'><titleref href='not-recognized'>”FŽ¯&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'>‘®«’l‚Å‚Ì&newline;ŽQÆ</td>
<td bgcolor='&cellback;'><titleref href='not-recognized'>”FŽ¯&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'>‘®«’l‚Æ‚µ‚Ä&newline;oŒ»</td>
<td bgcolor='&cellback;'><titleref href='not-recognized'>”FŽ¯&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'>’Ê’m</titleref></td>
<td bgcolor='&cellback;'><titleref href='not recognized'>”FŽ¯&newline;‚µ‚È‚¢</titleref></td>
</tr>
<tr align='center' valign='middle'>
<td bgcolor='&cellback;' align='right'>ŽÀ‘Ì’l‚Å‚Ì&newline;ŽQÆ</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;ŽQÆ</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>g”FŽ¯‚µ‚È‚¢h</head>
<p>DTD‚ÌŠO‚ł́C<code>%</code>•¶Žš‚́C‚¢‚©‚È‚é“Á’è‚̈Ӗ¡‚àC‚à‚½‚È‚¢B‚µ‚½‚ª‚Á‚āCDTD‚ł̓pƒ‰ƒƒ^ŽÀ‘ÌŽQÆ‚Æ‚µ‚Ä”FŽ¯‚·‚é‚à‚Ì‚Å‚ ‚Á‚Ä‚àC<nt def='NT-content'>content</nt>“à‚Å‚Í&markup;‚Æ‚µ‚Ä‚Í”FŽ¯‚µ‚È‚¢B“¯—l‚ɁC“KØ‚ɐ錾‚µ‚½‘®«‚Ì’l‚Ì’†‚ÉŒ»‚ê‚éê‡‚ðœ‚«C&unparsed-entity;‚Ì–¼‘O‚́C”FŽ¯‚µ‚È‚¢B
</p>
</div3>
<div3 id='included'>
<head>gŽæž‚݁h</head>
<p><termdef id="dt-include" term="Include">ŽÀ‘̂́C‚»‚Ì<termref def='dt-repltext'>&replacement-text;</termref>‚ðŽæ‚èo‚µCˆ—‚·‚é‚ƁCŽQÆŽ©‘Ì‚Ì‘ã‚í‚è‚ɁCŽQÆ‚ª‚ ‚Á‚½ˆÊ’u‚ŁC•¶‘‚̈ꕔ‚Æ‚µ‚ÄŠÜ‚Ü‚ê‚é‚©‚̂悤‚É<term>Žæ‚荞‚Ü‚ê‚é</term>B&replacement-text;‚́C<termref def='dt-chardata'>•¶Žšƒf[ƒ^</termref>‹y‚Ñ(ƒpƒ‰ƒƒ^ŽÀ‘Ì‚ðœ‚­B)<termref def="dt-markup">&markup;</termref>‚Ì‚¢‚¸‚ê‚ðŠÜ‚ñ‚Å‚à‚æ‚­C‚±‚ê‚ç‚́C’ʏí‚Ì•û–@‚Å”FŽ¯‚³‚ê‚È‚¯‚ê‚΂Ȃç‚È‚¢B‚½‚¾‚µC&markup;‚Ì‹æØ‚èŽq‚ð&escape;‚·‚邽‚ß‚É—p‚¢‚éŽÀ‘Ì(&magicents;)‚Ì&replacement-text;‚́Cí‚Ƀf[ƒ^‚Æ‚µ‚Ĉµ‚¤(&string;"<code>AT&amp;amp;T;</code>"‚́C"<code>AT&amp;T;</code>"‚É“WŠJ‚³‚êCŽc‚³‚ꂽƒAƒ“ƒpƒTƒ“ƒh‚́CŽÀ‘ÌŽQÆ‚Ì‹æØ‚èŽq‚Æ‚µ‚Ä‚Í”FŽ¯‚µ‚È‚¢B)B•¶ŽšŽQÆ‚́CŽ¦‚µ‚½•¶Žš‚ðŽQÆŽ©‘Ì‚Ì‘ã‚í‚è‚ɏˆ—‚·‚é‚Æ‚«C<term>Žæ‚荞‚Ü‚ê‚é</term>B
</termdef></p>
</div3>
<div3 id='include-if-valid'>
<head>gŒŸØ‚Ì‚½‚߂Ɏ捞‚݁h</head>
<p>•¶‘‚Ì&validity;‚ð<termref def="dt-valid">ŒŸØ</termref>‚·‚é‚ɂ́CXML&processor;‚ª&parsed-entity;‚Ö‚ÌŽQÆ‚ð”FŽ¯‚µ‚½‚Æ‚«C‚»‚Ì&replacement-text;‚ð<termref def="dt-include">Žæ‚荞‚Ü</termref>‚È‚¯‚ê‚΂Ȃç‚È‚¢BŽÀ‘Ì‚ªŠO•”ŽÀ‘Ì‚Å‚ ‚Á‚āCXML•¶‘‚Ì&validity;‚ðŒŸØ‚µ‚È‚¯‚ê‚΁CŽÀ‘Ì‚Ì&replacement-text;‚ðŽæ‚荞‚ñ‚Å‚à<termref def="dt-may">‚æ‚¢</termref>‚ªC‚»‚¤‚µ‚È‚­‚Æ‚à‚æ‚¢B</p>
<p>‚±‚̎挈‚߂́CSGML‹y‚ÑXML‚ÌŽÀ‘Ì‚Ì‹@\‚ª’ñ‹Ÿ‚·‚鎩“®Žæž‚Ý‹@”\‚ªC•¶‘ì¬Žž‚̃‚ƒWƒ…[ƒ‹‰»‚ðŽå‚È–Ú“I‚Æ‚µ‚Đ݌v‚³‚ê‚Ä‚¨‚èC‚»‚Ì‘¼‚Ì&application;(“Á‚ɁC•¶‘‚̃uƒ‰ƒEƒY)‚ɂ́C•K‚¸‚µ‚à“KØ‚Å‚Í‚È‚¢C‚Æ‚¢‚¤”FŽ¯‚É‚æ‚éB—Ⴆ‚΁Cƒuƒ‰ƒEƒU‚ÍŠO•”&parsed-entity;‚Ö‚ÌŽQÆ‚ðŒ©‚Â‚¯‚é‚ƁC‚»‚ÌŽÀ‘Ì‚ª‘¶Ý‚·‚é‚Æ‚¢‚¤•\Ž¦‚¾‚¯‚ðs‚¢C•\Ž¦‚ð—v‹‚³‚ꂽ‚Æ‚«‚É‚¾‚¯C“à—e‚ðŽæ‚èo‚·‚©‚à‚µ‚ê‚È‚¢B
</p>
</div3>
<div3 id='forbidden'>
<head>g‹ÖŽ~h</head>
<p>ŽŸ‚Í‹ÖŽ~‚³‚ê‚Ä‚¨‚èC<termref def='dt-fatal'>&fatal-error;</termref>‚Æ‚·‚éB
<ulist>
<item><p>a) <termref def='dt-unparsed'>&unparsed-entity;</termref>‚Ö‚ÌŽQÆ‚̏oŒ»B
</p></item>
<item><p>b) DTD‚Ì<nt def='NT-EntityValue'>EntityValue</nt>–”‚Í<nt def="NT-AttValue">AttValue</nt>ˆÈŠO‚Ì•”•ª‚É‚¨‚¯‚éC•¶ŽšŽQÆ–”‚͈ê”ÊŽÀ‘Ì‚Ö‚ÌŽQÆ‚̏oŒ»B</p></item>
<item><p>c) ‘®«’l“à‚ÌŠO•”ŽÀ‘Ì‚Ö‚ÌŽQÆB</p>
</item>
</ulist>
</p>
</div3>
<div3 id='notify'>
<head>g’Ê’mh</head>
<p><termref def='dt-unparsed'>&unparsed-entity;</termref>‚Ì–¼‘O‚ªC<kw>ENTITY</kw>–”‚Í<kw>ENTITIES</kw>‚Ì‘®«‚Ì’l‚É‚¨‚¢‚Ä&token;‚Æ‚µ‚ÄŒ»‚ꂽ‚Æ‚«C&processor;‚́C&application;‚ɑ΂µ‚āCŠÖ˜A•t‚¯‚ç‚ꂽ<termref def="dt-notation">‹L–@</termref>–¼C‹L–@‚ɑ΂·‚é<termref def='dt-sysid'>ƒVƒXƒeƒ€</termref>&identifier;‹y‚Ñ(‘¶Ý‚·‚ê‚Î)<termref def='dt-pubid'>ŒöŠJ</termref>&identifier;‚ð’Ê’m‚µ‚È‚¯‚ê‚΂Ȃç‚È‚¢B</p>
</div3>
<div3 id='bypass'>
<head>g&bypass;h</head>
<p>ˆê”ÊŽÀ‘ÌŽQÆ‚ªCŽÀ‘̐錾‚É‚¨‚¯‚é<nt def='NT-EntityValue'>EntityValue</nt>“à‚ÉŒ»‚ê‚é‚Æ‚«C‚»‚ê‚Í–³Ž‹‚³‚êC‚»‚Ì‚Ü‚ÜŽc‚éB</p>
</div3>
<div3 id='as-PE'>
<head>gPE‚Æ‚µ‚Ď捞‚݁h</head>
<p>ŠO•”&parsed-entity;‚̏ꍇ‚Æ“¯—l‚ɁCƒpƒ‰ƒƒ^ŽÀ‘̂́C&validity;‚ð<titleref href='include-if-valid'>ŒŸØ‚·‚é‚Æ‚«‚¾‚¯Žæ‚荞‚Ü‚ê‚é</titleref>•K—v‚ª‚ ‚éBƒpƒ‰ƒƒ^ŽÀ‘ÌŽQÆ‚ðDTD“à‚É”FŽ¯‚µ‚ÄŽæ‚荞‚Þ‚Æ‚«C‚»‚Ì<termref def='dt-repltext'>&replacement-text;</termref>‚́C‚»‚Ì‘OŒã‚Ɉê‚‚Ì&space-character;(#x20)‚Ì•t‰Á‚É‚æ‚Á‚Ĉø‚«L‚΂³‚ê‚éB‚±‚̈Ӑ}‚́Cƒpƒ‰ƒƒ^ŽÀ‘Ì‚Ì&replacement-text;‚ªCDTD“à‚Ì‚¢‚­‚‚©‚Ì•¶–@“I&token;‚ðŠ®‘S‚Ɋ܂ނƁC§–ñ‚·‚邱‚Æ‚É‚ ‚éB
</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 choose to provide a visual indication of the entity's
presence and retrieve it for display only on demand.
</p></item>
</olist>
</p>
<p><termdef id="dt-escape" term="escape">Entity and character
references can both be used to <term>escape</term> the left angle bracket,
ampersand, and other delimiters. A set of general entities
(&magicents;) is specified for this purpose.
Numeric character references may also be used; they are
expanded immediately when recognized, and must be treated as
character data, so the numeric character references
"<code>&amp;#60;</code>" and "<code>&amp;#38;</code>" may be used to
escape <code>&lt;</code> and <code>&amp;</code> when they occur
in character data.</termdef></p>
</div3>
<d