blob: c05c5830a0c77bf38bfca54d95316ed297ec96d9 [file] [log] [blame]
<?xml version="1.0" encoding="euc-jp"?>
<!DOCTYPE spec SYSTEM "spec.dtd" [
<!-- ÆüËܸìÌõ¤Î¤¿¤á¤Î²òÀÏÂоݼÂÂΡʤ³¤³¤«¤é¡Ë -->
<!ENTITY TR-or-Rec "»ÅÍͽñ">
<!-- <!ENTITY TR-or-Rec "ɸ½à¾ðÊó(TR)"> -->
<!ENTITY eTR-or-Rec "specification">
<!-- <!ENTITY eTR-or-Rec "technical report(TR)"> -->
<!ENTITY application "¥¢¥×¥ê¥±¡¼¥·¥ç¥ó">
<!ENTITY error "¥¨¥é¡¼">
<!ENTITY fatal-error "Ã×̿Ū¥¨¥é¡¼">
<!ENTITY parsed-data "²òÀϤµ¤ì¤ë¥Ç¡¼¥¿">
<!ENTITY unparsed-data "²òÀϤµ¤ì¤Ê¤¤¥Ç¡¼¥¿">
<!ENTITY parsed-entity "²òÀÏÂоݼÂÂÎ">
<!ENTITY parser "¥Ñ¡¼¥µ">
<!ENTITY unparsed-entity "²òÀÏÂоݳ°¼ÂÂÎ">
<!ENTITY well-formed "À°·Á¼°">
<!ENTITY valid "ÂÅÅö">
<!ENTITY validity "ÂÅÅöÀ­">
<!ENTITY escape "ÊÌ°·¤¤">
<!ENTITY prolog "½ñ¤­">
<!ENTITY surrogate-blocks "¥µ¥í¥²¡¼¥È¥Ö¥í¥Ã¥¯">
<!ENTITY letter "»ú">
<!ENTITY ideographic "Åý¹ç´Á»ú">
<!ENTITY markup "¥Þ¡¼¥¯ÉÕ¤±">
<!ENTITY left-angle-bracket "ÉÔÅù¹æ(¾®¤Ê¤ê)">
<!ENTITY right-angle-bracket "ÉÔÅù¹æ(Âç¤Ê¤ê)">
<!ENTITY string "ʸ»úÎó">
<!ENTITY char-string "ʸ»úÎó"><!-- string of chararacters,
character strings, strings,
characters ¤Ï¤¹¤Ù¤Æʸ»úÎó¤È¤¹¤ë -->
<!ENTITY replacement-text "ÃÖ´¹¥Æ¥­¥¹¥È">
<!ENTITY single-quote "°ì½Å°úÍÑÉä">
<!ENTITY double-quote "Æó½Å°úÍÑÉä">
<!ENTITY adaptations-annex "ŬÍÑÉí°½ñ">
<!ENTITY root "¥ë¡¼¥È">
<!ENTITY base-character "´ðÄìʸ»ú">
<!ENTITY diacritical-mark "ȯ²»Éä"><!--(¥À¥¤¥¢¥¯¥ê¥Æ¥£¥«¥ë¥Þ¡¼¥¯)¤ò½é½Ð¤Î¤È¤­Ê䤦-->
<!ENTITY composed-form "¹çÀ®·Á¼°">
<!ENTITY standalone "¥¹¥¿¥ó¥É¥¢¥í¥ó">
<!ENTITY double-hyphen "ÆóÏ¢¥Ï¥¤¥Õ¥ó">
<!--<!ENTITY case-fold "Âçʸ»ú¤«¾®Ê¸»ú¤Ø¤ÎÅý°ì">-->
<!-- <!ENTITY case-fold "Èæ³Ó¤Î¤È¤­¡¤Âçʸ»ú¤È¾®Ê¸»ú¤ÎƱ°ì»ë">-->
<!ENTITY parameter "¥Ñ¥é¥á¥¿">
<!ENTITY stream "¥¹¥È¥ê¡¼¥à">
<!ENTITY validating "ÂÅÅöÀ­¤ò¸¡¾Ú¤¹¤ë">
<!ENTITY non-validating "ÂÅÅöÀ­¤ò¸¡¾Ú¤·¤Ê¤¤">
<!ENTITY user "¥æ¡¼¥¶">
<!--<!ENTITY at-user-option "¥æ¡¼¥¶¤¬¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¤È¤­">-->
<!ENTITY at-user-option "¥æ¡¼¥¶¤Î¥ª¥×¥·¥ç¥ó»ØÄê¤Ë¤è¤Ã¤Æ¤Ï">
<!ENTITY content-particle "ÆâÍÆÁÇ»Ò">
<!ENTITY processor "¥×¥í¥»¥µ">
<!ENTITY default "¥Ç¥Õ¥©¥ë¥È">
<!ENTITY default-value "¥Ç¥Õ¥©¥ë¥ÈÃÍ">
<!ENTITY header "¥Ø¥Ã¥À">
<!ENTITY target "¥¿¡¼¥²¥Ã¥È">
<!ENTITY mixed-content "º®¹çÆâÍÆ">
<!ENTITY country-code "¹ñ¥³¡¼¥É">
<!ENTITY language-code "¸À¸ì¥³¡¼¥É">
<!ENTITY version "ÈÇ"> <!-- version 1.0¤ÏÂè1.0ÈÇ -->
<!ENTITY match "¥Þ¥Ã¥Á">
<!ENTITY character-value "ʸ»úÈÖ¹æ">
<!ENTITY byte-order-mark "¥Ð¥¤¥È½ç¥Þ¡¼¥¯">
<!ENTITY bypass "½èÍý¤·¤Ê¤¤">
<!ENTITY identifier "¼±ÊÌ»Ò">
<!-- <!ENTITY identify "¼±Ê̤¹¤ë"> -->
<!ENTITY identify "ÆÃÄꤹ¤ë">
<!-- <!ENTITY identified "¼±Ê̤µ¤ì¤ë"> -->
<!ENTITY identified "ÆÃÄꤵ¤ì¤ë">
<!ENTITY combining-character "·ë¹çʸ»ú">
<!ENTITY subset "¥µ¥Ö¥»¥Ã¥È">
<!ENTITY token "¥È¡¼¥¯¥ó">
<!ENTITY literal "¥ê¥Æ¥é¥ë">
<!ENTITY parenthesis "¤«¤Ã¤³">
<!ENTITY left-parenthesis "³«¤­¤«¤Ã¤³">
<!ENTITY right-parenthesis "ÊĤ¸¤«¤Ã¤³">
<!-- ¤¢¤È¤Çµ¤¤¬¤Ä¤¤¤¿¤â¤Î JIS X0221¤ò¸«¤ëɬÍפ¢¤ê -->
<!ENTITY extender "¥¨¥¯¥¹¥Æ¥ó¥À">
<!ENTITY property "¥×¥í¥Ñ¥Æ¥£">
<!ENTITY property-list "¥×¥í¥Ñ¥Æ¥£¥ê¥¹¥È">
<!ENTITY property-file "¥×¥í¥Ñ¥Æ¥£¥Õ¥¡¥¤¥ë">
<!ENTITY font-decomposition "¥Õ¥©¥ó¥Èʬ²ò">
<!ENTITY compatibility-decomposition "¸ß´¹À­Ê¬²ò">
<!ENTITY compatibility-area "¸ß´¹À­Îΰè">
<!ENTITY language-identification "¸À¸ì¼±ÊÌ">
<!ENTITY space-character "¥¹¥Ú¡¼¥¹Ê¸»ú">
<!ENTITY space "¥¹¥Ú¡¼¥¹">
<!ENTITY code-value "¥³¡¼¥ÉÃÍ">
<!ENTITY normative "µ¬Äê¤Î">
<!ENTITY hueristics "¥Ò¥å¡¼¥ê¥¹¥Æ¥£¥Ã¥¯">
<!ENTITY informative "">
<!ENTITY WebSGML 'ISO 8879¤Ø¤ÎWebSGML&adaptations-annex;'>
<!ENTITY XML.version "1.0">
<!ENTITY doc.date "1997ǯ12·î8Æü">
<!ENTITY iso6.doc.date "971208">
<!ENTITY w3c.doc.date "97ǯ12·î3Æü">
<!ENTITY draft.day '8Æü'>
<!ENTITY draft.month '12·î'>
<!ENTITY draft.year '1997ǯ'>
<!-- ÆüËܸìÌõ¤Î¤¿¤á¤Î²òÀÏÂоݼÂÂΡʤ³¤³¤Þ¤Ç¡Ë -->
<!-- LAST TOUCHED BY: Tim Bray, 3 Dec 1997 -->
<!-- The words 'FINAL EDIT' in comments mark places where changes
need to be made after approval of the document by the ERB, before
publication. -->
<!ENTITY XML.version "1.0">
<!ENTITY doc.date "8 December 1997">
<!ENTITY iso6.doc.date "971208">
<!ENTITY w3c.doc.date "03-Dec-97">
<!ENTITY draft.day '8'>
<!ENTITY draft.month 'December'>
<!ENTITY draft.year '1997'>
<!ENTITY WebSGML
'WebSGML Adaptations Annex to ISO 8879'>
<!ENTITY newline " ">
<!-- old: <!ENTITY newline "&#8232;"> -->
<!ENTITY lt "<">
<!ENTITY gt ">">
<!--<!ENTITY amp "&"> -->
<!ENTITY xmlpio "'&lt;?xml'">
<!ENTITY pic "'?>'">
<!ENTITY br "\n">
<!ENTITY cellback '#c0d9c0'>
<!ENTITY mdash "--"> <!-- was: <!ENTITY mdash "&#38;#151;"> -->
<!ENTITY com "--">
<!ENTITY como "--">
<!ENTITY comc "--">
<!ENTITY hcro "&amp;#x">
<!-- <!ENTITY nbsp ""> -->
<!ENTITY nbsp "&#160;">
<!ENTITY magicents "<code>amp</code>,
<code>lt</code>,
<code>gt</code>,
<code>apos</code>,
<code>quot</code>">
<!--ÆüËܸìÌõ¤Ë¤Ä¤¤¤Æ: ¥³¥á¥ó¥È¤ÏËÝÌõÂоݤ«¤é³°¤·¤Þ¤·¤¿¡£ÎëÌÚÏÂÉ× -->
<!-- audience and distribution status: for use at publication time -->
<!-- -->
<!ENTITY doc.audience "¸ø³«¥ì¥Ó¥å¡¼µÚ¤ÓµÄÏÀ">
<!ENTITY doc.distribution "¥Æ¥­¥¹¥ÈµÚ¤ÓˡΧ¾å¤ÎÃí°Õ¤ò²þÊѤ·¤Ê¤¤¸Â¤ê¡¤
¼«Í³¤ËÇÛÉÛ¤·¤Æ¤â¤è¤¤">
]>
<!-- for Panorama *-->
<?VERBATIM "eg" ?>
<spec>
<header>
<title>³ÈÄ¥²Äǽ¤Ê&markup;¸À¸ì (XML)</title>
<version>Âè1.0&version;</version>
<w3c-designation>PR-xml-&iso6.doc.date;</w3c-designation>
<w3c-doctype>World Wide Web Consortium</w3c-doctype>
<pubdate><day>&draft.day;</day><month>&draft.month;</month><year>&draft.year;</year></pubdate>
<notice><p>¤³¤ÎÁð°Æ¤Ï¡¤XML WGµÚ¤Ó¾¤Î´Ø·¸¼Ô¤Ë¤è¤ë¥ì¥Ó¥å¡¼¤Î¤¿¤á¤Î¤â¤Î¤Ç¤¢¤Ã¤Æ¡¤¸ø³«¤ÎµÄÏÀ¤Î¤¿¤á¤Î¤â¤Î¤Ç¤Ï¤Ê¤¤¡£
<!-- FINAL EDIT: FIX --></p></notice>
<publoc>
<loc href="http://www.w3.org/TR/PR-xml-&iso6.doc.date;">
http://www.w3.org/TR/PR-xml-&iso6.doc.date;</loc></publoc>
<prevlocs>
<loc href='http://www.w3.org/TR/WD-xml-961114'>
http://www.w3.org/TR/WD-xml-961114</loc>
<loc href='http://www.w3.org/TR/WD-xml-lang-970331'>
http://www.w3.org/TR/WD-xml-lang-970331</loc>
<loc href='http://www.w3.org/TR/WD-xml-lang-970630'>
http://www.w3.org/TR/WD-xml-lang-970630</loc>
<loc href='http://www.w3.org/TR/WD-xml-970807'>
http://www.w3.org/TR/WD-xml-970807</loc>
<loc href='http://www.w3.org/TR/WD-xml-971117'>
http://www.w3.org/TR/WD-xml-971117</loc>
</prevlocs>
<authlist>
<author><name>Tim Bray</name>
<affiliation>Textuality and Netscape</affiliation>
<email
href="mailto:tbray@textuality.com">tbray@textuality.com</email></author>
<author><name>Jean Paoli</name>
<affiliation>Microsoft</affiliation>
<email href="mailto:jeanpa@microsoft.com">jeanpa@microsoft.com</email></author>
<author><name>C. M. Sperberg-McQueen</name>
<affiliation>University of Illinois at Chicago</affiliation>
<email href="mailto:cmsmcq@uic.edu">cmsmcq@uic.edu</email></author>
</authlist>
<status>
<p>¤³¤Î&TR-or-Rec;¤Ï, 1997ǯ12·î¤ËWorld Wide Web Consortium¤«¤é
¸øɽ¤µ¤ì¤¿´«¹ð°ÆExtensible Markup Language versionÂè1.0ÈǤòËÝÌõ¤·, µ»
½ÑŪÆâÍƤòÊѹ¹¤¹¤ë¤³¤È¤Ê¤¯ºîÀ®¤·¤¿&TR-or-Rec;¤Ç¤¢¤ë¡£This &eTR-or-Rec;
is a translation of the XML proposed recommendation 1.0
published by the World Wide Web Consortium in December 1997. It is
intended that &eTR-or-Rec; is technically identical to the original.</p>
<p>¸¶Ê¸¤Ë¤¢¤ë¡¢Ãøºî¸¢¤Ë´Ø¤·¤Æ¤Îµ­½Ò¤ò¼¡¤Ë¼¨¤¹¡£The
original copyright notice is shown below:</p>
<p>¤³¤ÎÈǤÎXML¤Îµ¬Äê¤Ï¡¤¸ø³«¥ì¥Ó¥å¡¼µÚ¤ÓµÄÏÀ¤ò
ÌÜŪ¤È¤¹¤ë¡£¥Æ¥­¥¹¥ÈµÚ¤ÓˡΧ¾å¤ÎÃí°Õ¤ò²þÊѤ·¤Ê¤¤¸Â¤ê¡¤¼«Í³¤Ë
ÇÛÉÛ¤·¤Æ¤â¤è¤¤¡£This version of the XML specification is for
public review and discussion. It may be distributed freely,
as long as all text and legal notices remain intact.</p>
<p>¤³¤Î&TR-or-Rec;¤Î¸µ¤È¤Ê¤Ã¤¿XML´«¹ð°Æ¤Ï¡¤1998ǯ2·î¤ËWorld
Wide Web Consortium¤«¤é¸øɽ¤µ¤ì¤¿XML´«¹ð¤Ë¤è¤Ã¤Æ¤¹¤Ç¤ËÃÖ¤­´¹
¤¨¤é¤ì¤Æ¤¤¤ë¡£¤³¤Îɸ½à¾ðÊó¤Ï¡¤XML´«¹ð¤Ë½¾¤Ã¤ÆÄûÀµ¤¹¤ë¤³¤È¤ò
ͽÄꤷ¤Æ¤¤¤ë¡£The XML Proposed Recommendation is superseded
by the XML Recommendation which was published by the World
Wide Web Consortium in February 1998. It is intended that
this &eTR-or-Rec; be revised accordingly in the near future.</p>
<p>¤³¤Î&TR-or-Rec;¤Ï¡¤°ÂÄꤷ¤¿¤â¤Î¤Ç¤¢¤Ã¤Æ¡¤ºòǯÍè¤Î<loc
href='http://www.w3.org/XML'>XML³èÆ°</loc>¤òÄ̤¸¤ÆºîÀ®¤µ¤ì¤¿¡¤°ìÏ¢¤Îºî
¶ÈÁð°Æ¤ò¸µ¤È¤¹¤ë¡£¸½ºß¡¤¹­ÈϰϤ˻ÈÍѤµ¤ì¤Æ¤¤¤ë¹ñºÝŪ¤Ê¥Æ¥­¥¹¥È½èÍý¤Îɸ
½à(ɸ½à°ìÈ̲½&markup;¸À¸ì¡¤Standard Generalized Markup Language, ISO
8879:1986¤ËÄɲõڤÓÄûÀµ¤ò²Ã¤¨¤¿¤â¤Î)¤Î¡¤WWW¾å¤Ç¤Î»ÈÍѤΤ¿¤á¤Ë&subset;
²½¤·¤¿¸À¸ì¤ò¡¤¤³¤Î&TR-or-Rec;¤Ï¡¤µ¬Äꤹ¤ë¡£ISO 8879¤Î¤É¤Îµ¡Ç½¤ò¤³¤Î
&subset;¤Ë»Ä¤¹¤«¡¤¤È¤¤¤¦·èÄê¤Ë¤Ä¤¤¤Æ¤Î¾ÜºÙ¤Ï¡¤<loc
href='http://www.w3.org/XML/#WG-decisions'>ÊÌÅÓÍÑ°Õ¤¹¤ë</loc>¡£XML¤Ï¡¤
´û¤Ë¤¤¤¯¤Ä¤«¤Î¾¦Éʤǥµ¥Ý¡¼¥È¤µ¤ì¡¤XML¤ò¥µ¥Ý¡¼¥È¤¹¤ë<loc
href='http://www.w3.org/XML/#software'>¥Õ¥ê¡¼¥¦¥§¥¢</loc>¤Î¿ô¤âÁý¤¨¤Æ
¤¤¤ë¡£XML¤Ë´Ø¤¹¤ë¸ø³«¤ÎÏÀµÄ¤â¡¤¥ª¥ó¥é¥¤¥ó¤Ç<loc
href='http://www.w3.org/XML/#discussion'>Æþ¼ê¤Ç¤­¤ë</loc>¡£It is a
stable document derived from a series of working drafts produced over
the last year as deliverables of the <loc
href='http://www.w3.org/XML'>XML activity</loc>. It specifies a
language created by subsetting an existing, widely used international
text processing standard (Standard Generalized Markup Language, ISO
8879:1986 as amended and corrected) for use on the World Wide Web.
Details of the decisions regarding which features of ISO 8879 to
retain in the subset <loc
href='http://www.w3.org/XML/#WG-decisions'>are available
separately</loc>. XML is already supported by some commercial
products, and there are a growing number of <loc
href='http://www.w3.org/XML/#software'>free implementations</loc>.
Public discussions of XML <loc
href='http://www.w3.org/XML/#discussion'>are accessible
online</loc>.</p>
<p>¤³¤Î&TR-or-Rec;¤Ç¤Ï¡¤<bibref ref="Berners-Lee"/>¤ËÄêµÁ¤¹¤ë
URI(Uniform Resource Identifier)¤ò»ÈÍѤ¹¤ë¡£URI¤ÎÀ©Äêºî¶È¤Ï¿Ê¹ÔÃæ¤Ç¤¢¤Ã
¤Æ¡¤<bibref ref="RFC1738"/>µÚ¤Ó<bibref ref="RFC1808"/>¤ò¹¹¿·¤¹¤ëͽÄê¤È
¤Ê¤Ã¤Æ¤¤¤ë¡£¤³¤Îºî¶È¤¬RFC¤È¤·¤Æ¼õ¤±Æþ¤ì¤é¤ì¤Ê¤¤¾ì¹ç¤Ï¡¤¤³¤Îµ¬ÄøÆâ¤ÎURI
¤Ø¤Î»²¾È¤Ï¡¤URL(Uniform Resource Locator)¤Ø¤Î»²¾È¤ËÂå¤ï¤ë¡£This
specification uses the term URI, which is defined by <bibref
ref="Berners-Lee"/>, a work in progress expected to update <bibref
ref="RFC1738"/> and <bibref ref="RFC1808"/>. Should the work not be
accepted as an RFC, the references to uniform resource identifiers
(URIs) in this specification will become references to uniform
resource locators (URLs).</p>
<p>XML¤Î»ÅÍͤ˽àµò¤·¤Æ¤¤¤ë¤«¤É¤¦¤«¤Î´ð½à¤È¤Ê¤ë¤ÏW3C¤Î¥µ¥¤¥È¤Ë¤¢
¤ë¸¶Ê¸¤Ç¤¢¤ë¡£The normative version of the specification is
the English version found at the W3C site.</p>
<p>¤³¤Îɸ½à¾ðÊó¤Ï¸¶»ÅÍͤȵ»½ÑŪ¤ËƱ°ì¤Ç¤¢¤ë¤³¤È¤ò°Õ¿Þ¤·¤Æ¤¤¤ë¤¬¡¢
ËÝÌõ¾å¤Î¸í¤ê¤Ï¤¢¤êÆÀ¤ë¡£Although this technical report is
intended to be technically identical to the original, it may
contain errors from the translation.</p>
<p>È÷¹Í: ¸¶µ¬Äê¤È¤Îµ¬Äê²Õ½ê¤ÎÂбþ´Ø·¸¤òÌÀ¤é¤«¤Ë¤¹¤ë¤¿¤á¡¢¤³¤Î
&TR-or-Rec;¤ÎÀá¹½À®µÚ¤ÓÀáÈÖ¹æ¤Ï¡¢¸¶µ¬Äê¤Î¤½¤ì¤é¤ò¤Ç¤­¤ë¤À¤±Êݸ¤·¤Æ¤¤
¤ë¡£¤³¤Î&TR-or-Rec;¤ÎWebÈǤϡ¢¸¶µ¬Äê¤ÎHTML¥¿¥°¤ò¤½¤Î¤Þ¤ÞÊݸ¤·¤Æ¤¤¤ë¡£
</p>
</status>
<!-- out of date
<statusp>This is a W3C Working Draft for review by W3C members and other
interested parties. It is a draft document and may be updated,
replaced, or obsoleted by other documents at any time. It is
inappropriate to use W3C Working Drafts as reference material or to
cite them as other than "work in progress". A list of current W3C
working drafts can be found at
<loc href="http://www.w3.org/TR">http://www.w3.org/TR</loc>.</statusp>
<statusp><emph>Note:</emph> Since working drafts are subject to frequent
change, you are advised to reference the above URL, rather than the
URLs for working drafts themselves.</statusp>
<statusp>This work is part of the W3C SGML Activity (for current
status, see <loc href="http://www.w3.org/MarkUp/SGML/Activity"
>http://www.w3.org/MarkUp/SGML/Activity</loc>).</statusp>
<p>The current
draft of this specification
presupposes the successful completion of the current
work on the &WebSGML;, being prepared by ISO/IEC JTC1
at the time this draft specification was drafted.
If it is not
adopted in the expected form, some clauses of this specification
may change, and some
recommendations now labeled "<termref def="dt-interop">for
interoperability</termref>" will become requirements labeled
"<termref def="dt-compat">for compatibility</termref>".
</p>
<p>The current draft of this specification uses the term
URI, which is defined by
<bibref ref="Berners-Lee"/>,
which is work in progress expected to update
<bibref ref="RFC1738"/> and <bibref ref="RFC1808"/>.
Should the work in this draft not be accepted as an RFC, the
references to uniform resource identifiers (URIs) in this
specification will become references to uniform resource
locators (URLs).</p>
</status> -->
<abstract>
<p>³ÈÄ¥²Äǽ¤Ê&markup;¸À¸ì(XML)¤ÏSGML¤Î´Êñ¤ÊÊý¸À¤Ç¤¢¤Ã¤Æ¡¤¤³¤Î&TR-or-Rec;¤Ç¡¤¤½¤Î¤¹¤Ù¤Æ¤òµ¬Äꤹ¤ë¡£XML¤ÎÌÜɸ¤Ï¡¤¸½ºß¤ÎHTML¤ÈƱÍͤˡ¤°ìÈÌÀ­¤Î¤¢¤ëSGML¤ò¥¦¥§¥Ö¾å¤ÇÇÛÉÛ¡¤¼õ¿®µÚ¤Ó½èÍý¤Ç¤­¤ë¤³¤È¤È¤¹¤ë¡£XML¤Ï¼ÂÁõ¤¬ÍưפǤ¢¤Ã¤Æ¡¤SGMLµÚ¤ÓHTML¤Î¤É¤Á¤é¤ËÂФ·¤Æ¤âÁê¸ß±¿ÍÑÀ­¤òÊݤÄÀ߷פ¬¤Ê¤µ¤ì¤Æ¤¤¤ë¡£</p>
</abstract>
<pubstmt>
<p>Chicago, Vancouver, Mountain View, et al.:
World-Wide Web Consortium, XMLºî¶È¥°¥ë¡¼¥×, 1996, 1997.</p>
</pubstmt>
<sourcedesc>
<p>Created in electronic form.</p>
</sourcedesc>
<langusage>
<language id='EN'>English</language>
<language id='ebnf'>Extended Backus-Naur Form (formal grammar)</language>
</langusage>
<revisiondesc>
<slist>
<sitem>1997-12-03 : CMSMcQ : yet further changes</sitem>
<sitem>1997-12-02 : TB : further changes (see TB to XML WG,
2 December 1997)</sitem>
<sitem>1997-12-02 : CMSMcQ : deal with as many corrections and
comments from the proofreaders as possible:
entify hard-coded document date in pubdate element,
change expansion of entity WebSGML,
update status description as per Dan Connolly (am not sure
about refernece to Berners-Lee et al.),
add 'The' to abstract as per WG decision,
move Relationship to Existing Standards to back matter and
combine with References,
re-order back matter so normative appendices come first,
re-tag back matter so informative appendices are tagged informdiv1,
remove XXX XXX from list of 'normative' specs in prose,
move some references from Other References to Normative References,
add RFC 1738, 1808, and 2141 to Other References (they are not
normative since we do not require the processor to enforce any
rules based on them),
add reference to 'Fielding draft' (Berners-Lee et al.),
move notation section to end of body,
drop URIchar non-terminal and use SkipLit instead,
lose stray reference to defunct nonterminal 'markupdecls',
move reference to Aho et al. into appendix (Tim's right),
add prose note saying that hash marks and fragment identifiers are
NOT part of the URI formally speaking, and are NOT legal in
system identifiers (processor 'may' signal an error).
Work through:
Tim Bray reacting to James Clark,
Tim Bray on his own,
Eve Maler,
NOT DONE YET:
change binary / text to unparsed / parsed.
handle James's suggestion about &lt; in attriubte values
uppercase hex characters,
namechar list,
</sitem>
<sitem>1997-12-01 : JB : add some column-width parameters</sitem>
<sitem>1997-12-01 : CMSMcQ : begin round of changes to incorporate
recent WG decisions and other corrections:
binding sources of character encoding info (27 Aug / 3 Sept),
correct wording of Faust quotation (restore dropped line),
drop SDD from EncodingDecl,
change text at version number 1.0,
drop misleading (wrong!) sentence about ignorables and extenders,
modify definition of PCData to make bar on msc grammatical,
change grammar's handling of internal subset (drop non-terminal markupdecls),
change definition of includeSect to allow conditional sections,
add integral-declaration constraint on internal subset,
drop misleading / dangerous sentence about relationship of
entities with system storage objects,
change table body tag to htbody as per EM change to DTD,
add rule about space normalization in public identifiers,
add description of how to generate our name-space rules from
Unicode character database (needs further work!).
</sitem>
<sitem>1997-10-08 : TB : Removed %-constructs again, new rules
for PE appearance.</sitem>
<sitem>1997-10-01 : TB : Case-sensitive markup; cleaned up
element-type defs, lotsa little edits for style</sitem>
<sitem>1997-09-25 : TB : Change to elm's new DTD, with
substantial detail cleanup as a side-effect</sitem>
<sitem>1997-07-24 : CMSMcQ : correct error (lost *) in definition
of ignoreSectContents (thanks to Makoto Murata)</sitem>
<sitem>Allow all empty elements to have end-tags, consistent with
SGML TC (as per JJC).</sitem>
<sitem>1997-07-23 : CMSMcQ : pre-emptive strike on pending corrections:
introduce the term 'empty-element tag', note that all empty elements
may use it, and elements declared EMPTY must use it.
Add WFC requiring encoding decl to come first in an entity.
Redefine notations to point to PIs as well as binary entities.
Change autodetection table by removing bytes 3 and 4 from
examples with Byte Order Mark.
Add content model as a term and clarify that it applies to both
mixed and element content.
</sitem>
<sitem>1997-06-30 : CMSMcQ : change date, some cosmetic changes,
changes to productions for choice, seq, Mixed, NotationType,
Enumeration. Follow James Clark's suggestion and prohibit
conditional sections in internal subset. TO DO: simplify
production for ignored sections as a result, since we don't
need to worry about parsers which don't expand PErefs finding
a conditional section.</sitem>
<sitem>1997-06-29 : TB : various edits</sitem>
<sitem>1997-06-29 : CMSMcQ : further changes:
Suppress old FINAL EDIT comments and some dead material.
Revise occurrences of % in grammar to exploit Henry Thompson's pun,
especially markupdecl and attdef.
Remove RMD requirement relating to element content (?).
</sitem>
<sitem>1997-06-28 : CMSMcQ : Various changes for 1 July draft:
Add text for draconian error handling (introduce
the term Fatal Error).
RE deleta est (changing wording from
original announcement to restrict the requirement to validating
parsers).
Tag definition of validating processor and link to it.
Add colon as name character.
Change def of %operator.
Change standard definitions of lt, gt, amp.
Strip leading zeros from #x00nn forms.</sitem>
<sitem>1997-04-02 : CMSMcQ : final corrections of editorial errors
found in last night's proofreading. Reverse course once more on
well-formed: Webster's Second hyphenates it, and that's enough
for me.</sitem>
<sitem>1997-04-01 : CMSMcQ : corrections from JJC, EM, HT, and self</sitem>
<sitem>1997-03-31 : Tim Bray : many changes</sitem>
<sitem>1997-03-29 : CMSMcQ : some Henry Thompson (on entity handling),
some Charles Goldfarb, some ERB decisions (PE handling in miscellaneous
declarations. Changed Ident element to accept def attribute.
Allow normalization of Unicode characters. move def of systemliteral
into section on literals.</sitem>
<sitem>1997-03-28 : CMSMcQ : make as many corrections as possible, from
Terry Allen, Norbert Mikula, James Clark, Jon Bosak, Henry Thompson,
Paul Grosso, and self. Among other things: give in on "well formed"
(Terry is right), tentatively rename QuotedCData as AttValue
and Literal as EntityValue to be more informative, since attribute
values are the <emph>only</emph> place QuotedCData was used, and
vice versa for entity text and Literal. (I'd call it Entity Text,
but 8879 uses that name for both internal and external entities.)</sitem>
<sitem>1997-03-26 : CMSMcQ : resynch the two forks of this draft, reapply
my changes dated 03-20 and 03-21. Normalize old 'may not' to 'must not'
except in the one case where it meant 'may or may not'.</sitem>
<sitem>1997-03-21 : TB : massive changes on plane flight from Chicago
to Vancouver</sitem>
<sitem>1997-03-21 : CMSMcQ : correct as many reported errors as possible.
</sitem>
<sitem>1997-03-20 : CMSMcQ : correct typos listed in CMSMcQ hand copy of spec.</sitem>
<sitem>1997-03-20 : CMSMcQ : cosmetic changes preparatory to revision for
WWW conference April 1997: restore some of the internal entity
references (e.g. to docdate, etc.), change character xA0 to &amp;nbsp;
and define nbsp as &amp;#160;, and refill a lot of paragraphs for
legibility.</sitem>
<sitem>1996-11-12 : CMSMcQ : revise using Tim's edits:
Add list type of NUMBERED and change most lists either to
BULLETS or to NUMBERED.
Suppress QuotedNames, Names (not used).
Correct trivial-grammar doc type decl.
Rename 'marked section' as 'CDATA section' passim.
Also edits from James Clark:
Define the set of characters from which [^abc] subtracts.
Charref should use just [0-9] not Digit.
Location info needs cleaner treatment: remove? (ERB
question).
One example of a PI has wrong pic.
Clarify discussion of encoding names.
Encoding failure should lead to unspecified results; don't
prescribe error recovery.
Don't require exposure of entity boundaries.
Ignore white space in element content.
Reserve entity names of the form u-NNNN.
Clarify relative URLs.
And some of my own:
Correct productions for content model: model cannot
consist of a name, so "elements ::= cp" is no good.
</sitem>
<sitem>1996-11-11 : CMSMcQ : revise for style.
Add new rhs to entity declaration, for parameter entities.</sitem>
<sitem>1996-11-10 : CMSMcQ : revise for style.
Fix / complete section on names, characters.
Add sections on parameter entities, conditional sections.
Still to do: Add compatibility note on deterministic content models.
Finish stylistic revision.</sitem>
<sitem>1996-10-31 : TB : Add Entity Handling section</sitem>
<sitem>1996-10-30 : TB : Clean up term &amp; termdef. Slip in
ERB decision re EMPTY.</sitem>
<sitem>1996-10-28 : TB : Change DTD. Implement some of Michael's
suggestions. Change comments back to //. Introduce language for
XML namespace reservation. Add section on white-space handling.
Lots more cleanup.</sitem>
<sitem>1996-10-24 : CMSMcQ : quick tweaks, implement some ERB
decisions. Characters are not integers. Comments are /* */ not //.
Add bibliographic refs to 10646, HyTime, Unicode.
Rename old Cdata as MsData since it's <emph>only</emph> seen
in marked sections. Call them attribute-value pairs not
name-value pairs, except once. Internal subset is optional, needs
'?'. Implied attributes should be signaled to the app, not
have values supplied by processor.</sitem>
<sitem>1996-10-16 : TB : track down &amp; excise all DSD references;
introduce some EBNF for entity declarations.</sitem>
<sitem>1996-10-?? : TB : consistency check, fix up scraps so
they all parse, get formatter working, correct a few productions.</sitem>
<sitem>1996-10-10/11 : CMSMcQ : various maintenance, stylistic, and
organizational changes:
Replace a few literals with xmlpio and
pic entities, to make them consistent and ensure we can change pic
reliably when the ERB votes.
Drop paragraph on recognizers from notation section.
Add match, exact match to terminology.
Move old 2.2 XML Processors and Apps into intro.
Mention comments, PIs, and marked sections in discussion of
delimiter escaping.
Streamline discussion of doctype decl syntax.
Drop old section of 'PI syntax' for doctype decl, and add
section on partial-DTD summary PIs to end of Logical Structures
section.
Revise DSD syntax section to use Tim's subset-in-a-PI
mechanism.</sitem>
<sitem>1996-10-10 : TB : eliminate name recognizers (and more?)</sitem>
<sitem>1996-10-09 : CMSMcQ : revise for style, consistency through 2.3
(Characters)</sitem>
<sitem>1996-10-09 : CMSMcQ : re-unite everything for convenience,
at least temporarily, and revise quickly</sitem>
<sitem>1996-10-08 : TB : first major homogenization pass</sitem>
<sitem>1996-10-08 : TB : turn "current" attribute on div type into
CDATA</sitem>
<sitem>1996-10-02 : TB : remould into skeleton + entities</sitem>
<sitem>1996-09-30 : CMSMcQ : add a few more sections prior to exchange
with Tim.</sitem>
<sitem>1996-09-20 : CMSMcQ : finish transcribing notes.</sitem>
<sitem>1996-09-19 : CMSMcQ : begin transcribing notes for draft.</sitem>
<sitem>1996-09-13 : CMSMcQ : made outline from notes of 09-06,
do some housekeeping</sitem>
</slist>
</revisiondesc>
</header>
<body>
<div1 id='sec-intro'>
<head>°ìÈÌ»ö¹à</head>
<!-- <div2 id='sec-scope'>
<head>ŬÍÑÈÏ°Ï</head> -->
<p>³ÈÄ¥²Äǽ¤Ê&markup;¸À¸ìXML(eXtensible Markup Language)¤Ï¡¤<termref def="dt-xml-doc">XMLʸ½ñ</termref>¤È¤¤¤¦¥Ç¡¼¥¿¥ª¥Ö¥¸¥§¥¯¥È¤Î¥¯¥é¥¹¤òµ¬Äꤷ¡¤XMLʸ½ñ¤ò½èÍý¤¹¤ë¥×¥í¥°¥é¥à¤ÎÆ°ºî¤Î°ìÉô¤òµ¬Äꤹ¤ë¡£XML¤Ï¡¤SGML(ɸ½à°ìÈ̲½&markup;¸À¸ì¡¤Standard Generalized Markup Language)<bibref ref='ISO8879'/>¤ÎÀ©¸Â¤·¤¿&subset;¤È¤¹¤ë¡£¹½Â¤¾å¡¤XMLʸ½ñ¤Ï¡¤¤«¤Ê¤é¤ºSGMLµ¬³Ê¤ËŬ¹ç¤¹¤ë¡£</p>
<p>XMLʸ½ñ¤Ï¡¤<termref def="dt-entity">¼ÂÂÎ</termref>¤È¤¤¤¦µ­²±Ã±°Ì¤«¤é¤Ê¤ê¡¤¼ÂÂΤϡ¤&parsed-data;Ëô¤Ï&unparsed-data;¤«¤é¤Ê¤ë¡£&parsed-data;¤Ï¡¤<termref def="dt-character">ʸ»ú</termref>¤«¤é¤Ê¤ê¡¤¤½¤Î°ìÉô¤Ï¡¤Ê¸½ñ¤Î<termref def="dt-chardata">ʸ»ú¥Ç¡¼¥¿</termref>¤ò¹½À®¤·¡¤°ìÉô¤Ï¡¤<termref def="dt-markup">&markup;</termref>¤ò¹½À®¤¹¤ë¡£&markup;¤Ï¡¤Ê¸½ñ¤Îµ­²±¥ì¥¤¥¢¥¦¥ÈµÚ¤ÓÏÀÍý¹½Â¤¤Ë¤Ä¤¤¤Æ¤Îµ­½Ò¤òɽ¤¹Éä¹æ¤È¤¹¤ë¡£XML¤Ï¡¤µ­²±¥ì¥¤¥¢¥¦¥ÈµÚ¤ÓÏÀÍý¹½Â¤¤Ë¤Ä¤¤¤Æ¤ÎÀ©Ìó¾ò·ï¤òµ­½Ò¤¹¤ëµ¡¹½¤òÄ󶡤¹¤ë¡£</p>
<p><termdef id="dt-xml-proc" term="XML&processor;"><term>XML&processor;</term>¤È¤¤¤¦¥½¥Õ¥È¥¦¥§¥¢¥â¥¸¥å¡¼¥ë¤Ï¡¤XMLʸ½ñ¤òÆɤ߹þ¤ß¡¤¤½¤ÎÆâÍƵڤӹ½Â¤¤Ø¤Î¥¢¥¯¥»¥¹¤òÄ󶡤¹¤ë¤¿¤á¤ËÍѤ¤¤ë¡£ </termdef> <termdef id="dt-app" term="&application;">XML&processor;¤Ï¡¤Â¾¤Î¥â¥¸¥å¡¼¥ë¤Î¤¿¤á¤ËÆ°ºî¤¹¤ë¤³¤È¤òÁ°Äó¤È¤·¡¤¤½¤Î¥â¥¸¥å¡¼¥ë¤ò<term>&application;</term>¤È¤¤¤¦¡£</termdef>¤³¤Î&TR-or-Rec;¤Ï¡¤XML&processor;¤¬¹Ô¤ï¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¿¶Éñ¤¤¤òµ¬Äꤹ¤ë¡£¤Ä¤Þ¤ê¡¤XML¥Ç¡¼¥¿¤ÎÆɹþ¤ßÊýË¡¤òµ¬Äꤷ¡¤&application;¤ËÄ󶡤¹¤ë¾ðÊó¤òµ¬Äꤹ¤ë¡£</p>
<!-- </div2> -->
<div2 id='sec-origin-goals'>
<head>·Ð°ÞµÚ¤ÓÌÜɸ</head>
<p>1996ǯ¤ËWorld Wide Web Consortium(W3C)¤ÎÃæ¤ËÀßΩ¤·¤¿XMLºî¶È¥°¥ë¡¼¥×(°ÊÁ°¤Ï¡¤ SGMLÊÔ½¸¥ì¥Ó¥å¡¼°Ñ°÷²ñ¤È¸Æ¤Ð¤ì¤¿)¤¬¡¤XML¤ò³«È¯¤·¤¿¡£¤³¤Îºî¶È¥°¥ë¡¼¥×¤ÎµÄŤò¡¤Sun Microsystems¤ÎJon Bosak¤¬¶Ð¤á¤ë¡£W3C¤¬ÁÈ¿¥¤·¡¤°ÊÁ°¤ÏSGMLºî¶È¥°¥ë¡¼¥×¤È¸Æ¤Ð¤ì¤¿XML SIG(Special Interest Group)¤â¡¤XML¤ÎÀ©Äê¤ËÈó¾ï¤Ë³èȯ¤Ë»²²è¤·¤¿¡£
<!--JIS¤Ç¤Ï? XMLºî¶È¥°¥ë¡¼¥×¤Î¥á¥ó¥Ð¤òÉÕÏ¿¤Ë¼¨¤¹¡£-->Dan Connolly¤Ï¡¤ºî¶È¥°¥ë¡¼¥×¤ÎW3C¤Ë¤ª¤±¤ëÏ¢Íí·¸¤ò̳¤á¤¿¡£</p>
<p>XML¤ÎÀß·×ÌÜɸ¤ò¡¤¼¡¤Ë¼¨¤¹¡£<ulist>
<item><p>a) XML¤Ï¡¤Internet¾å¤Ç¤½¤Î¤Þ¤Þ»ÈÍѤǤ­¤ë¡£</p></item>
<item><p>b) XML¤Ï¡¤¹­ÈϰϤÎ&application;¤ò»Ù±ç¤¹¤ë¡£</p></item>
<item><p>c) XML¤Ï¡¤SGML¤È¸ß´¹À­¤ò¤â¤Ä¡£</p></item>
<item><p>d) XMLʸ½ñ¤ò½èÍý¤¹¤ë¥×¥í¥°¥é¥à¤ò½ñ¤¯¤³¤È¤Ï¡¤ÍưפǤʤ±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p></item>
<item><p>e) XML¤Ç¤Ï¡¤¥ª¥×¥·¥ç¥ó¤Îµ¡Ç½¤Ï¤Ç¤­¤ë¤À¤±¾¯¤Ê¤¯¤·¡¤°ì¤Ä¤â¸ºß¤·¤Ê¤¤¤³¤È¤òÌܻؤ¹¡£</p></item>
<item><p>f) XMLʸ½ñ¤Ï¡¤¿Í´Ö¤Ë¤È¤Ã¤ÆÆɤߤ䤹¤¯¡¤½½Ê¬¤ËÍý²ò¤·¤ä¤¹¤¤¡£</p></item>
<item><p>g) XML¤ÎÀ߷פϡ¤¤¹¤ß¤ä¤«¤Ë¹Ô¤¨¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p></item>
<item><p>h) XML¤ÎÀ߷פϡ¤¸·Ì©µÚ¤Ó´Ê·é¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p></item>
<item><p>i) XMLʸ½ñ¤Ï¡¤Íưפ˺îÀ®¤Ç¤­¤ë¡£</p></item>
<item><p>j) XML¤Ç¤Ï¡¤&markup;¤Î¿ô¤ò¸º¤é¤¹¤³¤È¤Ï¡¤½ÅÍפǤϤʤ¤¡£</p></item></ulist>
</p>
<p>XMLÂè&XML.version;&version;¤òÍý²ò¤·¡¤¤½¤ì¤ò½èÍý¤¹¤ë·×»»µ¡¥×¥í¥°¥é¥à¤ò½ñ¤¯¤¿¤á¤Ë½½Ê¬¤Ê¾ðÊó¤Ï¡¤¤³¤Î&TR-or-Rec;µÚ¤Ó´ØÏ¢¤¹¤ëµ¬³Ê(ʸ»úÍѤȤ·¤Æ¡¤UnicodeµÚ¤ÓISO/IEC 10646¡¤<!--* XXX for Uniform Resource Identifiers, *-->&language-identification;¥¿¥°ÍѤȤ·¤Æ¡¤¥¤¥ó¥¿¥Í¥Ã¥È RFC 1766¡¤&language-code;ÍѤȤ·¤Æ¡¤ISO 639¡¤Ê¤ӤË&country-code;ÍѤȤ·¤Æ¡¤ISO 3166)¤Ç¡¤¤¹¤Ù¤Æ¼¨¤¹¡£</p>
<p>¤³¤Î&version;¤ÎXML¤Îµ¬Äê<!-- (&doc.date;) -->¤Ï¡¤¸ø³«¥ì¥Ó¥å¡¼µÚ¤ÓµÄÏÀ¤òÌÜŪ¤È¤¹¤ë¡£¥Æ¥­¥¹¥ÈµÚ¤ÓˡΧ¾å¤ÎÃí°Õ¤ò²þÊѤ·¤Ê¤¤¸Â¤ê¡¤¼«Í³¤ËÇÛÉÛ¤·¤Æ¤â¤è¤¤¡£</p>
</div2>
<div2 id='sec-terminology'>
<head>ÄêµÁ</head>
<p>XMLʸ½ñ¤Îµ¬Äê¤Î¤¿¤á¤Ë»ÈÍѤ¹¤ëÍѸì¤Ï¡¤¤³¤Î&TR-or-Rec;Æâ¤ÇÄêµÁ¤¹¤ë¡£¼¡¤Ë¼¨¤¹¸ì¶ç¤Ï¡¤¤½¤ì¤é¤ÎÍѸì¤òÄêµÁ¤¹¤ë¤¿¤á¡¤µÚ¤ÓXML&processor;¤ÎÆ°¤­¤òµ¬Äꤹ¤ë¤¿¤á¤Ë»ÈÍѤ¹¤ë¡£
<glist>
<gitem>
<label>1.2.1 ¤·¤Æ¤â¤è¤¤(may)</label>
<def><p><termdef id="dt-may" term="¤·¤Æ¤â¤è¤¤">Ŭ¹ç¤¹¤ëʸ½ñËô¤ÏXML&processor;¤Ï¡¤µ­½Ò¤µ¤ì¤¿¤È¤ª¤ê¤ËÆ°ºî¤·¤Æ¤â¤è¤¤¤¬¡¤¤½¤Î¤È¤ª¤ê¤Ë¤¹¤ëɬÍפϤʤ¤¡£</termdef></p></def>
</gitem>
<gitem>
<label>1.2.2 ¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤(must)</label>
<def><p>Ŭ¹ç¤¹¤ëʸ½ñËô¤ÏXML&processor;¤Ï¡¤µ­½Ò¤µ¤ì¤¿¤È¤ª¤ê¤ËÆ°ºî¤¹¤ë¤³¤È¤¬Í׵ᤵ¤ì¤ë¡£¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¤&error;¤È¤¹¤ë¡£<!-- do NOT change this! this is what defines a violation ofa 'must' clause as 'an error'. -MSM -->
</p></def>
</gitem>
<gitem>
<label>1.2.3 &error;(error)</label>
<def><p><termdef id="dt-error" term="&error;">¤³¤Î&TR-or-Rec;¤¬Äê¤á¤ëµ¬Â§¤ËÂФ¹¤ë°ãÈ¿¡£·ë²Ì¤ÏÄêµÁ¤·¤Ê¤¤¡£Å¬¹ç¤¹¤ë¥½¥Õ¥È¥¦¥§¥¢¤Ï¡¤&error;¤ò¸¡½Ð¤·¤ÆÊó¹ð¤·¤Æ¤â¤è¤¯¡¤&error;¤«¤é²óÉü¤·¤Æ¤â¤è¤¤¡£</termdef></p></def>
</gitem>
<gitem>
<label>1.2.4 &fatal-error;(fatal error)</label>
<def><p><termdef id="dt-fatal" term="&fatal-error;">Ŭ¹ç¤¹¤ë<termref def="dt-xml-proc">XML&processor;</termref>¤¬¸¡½Ð¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤º¡¤&application;¤ËÊó¹ð¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤&error;¡£&fatal-error;¤òȯ¸«¤·¤¿¤¢¤È¡¤&processor;¤Ï¡¤¤½¤ì°Ê¹ß¤Î&error;¤òõ¤¹¤¿¤á¤Ë¥Ç¡¼¥¿½èÍý¤ò³¹Ô¤·¤Æ¤â¤è¤¯¡¤&error;¤òȯ¸«¤·¤¿¾ì¹ç¤Ï¡¤¤½¤Î&error;¤ò&application;¤ËÊó¹ð¤·¤Æ¤â¤è¤¤¡£&error;ÄûÀµ¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤¿¤á¤Ë¡¤&processor;¤Ï¡¤Ì¤½èÍý¥Ç¡¼¥¿(ʸ»ú¥Ç¡¼¥¿µÚ¤Ó&markup;¤Îº®ºß¤·¤¿¤â¤Î)¤òʸ½ñ¤«¤é¼è¤ê½Ð¤·¡¤&application;¤ËÅϤ·¤Æ¤â¤è¤¤¡£¤·¤«¤·¡¤°ìÅÙ¡¤&fatal-error;¤ò¸¡½Ð¤·¤¿¤é¡¤&processor;¤Ï¡¤Ä̾ï¤Î½èÍý¤ò³¹Ô¤·¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£¤Ä¤Þ¤ê¡¤&processor;¤Ï¡¤Ê¸»ú¥Ç¡¼¥¿µÚ¤Óʸ½ñ¤ÎÏÀÍý¹½Â¤¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤ò¡¤Ä̾ï¤ÎÊýË¡¤Ç&application;¤ËÅϤ·Â³¤±¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£</termdef></p></def>
</gitem>
<gitem>
<label>1.2.5 &at-user-option;(at user option)</label>
<def><p>Ŭ¹ç¤¹¤ë¥½¥Õ¥È¥¦¥¨¥¢¤Ï¡¤µ­½Ò¤µ¤ì¤¿¤È¤ª¤ê¤Ë¿¶¤ëÉñ¤Ã¤Æ¤â¤è¤¤(may)¡¤Ëô¤Ï¿¶¤ëÉñ¤ï¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤(must)(ʸ¾ÏÃæ¤Î½õÆ°»ì¤Ë¤è¤ë¡£)¡£¤½¤Î¤È¤ª¤ê¤Ë¿¶¤ëÉñ¤¦¾ì¹ç¤Ï¡¤µ­½Ò¤µ¤ì¤¿¿¶Éñ¤¤¤òÁªÂòËô¤ÏµñÈݤ¹¤ë¼êÃʤò&user;¤ËÄ󶡤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p></def>
</gitem>
<gitem>
<label>1.2.6 &validity;À©Ìó(validity constraint)</label>
<def><p>¤¹¤Ù¤Æ¤Î<termref def="dt-valid">&valid;¤Ê</termref>XMLʸ½ñ¤ËŬÍѤ¹¤ëµ¬Â§¡£&validity;À©Ìó¤Î°ãÈ¿¤Ï¡¤&error;¤È¤¹¤ë¡£&at-user-option;¡¤<termref def="dt-validating">¸¡¾Ú¤ò¹Ô¤¦XML&processor;</termref>¤Ï¡¤¤³¤Î&error;¤òÊó¹ð¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p></def>
</gitem>
<gitem>
<label>1.2.7 &well-formed;À©Ìó(well-formedness constraint)</label>
<def><p>¤¹¤Ù¤Æ¤Î<termref def="dt-wellformed">&well-formed;</termref>¤ÎXMLʸ½ñ¤ËŬÍѤ¹¤ëµ¬Â§¡£&well-formed;À©Ìó¤Î°ãÈ¿¤Ï¡¤<termref def="dt-fatal">&fatal-error;</termref>¤È¤¹¤ë¡£</p></def>
</gitem>
<gitem>
<label>1.2.8 &match;(match)</label>
<def><p>a) <termdef id="dt-match" term="&match;">&string;Ëô¤Ï̾Á°¤Î&match;¡¡Èæ³Ó¤¹¤ëÆó¤Ä¤Î&string;Ëô¤Ï̾Á°¤Ï¡¤Æ±°ì¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£ISO/IEC 10646¤Ë¤ª¤¤¤Æ¡¤Ê£¿ô¤Îɽ¸½¤¬²Äǽ¤Êʸ»ú¡ÎÎ㤨¤Ð¡¤&composed-form;µÚ¤Ó´ðÄì+&diacritical-mark;(¥À¥¤¥¢¥¯¥ê¥Æ¥£¥«¥ë¥Þ¡¼¥¯)·Á¼°¡Ï¤Ï¡¤¤É¤Á¤é¤Î&string;¤âƱ¤¸É½¸½¤Î¤È¤­¤Ë¸Â¤ê¡¤&match;¤¹¤ë¡£&at-user-option;¡¤&processor;¤Ï¡¤¤½¤Îʸ»ú¤òɸ½à·Á¤ËÀµµ¬²½¤·¤Æ¤â¤è¤¤¡£Èæ³Ó¤Î¤È¤­¡¢Âçʸ»ú¤È¾®Ê¸»ú¤È¤Î¶èÊ̤ò¤¹¤ë¡£<!-- Note that no processing of characters with respect to case is part of the matching process. -->&lt;BR>b) &string;¤ÈʸˡÃæ¤Îµ¬Â§¤È¤Î&match;¡¡¤¢¤ëÀ¸À®µ¬Â§¤«¤éÀ¸À®¤¹¤ë¸À¸ì¤Ë¡¤¤¢¤ë&string;¤¬Â°¤¹¤ë¤È¤­¡¤¤³¤Î&string;¤Ï¡¤¤³¤ÎÀ¸À®µ¬Â§¤Ë&match;¤¹¤ë¤È¤¤¤¦¡£&lt;BR>c) ÆâÍƤÈÆâÍÆ¥â¥Ç¥ë¤È¤Î&match;¡¡¤¢¤ëÍ×ÁǤ¬¡¤<titleref href='elementvalid'>Í×ÁǤÎ&validity;</titleref>¤ÎÀ©Ìó¤Ë¼¨¤¹°ÕÌ£¤ÇŬ¹ç¤¹¤ë¤È¤­¡¤¤³¤ÎÍ×ÁǤϡ¤¤½¤ÎÀë¸À¤Ë&match;¤¹¤ë¤È¤¤¤¦¡£</termdef></p></def>
</gitem>
<gitem>
<label>1.2.9 ¸ß´¹À­¤Î¤¿¤á(for compatibility)</label>
<def><p><termdef id="dt-compat" term="¸ß´¹À­¤Î¤¿¤á">XML¤Îµ¡Ç½¤Ç¤¢¤Ã¤Æ¡¤XML¤¬SGML¤È¸ß´¹¤Ç¤¢¤ë¤³¤È¤òÊݾڤ¹¤ë¤¿¤á¤À¤±¤ËƳÆþ¤µ¤ì¤ë¤â¤Î¡£</termdef></p></def>
</gitem>
<gitem>
<label>1.2.10 Áê¸ß±¿ÍÑÀ­¤Î¤¿¤á(for interoperability)</label>
<def><p><termdef id="dt-interop" term="Áê¸ß±¿ÍÑÀ­¤Î¤¿¤á">¹´Â«ÎϤϤ⤿¤Ê¤¤¿ä¾©»ö¹à¡£&WebSGML;°ÊÁ°¤«¤é¸ºß¤¹¤ëSGML&processor;¤¬¡¤XMLʸ½ñ¤ò½èÍý¤Ç¤­¤ë²ÄǽÀ­¤ò¹â¤á¤ë¤¿¤á¤Ë¼è¤êÆþ¤ì¤ë¤â¤Î¡£</termdef></p></def>
</gitem>
</glist>
</p>
</div2>
</div1>
<!-- &Docs; -->
<div1 id='sec-documents'>
<head>ʸ½ñ</head>
<p><termdef id="dt-xml-doc" term="XMLʸ½ñ">
<!-- A textual object -->
¤³¤Î&TR-or-Rec;¤ÇÄêµÁ¤¹¤ë°ÕÌ£¤Ç¡¤<termref def="dt-wellformed">&well-formed;</termref>¤È¤¹¤ë¥Ç¡¼¥¿¥ª¥Ö¥¸¥§¥¯¥È¤ò¡¤<term>XMLʸ½ñ</term>¤È¤¤¤¦¡£&well-formed;¤ÎXMLʸ½ñ¤¬¡¤¤µ¤é¤Ë¡¤¤¢¤ëÀ©Ìó¾ò·ï¤òËþ­¤¹¤ì¤Ð¡¤<termref def="dt-valid">&valid;</termref>¤ÊXMLʸ½ñ¤È¤¹¤ë¡£
</termdef></p>
<!-- why this div? -TB
<div2 id='sec-log-phys'>
<head>Logical and Physical Structure</head> -->
<p>¤¤¤º¤ì¤ÎXMLʸ½ñ¤â¡¤ÏÀÍý¹½Â¤µÚ¤ÓʪÍý¹½Â¤¤ò¤â¤Ä¡£ÊªÍýŪ¤Ë¤Ï¡¤Ê¸½ñ¤Ï¡¤<termref def="dt-entity">¼ÂÂÎ</termref>¤È¸Æ¤Öñ°Ì¤«¤é¤Ê¤ë¡£¤¢¤ë¼ÂÂΤϡ¤Ê¸½ñÆâ¤Ë¾¤Î¼ÂÂΤò´Þ¤à¤¿¤á¤Ë¡¤¤½¤Î¾¤Î¼ÂÂΤò<termref def="dt-entref">»²¾È</termref>¤·¤Æ¤â¤è¤¤¡£Ê¸½ñ¤Ï¡¤¡È¥ë¡¼¥È¡É¤¹¤Ê¤ï¤Á<termref def="dt-docent">ʸ½ñ¼ÂÂÎ</termref>¤«¤é»Ï¤Þ¤ë¡£ÏÀÍýŪ¤Ë¤Ï¡¤Ê¸½ñ¤Ï¡¤Àë¸À¡¤Í×ÁÇ¡¤¥³¥á¥ó¥È¡¤Ê¸»ú»²¾ÈµÚ¤Ó½èÍýÌ¿Îá¤ò´Þ¤ß¡¤¤³¤ì¤é¤¹¤Ù¤Æ¤Ï¡¤Ê¸½ñÆâ¤ÇÌÀ¼¨Åª¤Ê&markup;¤Ë¤è¤Ã¤Æ¼¨¤¹¡£ÏÀÍý¹½Â¤µÚ¤ÓʪÍý¹½Â¤¤Ï¡¤<titleref href="wf-entities">°Ê¹ß</titleref>¤Ë¼¨¤¹¤È¤ª¤ê¤Ë¡¤¸·Ì©¤ËÆþ¤ì»Ò¤Ë¤Ê¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
<!--
</div2> -->
<div2 id='sec-well-formed'>
<head>&well-formed;¤ÎXMLʸ½ñ</head>
<p><termdef id="dt-wellformed" term="&well-formed;">¤¢¤ë¥Æ¥­¥¹¥È¥ª¥Ö¥¸¥§¥¯¥È¤¬¡¤¼¡¤Î¤¤¤º¤ì¤«¤Î¤È¤­¡¤¤½¤Î¥Æ¥­¥¹¥È¥ª¥Ö¥¸¥§¥¯¥È¤ò&well-formed;¤ÎXMLʸ½ñ¤È¸Æ¤Ö¡£</termdef>
<ulist>
<item><p>a) Á´ÂΤȤ·¤Æ¡¤<nt def='NT-document'>document</nt>¤È¤¤¤¦¥é¥Ù¥ë¤ò¤â¤ÄÀ¸À®µ¬Â§¤Ë&match;¤¹¤ë¡£</p></item>
<item><p>b) ¤³¤Î&TR-or-Rec;¤ÇÄêµÁ¤¹¤ë¡¤¤¹¤Ù¤Æ¤Î&well-formed;À©Ìó¤Ë½¾¤¦¡£</p>
</item>
<item><p>c) ¤½¤ì¤¾¤ì¤Î<termref def='dt-parsedent'>&parsed-entity;</termref>¤¬¡¤<titleref href='wf-entities'>&well-formed;</titleref>¤È¤Ê¤ë¡£</p></item>
</ulist></p>
<p>
<scrap lang='ebnf' id='document'>
<head>ʸ½ñ</head>
<prod id='NT-document'><lhs>document</lhs>
<rhs><nt def='NT-prolog'>prolog</nt>
<nt def='NT-element'>element</nt>
<nt def='NT-Misc'>Misc</nt>*</rhs></prod>
</scrap>
</p>
<p><nt def="NT-document">document</nt>À¸À®µ¬Â§¤Ë&match;¤¹¤ë¤È¤Ï¡¤¼¡¤ò°ÕÌ£¤¹¤ë¡£
<ulist>
<item><p>a) °ì¤Ä°Ê¾å¤Î<termref def="dt-element">Í×ÁÇ</termref>¤ò´Þ¤à¡£</p>
</item>
<!--* N.B. some readers (notably JC) find the following
paragraph awkward and redundant. I agree it's logically redundant:
it *says* it is summarizing the logical implications of
matching the grammar, and that means by definition it's
logically redundant. I don't think it's rhetorically
redundant or unnecessary, though, so I'm keeping it. It
could however use some recasting when the editors are feeling
stronger. -MSM *-->
<item><p>b) <termdef id="dt-root" term="¥ë¡¼¥ÈÍ×ÁÇ"><term>¥ë¡¼¥È</term>Ëô¤Ïʸ½ñÍ×ÁǤȤ¤¤¦Í×ÁǤ¬°ì¤Ä¤À¤±Â¸ºß¤·¡¤¤³¤ì¤Ï¡¤Â¾¤ÎÍ×ÁǤÎ<termref def="dt-content">ÆâÍÆ</termref>¤Ë´Þ¤Þ¤ì¤Ê¤¤¡£</termdef>¤³¤ì°Ê³°¤Î¤¹¤Ù¤Æ¤ÎÍ×ÁǤϡ¤¤½¤Î³«»Ï¥¿¥°¤¬Â¾¤ÎÍ×ÁǤÎÆâÍƤ˴ޤޤì¤ì¤Ð¡¤Âбþ¤¹¤ë½ªÎ»¥¿¥°¤âƱ¤¸Í×ÁǤÎÆâÍƤ˴ޤޤì¤ë¡£¤Ä¤Þ¤ê¡¤Í×ÁǤϡ¤³«»Ï¥¿¥°µÚ¤Ó½ªÎ»¥¿¥°¤Ë¤è¤Ã¤Æ¶èÀÚ¤é¤ì¡¤Æþ¤ì»Ò¹½Â¤¤ò¤Ê¤¹¡£
</p></item>
</ulist>
</p>
<p><termdef id="dt-parentchild" term="¿ÆÍ×ÁÇ/»ÒÍ×ÁÇ">¤³¤ì¤é¤Î·ë²Ì¤È¤·¤Æ¡¤Ê¸½ñÆâ¤Î¤É¤ÎÈó¥ë¡¼¥ÈÍ×ÁÇ<code>C</code>¤ËÂФ·¤Æ¤â¡¤¤¢¤ë¾¤ÎÍ×ÁÇ<code>P</code>¤¬Â¸ºß¤·¡¤<code>C</code>¤Ï¡¤<code>P</code>¤ÎÆâÍƤ˴ޤޤì¤ë¤¬¡¤<code>P</code>¤ÎÆâÍƤ˴ޤޤì¤ë¾¤ÎÍ×ÁǤ˴ޤޤì¤ë¤³¤È¤Ï¤Ê¤¤¡£¤³¤Î¤È¤­¡¤<code>P</code>¤ò<code>C</code>¤Î<code>¿Æ</code>¤È¤¤¤¤¡¤<code>C</code>¤ò<code>P</code>¤Î<code>»Ò</code>¤È¤¤¤¦¡£</termdef></p>
</div2>
<div2 id="charsets">
<head>ʸ»ú</head>
<p>
<!--The data stored in an XML <termref def="dt-entity">entity</termref> is
either <termref def="dt-text">parsed</termref> or <termref
def="dt-unparsed">unparsed</termref>. -->
<termdef id="dt-text" term="¥Æ¥­¥¹¥È">&parsed-entity;¤Ï¡¤<term>¥Æ¥­¥¹¥È</term>(<termref def="dt-character">ʸ»ú</termref>¤ÎʤӤǤ¢¤Ã¤Æ¡¤&markup;Ëô¤Ïʸ»ú¥Ç¡¼¥¿¤òɽ¤·¤Æ¤â¤è¤¤¡£)¤ò´Þ¤à¡£</termdef><termdef id="dt-character" term="ʸ»ú"><term>ʸ»ú</term>¤Ï¡¤¥Æ¥­¥¹¥È¤ÎºÇ¾®Ã±°Ì¤Ç¤¢¤Ã¤Æ¡¤ISO/IEC 10646<bibref ref="ISO10646"/>¤Ëµ¬Äꤵ¤ì¤ë¡£<!--Users may extend the ISO/IEC 10646 character repertoire by exploiting the private use areas. -->µöÍƤ¹¤ëʸ»ú¤Ï¡¤¥¿¥Ö¡¤²þ¹Ô¡¤Éüµ¢Ê¤ӤËUnicodeµÚ¤ÓISO/IEC 10646¤¬µöÍƤ¹¤ë¿Þ·Áʸ»ú¤È¤¹¤ë¡£</termdef>
<scrap lang="ebnf" id="char32">
<head>ʸ»ú¤ÎÈÏ°Ï</head>
<prodgroup pcw2="4" pcw4="17.5" pcw5="11">
<prod id="NT-Char"><lhs>Char</lhs>
<rhs>#x9 | #xA | #xD | [#x20-#D7FF] | [#xE000-#xFFFD]
| [#x10000-#x10FFFF]</rhs>
<com>Ǥ°Õ¤ÎUnicodeʸ»ú¡£¤¿¤À¤·¡¤&surrogate-blocks;¡¤FFFEµÚ¤ÓFFFF¤Ï½ü¤¯¡£</com>
</prod>
</prodgroup>
</scrap>
</p>
<p>&character-value;¤ò¥Ó¥Ã¥È¥Ñ¥¿¥ó¤ËÉä¹æ²½¤¹¤ëµ¡¹½¤Ï¡¤¼ÂÂΤ´¤È¤Ë°ã¤Ã¤Æ¤â¤è¤¤¡£¤¹¤Ù¤Æ¤ÎXML&processor;¤Ï¡¤ISO/IEC 10646¤ÎUTF-8Éä¹æ²½µÚ¤ÓUTF-16Éä¹æ²½¤ò¼õ¤±ÉÕ¤±¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£Æó¤Ä¤Î¤É¤Á¤é¤¬ÍѤ¤¤é¤ì¤Æ¤¤¤ë¤«¤òÌÀ¼¨¤¹¤ë¤¿¤á¤Îµ¡¹½¡¤µÚ¤Ó¾¤ÎÉä¹æ²½ÊýË¡¤òÍøÍѤ¹¤ë¤¿¤á¤Îµ¡¹½¤Ï¡¤<titleref href='charencoding'>ʸ»ú¤ÎÉä¹æ²½</titleref>¤Ëµ­½Ò¤¹¤ë¡£</p>
<p>¤É¤ÎÉä¹æ²½ÊýË¡¤òÍѤ¤¤ë¤«¤Ë´Ø·¸¤Ê¤¯¡¤ISO/IEC 10646¤Îʸ»ú½¸¹ç¤Ë¤¢¤ë¤¹¤Ù¤Æ¤Îʸ»ú¤Ï¡¤¤½¤ÎUCS-4&code-value;<!-- bit string. -->¤ÈÅù²Á¤Ê10¿Ê¿ôËô¤Ï16¿Ê¿ô¤Ë¤è¤Ã¤Æ¡¤»²¾È¤Ç¤­¤ë¡£</p>
</div2>
<div2 id='sec-common-syn'>
<head>¶¦Ä̤ι½Ê¸¹½À®»Ò</head>
<p>2.3¤Ç¤Ï¡¤Ê¸Ë¡Æâ¤Ç¹­¤¯»ÈÍѤ¹¤ë¤¤¤¯¤Ä¤«¤Îµ­¹æ¤òÄêµÁ¤¹¤ë¡£</p>
<p><nt def="NT-S">S</nt> (¶õÇò)¤Ï¡¤°ì¤Ä¼ã¤·¤¯¤ÏÊ£¿ô¤Î&space-character;(#x20)¡¤Éüµ¢¡¤²þ¹ÔËô¤Ï¥¿¥Ö¤«¤éÀ®¤ë¡£
<scrap lang="ebnf" id='white'>
<head>¶õÇò</head>
<prodgroup pcw2="4" pcw4="17.5" pcw5="11">
<prod id='NT-S'><lhs>S</lhs>
<rhs>(#x20 | #x9 | #xD | #xA)+</rhs>
</prod>
</prodgroup>
</scrap></p>
<p>Êص¹¾å¡¤Ê¸»ú¤ò¡¤&letter;¡¤¿ô»úËô¤Ï¾¤Îʸ»ú¤ËʬÎह¤ë¡£&letter;¤Ï¡¤¥¢¥ë¥Õ¥¡¥Ù¥Ã¥ÈŪËô¤Ïɽ²»Åª¤Ç¤¢¤ë´ðËÜʸ»ú(°ì¤ÄËô¤ÏÊ£¿ô¤Î&combining-character;¤¬¡¤¸å¤Ë³¤¯¤³¤È¤â¤¢¤ë¡£)¡¤&ideographic;¤«¤éÀ®¤ë¡£
<!--
Certain layout and format-control characters defined by ISO/IEC 10646
should be ignored when recognizing identifiers; these are defined by the
classes <nt def='NT-Ignorable'>Ignorable</nt> and <nt def='NT-
Extender'>Extender</nt>.
-->
³Æ¥¯¥é¥¹¤Ë¤ª¤±¤ë¼ÂºÝ¤Îʸ»ú¤Ë¤Ä¤¤¤Æ¤Î´°Á´¤ÊÄêµÁ¤Ï¡¤<titleref href='CharClasses'>ʸ»ú¥¯¥é¥¹</titleref>¤Ë´Ø¤¹¤ëÉÕÏ¿¤Ëµ¬Äꤹ¤ë¡£</p>
<p><termdef id="dt-name" term="Name"><term>Name</term>¤Ï¡¤&letter;Ëô¤Ï¤¤¤¯¤Ä¤«¤Î¶èÀÚ¤êʸ»ú¤Î°ì¤Ä¤Ç»Ï¤Þ¤ê¡¤¤½¤Î¸å¤Ë&letter;¡¤¿ô»ú¡¤¥Ï¥¤¥Õ¥ó¡¤²¼Àþ¡¤¥³¥í¥óËô¤Ï¥Ô¥ê¥ª¥É¤¬Â³¤¯(¤³¤ì¤é¤ò̾Á°Ê¸»ú¤È¤¤¤¦¡£)¡£</termdef>&string;"<code>xml</code>"Ëô¤Ï<code>(('X'|'x') ('M'|'m') ('L'|'l'))</code>¤Ë&match;¤¹¤ëǤ°Õ¤Î&string;¤Ç»Ï¤Þ¤ë̾Á°¤Ï¡¤¤³¤Î&TR-or-Rec;¤Î¸½ºß¤ÎÈÇËô¤Ï¾­Íè¤ÎÈǤǤÎɸ½à²½¤Î¤¿¤á¤ËͽÌ󤹤롣
</p>
<note>
<p>XML¤Î̾Á°¤ÎÃæ¤Î¥³¥í¥ó¤Ï¡¤Ì¾Á°¶õ´Ö¤Ç¤Î¼Â¸³¤Î¤¿¤á¤ËͽÌ󤹤롣¥³¥í¥ó¤Î°ÕÌ£¤Ï¡¤¾­Íè¤Î¤¢¤ë»þÅÀ¤Çɸ½à²½¤¹¤ë¤â¤Î¤È¤·¡¤¤½¤Î¤È¤­¤Ë¤Ï¡¤¼Â¸³Åª¤ÊÌÜŪ¤Ç¥³¥í¥ó¤ò»ÈÍѤ¹¤ëʸ½ñ¤ò¹¹¿·¤¹¤ëɬÍפ¬À¸¤¸¤ë²ÄǽÀ­¤¬¤¢¤ë¡£XML¤ÇºÎÍѤ¹¤ë̾Á°¶õ´Ö¤Îµ¡¹½¤¬¡¤¶èÀÚ¤ê»Ò¤È¤·¤Æ¼ÂºÝ¤Ë¥³¥í¥ó¤ò»ÈÍѤ¹¤ë¤È¤¤¤¦ÊݾڤϤʤ¤¡£»ö¼Â¾å¡¤¤³¤ì¤Ï¡¤Ì¾Á°¶õ´Ö¤Î¼Â¸³¤Î°ì¤Ä¤È¤·¤Æ°Ê³°¤Ë¤Ï¡¤XML¤Î̾Á°¤ÎÃæ¤Ç¥³¥í¥ó¤ò»ÈÍѤ·¤Ê¤¤¤Û¤¦¤¬¤è¤¤¤³¤È¤ò°ÕÌ£¤¹¤ë¡£¤·¤«¤·¡¤XML&processor;¤Ï¡¤Ì¾Á°Ê¸»ú¤È¤·¤Æ¥³¥í¥ó¤ò¼õ¤±ÉÕ¤±¤ë¤³¤È¤¬Ë¾¤Þ¤·¤¤¡£
</p>
</note>
<p>
<nt def='NT-Nmtoken'>Nmtoken</nt> (̾Á°&token;)¤Ï¡¤Ì¾Á°Ê¸»ú¤Ç¹½À®¤¹¤ëÎó¤È¤¹¤ë¡£
<scrap lang='ebnf'>
<head>̾Á°µÚ¤Ó&token;</head>
<!--
<prod id='NT-MiscName'><lhs>MiscName</lhs>
<rhs></rhs>
</prod>-->
<prod id='NT-NameChar'><lhs>NameChar</lhs>
<rhs><nt def="NT-Letter">Letter</nt>
| <nt def='NT-Digit'>Digit</nt>
<!--| <nt def='NT-MiscName'>MiscName</nt>-->
| '.' | '-' | '_' | ':'
| <nt def='NT-CombiningChar'>CombiningChar</nt>
<!-- | <nt def='NT-Ignorable'>Ignorable</nt> -->
| <nt def='NT-Extender'>Extender</nt></rhs>
</prod>
<prod id='NT-Name'><lhs>Name</lhs>
<rhs>(<nt def='NT-Letter'>Letter</nt> | '_' | ':')
(<nt def='NT-NameChar'>NameChar</nt>)*</rhs></prod>
<prod id='NT-Names'><lhs>Names</lhs>
<rhs><nt def='NT-Name'>Name</nt>
(<nt def='NT-S'>S</nt> <nt def='NT-Name'>Name</nt>)*</rhs></prod>
<prod id='NT-Nmtoken'><lhs>Nmtoken</lhs>
<rhs>(<nt def='NT-NameChar'>NameChar</nt>)+</rhs></prod>
<prod id='NT-Nmtokens'><lhs>Nmtokens</lhs>
<rhs><nt def='NT-Nmtoken'>Nmtoken</nt> (<nt def='NT-S'>S</nt> <nt
def='NT-Nmtoken'>Nmtoken</nt>)*</rhs></prod>
</scrap>
</p>
<p>&literal;¥Ç¡¼¥¿¤Ï¡¤°úÍÑÉä¤Ç°Ï¤Þ¤ì¤¿&string;¤È¤·¡¤¤½¤ÎÎó¤Î¶èÀÚ¤ê»Ò¤È¤·¤Æ»ÈÍѤ¹¤ë°úÍÑÉä¤Ï´Þ¤Þ¤Ê¤¤¡£&literal;¤Ï¡¤ÆâÉô¼ÂÂÎ(<nt def='NT-EntityValue'>EntityValue</nt>)¡¤Â°À­ÃÍ(<nt def='NT-AttValue'>AttValue</nt>)¡¤³°Éô&identifier;(<nt def="NT-SystemLiteral">SystemLiteral</nt>)¤ÎÆâÍƤλØÄê¤Ë»ÈÍѤ¹¤ë¡£ÌÜŪ¤Ë¤è¤Ã¤Æ¤Ï¡¤&literal;Á´ÂΤò¡¤¤½¤ÎÃæ¤Î&markup;¤ÎÁöºº¤ò¹Ô¤Ê¤ï¤º¤Ë¡¤¥¹¥­¥Ã¥×¤¹¤ë¤³¤È¤¬¤¢¤ë(<nt def='NT-SkipLit'>SkipLit</nt>¡£)¡£
<scrap lang='ebnf'>
<head>&literal;</head>
<!-- is marked section end legal in entity values etc.?
James says yes. Handbook page 392, sec. 10.4 seems to me to say no.
If James is right, leave as is. Otherwise, uncomment
the next comment and ...
-->
<!--
<prod id='NT-EntityValue'><lhs>EntityValue</lhs>
<rhs>' " '
(([^%&amp;"]
| <nt def='NT-PEReference'>PEReference</nt>
| <nt def='NT-Reference'>Reference</nt>)*
- (<nt def='NT-Char'>Char</nt>* ']]&gt;' <nt def='NT-char'>Char</nt>*))
' " '
</rhs>
<rhs>|&nbsp;
" ' "
(([^%&amp;']
| <nt def='NT-PEReference'>PEReference</nt>
| <nt def='NT-Reference'>Reference</nt>)*
- (<nt def='NT-Char'>Char</nt>* ']]&gt;' <nt def='NT-char'>Char</nt>*))
" ' "</rhs>
</prod>
<prod id='NT-AttValue'><lhs>AttValue</lhs>
<rhs>'"'
(([^&lt;&amp;"]
| <nt def='NT-Reference'>Reference</nt>)*
- (<nt def='NT-Char'>Char</nt>* ']]&gt;' <nt def='NT-char'>Char</nt>*))
' " '
</rhs>
<rhs>|&nbsp;
" ' "
(([^&lt;&amp;']
| <nt def='NT-Reference'>Reference</nt>)*
- (<nt def='NT-Char'>Char</nt>* ']]&gt;' <nt def='NT-char'>Char</nt>*))
" ' "</rhs>
<wfc def="CleanAttrVals"/>
</prod>
-->
<!-- ... and comment out the following, down to ... -->
<prod id='NT-EntityValue'><lhs>EntityValue</lhs>
<rhs>' " '
([^%&amp;"]
| <nt def='NT-PEReference'>PEReference</nt>
| <nt def='NT-Reference'>Reference</nt>)*
' " '
</rhs>
<rhs>|&nbsp;
" ' "
([^%&amp;']
| <nt def='NT-PEReference'>PEReference</nt>
| <nt def='NT-Reference'>Reference</nt>)*
" ' "</rhs>
</prod>
<prod id='NT-AttValue'><lhs>AttValue</lhs>
<rhs>' " '
([^&lt;&amp;"]
| <nt def='NT-Reference'>Reference</nt>)*
' " '
</rhs>
<rhs>|&nbsp;
" ' "
([^&lt;&amp;']
| <nt def='NT-Reference'>Reference</nt>)*
" ' "</rhs>
<!--<wfc def="WF-Attvaldelim"/>-->
</prod>
<!-- ... down to here. -->
<prod id="NT-SystemLiteral"><lhs>SystemLiteral</lhs>
<rhs><nt def='NT-SkipLit'>SkipLit</nt></rhs>
</prod>
<!-- <prod id="NT-URIchar"><lhs>URIchar</lhs>
<rhs><com>See <loc href="http://www.w3.org/XXX">XXX</loc></com>
</rhs></prod>
-->
<prod id="NT-PubidLiteral"><lhs>PubidLiteral</lhs>
<rhs>' " ' <nt def='NT-PubidChar'>PubidChar</nt>*
' " '
| " ' " (<nt def='NT-PubidChar'>PubidChar</nt> - " ' ")* " ' "</rhs>
</prod>
<prod id="NT-PubidChar"><lhs>PubidChar</lhs>
<rhs>#x20 | #xD | #xA
|&nbsp;[a-zA-Z0-9]
|&nbsp;[-'()+,./:=?]</rhs>
</prod>
<prod id="NT-SkipLit"><lhs>SkipLit</lhs>
<rhs>(' " ' [^"]* ' " ')
|&nbsp;(" ' " [^']* " ' ")</rhs>
</prod>
<!-- alternate form, making ms end illegal: -->
<!--
<prod id="NT-SkipLit"><lhs>SkipLit</lhs>
<rhs>(' " ' ([^"]* - ([^"]* ']]&gt;' [^"]*)) ' " ')
|&nbsp;(" ' " ([^']* - ([^']* ']]&gt;' [^']*)) " ' ")</rhs>
</prod>
-->
</scrap>
</p>
<!--
<wfcnote id="WF-Attvaldelim">
<head>Delimiters in Attribute Values</head>
<p>After the expansion of character and entity references,
an attribute value must not contain a "<code>&lt;</code>"
or "<code>&amp;</code>" character unless that character was
introduced by the expansion of a character reference
or one of the entities &magicents;.</p>
</wfcnote>-->
<!--
This is not quite right: &lt; should be legal, should it not?
Suppress this WFC until we get it right.
-->
<!-- Henry Thompson suggests (in substance, not form: the wording needs
to be clarified):
"Cooked Attribute values must not contain &lt; &amp; or the
quote which closed their uncooked literal,
unless arising from the expansion of a character reference or
magic reference
directly contained in their uncooked literal."
I'm not sure I agree with this rule, but it's at least coherent,
which is more than I can say for my attempt.
-->
</div2>
<div2 id='syntax'>
<head>ʸ»ú¥Ç¡¼¥¿µÚ¤Ó&markup;</head>
<p><termref def='dt-text'>¥Æ¥­¥¹¥È</termref>¤Ï¡¤<termref def="dt-chardata">ʸ»ú¥Ç¡¼¥¿</termref>µÚ¤Ó&markup;¤¬º®ºß¤¹¤ë¤â¤Î¤È¤·¤Æ¹½À®¤¹¤ë¡£<termdef id="dt-markup" term="Markup"><term>&markup;</term>¤Ï¡¤<termref def="dt-stag">³«»Ï¥¿¥°</termref>¡¤<termref def="dt-etag">½ªÎ»¥¿¥°</termref>¡¤<termref def="dt-empty">¶õÍ×ÁÇ</termref>¡¤<termref def="dt-entref">¼ÂÂλ²¾È</termref>¡¤<termref def="dt-charref">ʸ»ú»²¾È</termref>¡¤<termref def="dt-comment">¥³¥á¥ó¥È</termref>¡¤<termref def="dt-cdsection">CDATA¥»¥¯¥·¥ç¥ó</termref> ¤Î¶èÀÚ¤ê»Ò¡¤<termref def="dt-doctype">ʸ½ñ·¿Àë¸À</termref>µÚ¤Ó<termref def="dt-pi">½èÍýÌ¿Îá</termref>¤Î·Á¤ò¼è¤ë¡£
</termdef>
</p>
<p><termdef id="dt-chardata" term="Character Data">&markup;¤Ç¤Ï¤Ê¤¤¤¹¤Ù¤Æ¤Î¥Æ¥­¥¹¥È¤Ï¡¤Ê¸½ñ¤Î<term>ʸ»ú¥Ç¡¼¥¿</term>¤ò¹½À®¤¹¤ë¡£</termdef></p>
<p>¥¢¥ó¥Ñ¥µ¥ó¥Éʸ»ú (&amp;)µÚ¤Ó&left-angle-bracket; (&lt;)¤Ï¡¤&markup;¤Î¶èÀÚ¤ê»Ò¤È¤·¤Æ¡¤Ëô¤Ï<termref def="dt-comment">¥³¥á¥ó¥È</termref>¡¤<termref def="dt-pi">½èÍýÌ¿Îá</termref>¼ã¤·¤¯¤Ï<termref def="dt-cdsection">CDATA¥»¥¯¥·¥ç¥ó</termref>Æâ¤Ç»ÈÍѤ¹¤ë¾ì¹ç¤Ë<emph>¤À¤±</emph>¡¤¤½¤Î¤Þ¤Þ¤Î·Á¤Ç½Ð¸½¤·¤Æ¤è¤¤¡£¤³¤ì¤é¤Îʸ»ú¤Ï¡¤ÆâÉô¼ÂÂÎÀë¸À¤Î<termref def='dt-litentval'>&literal;¼ÂÂÎÃÍ</termref>Æâ¤Ëµ­½Ò¤·¤Æ¤â¤è¤¤¡£ ¾Ü¤·¤¯¤Ï¡¤<titleref href='wf-entities'>&well-formed;¤Î¼ÂÂÎ</titleref>¤Ë´Ø¤¹¤ëµ¬Äê¤ò»²¾È¡£<!-- FINAL EDIT: restore internal entity decl or leave it out. -->¤³¤ì¤é¤Îʸ»ú¤¬Â¾¤ÎÉôʬ¤ÇɬÍפʾì¹ç¡¤¿ôÃͤˤè¤ëʸ»ú»²¾ÈËô¤Ï&string;"<code>&amp;amp;</code>"µÚ¤Ó&string;"<code>&amp;lt;</code>"¤ò»ÈÍѤ·¡¤<termref def="dt-escape">&escape;</termref>¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£&right-angle-bracket; (>) ¤Ï¡¤&string;"<code>&amp;gt;</code>"¤ò»ÈÍѤ·¤Æɽ¸½¤·¤Æ¤â¤è¤¤¡£ÆâÍƤÎÃæ¤ÇÎó"<code>]]&gt;</code>"¤ò»ÈÍѤ¹¤ë¤È¤­¤Ï¡¤¤½¤ì¤¬¡¤<termref def="dt-cdsection">CDATA¥»¥¯¥·¥ç¥ó</termref>¤Î½ªÎ»¤ò&markup;¤·¤Ê¤¤¸Â¤ê¡¤<termref def='dt-compat'>¸ß´¹À­¤Î¤¿¤á</termref>¡¤"<code>&amp;gt;</code>"Ëô¤Ïʸ»ú»²¾È¤ò»ÈÍѤ·¡¤&escape;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
<p>Í×ÁǤÎÆâÍƤǤϡ¤Ê¸»ú¥Ç¡¼¥¿¤Ï¡¤¤¤¤«¤Ê¤ë&markup;¤Î³«»Ï¶èÀÚ¤ê»Ò¤ò´Þ¤Þ¤Ê¤¤Ç¤°Õ¤Î&char-string;¤È¤¹¤ë¡£CDATA¥»¥¯¥·¥ç¥ó¤Ç¤Ï¡¤Ê¸»ú¥Ç¡¼¥¿¤È¤Ï¡¤CDATA¥»¥¯¥·¥ç¥ó¤Î½ªÎ»¶èÀÚ¤ê»Ò"<code>]]&gt;</code>"¤ò´Þ¤Þ¤Ê¤¤Ç¤°Õ¤Î&char-string;¤È¤¹¤ë¡£
</p>
<p>
°À­ÃͤË&single-quote;µÚ¤Ó&double-quote;¤ò´Þ¤à¤¿¤á¤Ë¤Ï¡¤¥¢¥Ý¥¹¥È¥í¥Õ¥£Ëô¤Ï&single-quote;(') ¤Ï¡¤"<code>&amp;apos;</code>"¤È¤·¤Æɽ¸½¤·¡¤&double-quote;(")¤Ï¡¤"<code>&amp;quot;</code>"¤È¤·¤Æɽ¸½¤¹¤ë¡£
<scrap lang="ebnf">
<head>ʸ»ú¥Ç¡¼¥¿</head>
<prod id='NT-CharData'>
<lhs>CharData</lhs>
<rhs>[^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</rhs>
</prod>
</scrap>
</p>
</div2>
<div2 id='sec-comments'>
<head>¥³¥á¥ó¥È</head>
<p><termdef id="dt-comment" term="Comment"><term>¥³¥á¥ó¥È</term>¤Ï¡¤Â¾¤Î<termref def='dt-markup'>&markup;</termref>¤Î³°¤Ê¤é¤Ð¡¤Ê¸½ñ¤Î¤É¤³¤Ë¸½¤ì¤Æ¤â¤è¤¤¡£¤µ¤é¤Ë¡¤Ê¸½ñ·¿Àë¸ÀÆâ¤Ç¡¤Ê¸Ë¡¤¬µö¤¹¾ì½ê¤Ë¸½¤ì¤Æ¤â¤è¤¤¡£
<!-- TB
except in a <termref def="dt-cdsection">CDATA section</termref>, i.e. within
<termref def="dt-elemcontent">element content</termref>, in
<termref def="dt-mixed">mixed content</termref>, or in the prolog. They must
not occur within declarations or tags. -->
¥³¥á¥ó¥È¤Ï¡¤Ê¸½ñ¤Î<termref def="dt-chardata">ʸ»ú¥Ç¡¼¥¿</termref>¤Î°ìÉô¤Ç¤Ï¤Ê¤¤¡£XML&processor;¤Ï¡¤&application;¤¬¥³¥á¥ó¥È¤Î¥Æ¥­¥¹¥È¤ò¼è¤ê½Ð¤¹¤³¤È¤ò²Äǽ¤È¤·¤Æ¤â¤è¤¤¤¬¡¤¤½¤¦¤·¤Ê¤¯¤È¤â¤è¤¤¡£
<termref def="dt-compat">¸ß´¹À­¤Î¤¿¤á</termref>¡¤&string;"<code>--</code>" ¡Ê&double-hyphen;¡Ë¤Ï¡¤¥³¥á¥ó¥ÈÆâ¤Ç¸½¤ì¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
<scrap lang="ebnf">
<head>¥³¥á¥ó¥È</head>
<prod id='NT-Comment'><lhs>Comment</lhs>
<rhs>'&lt;!--'
((<nt def='NT-Char'>Char</nt> - '-')
| ('-' (<nt def='NT-Char'>Char</nt> - '-')))*
'-->'</rhs>
<!--
<rhs>'&lt;!&como;'
(<nt def='NT-Char'>Char</nt>* -
(<nt def='NT-Char'>Char</nt>* '&comc;' <nt def='NT-Char'>Char</nt>*))
'&comc;&gt;'</rhs> -->
</prod>
</scrap>
</termdef></p>
<p>¥³¥á¥ó¥È¤ÎÎã¤ò¼¡¤Ë¼¨¤¹¡£
<eg>&lt;!&como; declarations for &lt;head> &amp; &lt;body> &comc;&gt;</eg>
</p>
</div2>
<div2 id='sec-pi'>
<head>½èÍýÌ¿Îá</head>
<p><termdef id="dt-pi" term="Processing instruction"><term>½èÍýÌ¿Îá</term>(PI)¤Ë¤è¤Ã¤Æ¡¤&application;¤Î¤¿¤á¤ÎÌ¿Îá¤òʸ½ñ¤ËÆþ¤ì¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
<scrap lang="ebnf">
<head>½èÍýÌ¿Îá</head>
<prod id='NT-PI'><lhs>PI</lhs>
<rhs>'&lt;?' <nt def='NT-PITarget'>PITarget</nt>
(<nt def='NT-S'>S</nt>
(<nt def='NT-Char'>Char</nt>* -
(<nt def='NT-Char'>Char</nt>* &pic; <nt def='NT-Char'>Char</nt>*)))?
&pic;</rhs></prod>
<prod id='NT-PITarget'><lhs>PITarget</lhs>
<rhs><nt def='NT-Name'>Name</nt> -
(('X' | 'x') ('M' | 'm') ('L' | 'l'))</rhs>
</prod>
</scrap></termdef>
PI¤Ï¡¤Ê¸½ñ¤Î<termref def="dt-chardata">ʸ»ú¥Ç¡¼¥¿</termref>¤Î°ìÉô¤Ç¤Ï¤Ê¤¤¤¬¡¤&application;¤ËÅϤµ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£PI¤Ï¡¤Ì¿Î᤬ÅϤµ¤ì¤ë&application;¤ò&identify;¤¿¤á¤Ë»ÈÍѤ¹¤ë&target; (<nt def='NT-PITarget'>PITarget</nt>) ¤Ç»Ï¤Þ¤ë¡£&target;̾ "<code>XML</code>"¡¤"<code>xml</code>"¤Ê¤É¤Ï¡¤¤³¤Î&TR-or-Rec;¤Î¸½ºß¤ÎÈÇËô¤Ï¾­Íè¤ÎÈǤε¬³Ê²½ÍѤËͽÌ󤹤롣XML¤Î<termref def='dt-notation'>µ­Ë¡</termref>µ¡¹½¤ò¡¤PI¤Î&target;¤òÀë¸À¤¹¤ë¤¿¤á¤Ë»ÈÍѤ·¤Æ¤â¤è¤¤¡£
</p>
</div2>
<div2 id='sec-cdata-sect'>
<head>CDATA¥»¥¯¥·¥ç¥ó</head>
<p><termdef id="dt-cdsection" term="CDATA Section"><term>CDATA¥»¥¯¥·¥ç¥ó</term>¤Ï¡¤Ê¸»ú¥Ç¡¼¥¿¤¬½Ð¸½¤¹¤ë¤È¤³¤í¤Ç¤¢¤ì¤Ð¡¤¤É¤³¤Ë½Ð¸½¤·¤Æ¤â¤è¤¤¡£¤³¤ì¤Ï¡¤¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¤&markup;¤È¤·¤Æǧ¼±¤¹¤ëʸ»ú¤ò´Þ¤à¡¤¥Æ¥­¥¹¥È¤Î¶è²è¤ò&escape;¤¹¤ë¤Î¤Ë»ÈÍѤ¹¤ë¡£CDATA¥»¥¯¥·¥ç¥ó¤Ï¡¤&string;"<code>&lt;![CDATA[</code>"¤Ç»Ï¤Þ¤ê¡¤&string;
"<code>]]&gt;</code>"¤Ç½ª¤ï¤ë¡£
<scrap lang="ebnf">
<head>CDATA¥»¥¯¥·¥ç¥ó</head>
<prod id='NT-CDSect'><lhs>CDSect</lhs>
<rhs><nt def='NT-CDStart'>CDStart</nt>
<nt def='NT-CData'>CData</nt>
<nt def='NT-CDEnd'>CDEnd</nt></rhs></prod>
<prod id='NT-CDStart'><lhs>CDStart</lhs>
<rhs>'&lt;![CDATA['</rhs>
</prod>
<prod id='NT-CData'><lhs>CData</lhs>
<rhs>(<nt def='NT-Char'>Char</nt>* -
(<nt def='NT-Char'>Char</nt>* ']]&gt;' <nt def='NT-Char'>Char</nt>*))
</rhs>
</prod>
<prod id='NT-CDEnd'><lhs>CDEnd</lhs>
<rhs>']]&gt;'</rhs>
</prod>
</scrap>
CDATA¥»¥¯¥·¥ç¥óÆâ¤Ç¤Ï¡¤Îó<nt def='NT-CDEnd'>CDEnd</nt>¤À¤±¤ò&markup;¤È¤·¤Æǧ¼±¤¹¤ë¤Î¤Ç¡¤&left-angle-bracket;µÚ¤Ó¥¢¥ó¥Ñ¥µ¥ó¥É¤Ï¡¤¤½¤Î&literal;·Á¼°¤Ç½Ð¸½¤·¤Æ¤è¤¤¡£¤½¤ì¤é¤Ï¡¤"<code>&amp;lt;</code>"µÚ¤Ó"<code>&amp;amp;</code>"¤ò»ÈÍѤ·¤Æ&escape;¤¹¤ëɬÍפϤʤ¤¡£CDATA¥»¥¯¥·¥ç¥ó¤Ï¡¤Æþ¤ì»Ò¤Ë¤Ï¤Ç¤­¤Ê¤¤¡£
</termdef>
</p>
<p>"<code>&lt;greeting></code>"µÚ¤Ó"<code>&lt;/greeting></code>"¤ò¡¤<termref def='dt-markup'>&markup;</termref>¤Ç¤Ï¤Ê¤¯¡¤<termref def='dt-chardata'>ʸ»ú¥Ç¡¼¥¿</termref>¤È¤·¤Æǧ¼±¤¹¤ëCDATA¥»¥¯¥·¥ç¥ó¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;![CDATA[&lt;greeting>Hello, world!&lt;/greeting>]]&gt;</eg>
</p>
</div2>
<div2 id='sec-prolog-dtd'>
<head>&prolog;µÚ¤Óʸ½ñ·¿Àë¸À</head>
<p><termdef id='dt-xmldecl' term='XML Declaration'>XMLʸ½ñ¤Ï¡¤»ÈÍѤ¹¤ëXML¤Î&version;¤ò»ØÄꤹ¤ë<term>XMLÀë¸À</term>¤Ç»Ï¤á¤Æ¤â¤è¤¯¡¤Ëô¤½¤¦¤¹¤ë¤Î¤¬Ë¾¤Þ¤·¤¤¡£
</termdef>
</p>
<p>¤³¤Î&TR-or-Rec;¤Î¤³¤Î&version;¤ËŬ¹ç¤¹¤ë¤³¤È¤ò¼¨¤¹¤¿¤á¤Ë¤Ï¡¤&version;ÈÖ¹æ "<code>1.0</code>" ¤ò»ÈÍѤ·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤¢¤ëʸ½ñ¤¬¡¤¤³¤Î&TR-or-Rec;¤Î¤³¤Î&version;¤ËŬ¹ç¤·¤Ê¤¤¤È¤­¡¤ÃÍ"<code>1.0</code>"¤ò»ÈÍѤ¹¤ë¤Î¤Ï¡¤&error;¤È¤¹¤ë¡£¤³¤Î&TR-or-Rec;¤Îº£¸å¤Î&version;¤Ë"<code>1.0</code>"°Ê³°¤ÎÃͤòÉÕÍ¿¤¹¤ë¤³¤È¤¬¡¤XMLºî¶È¥°¥ë¡¼¥×¤Î°Õ¿Þ¤À¤¬¡¤XML¤Î¾­Íè¤Î&version;¤òºîÀ®¤¹¤ë¤³¤È¤Î³ÎÌó¤ò¼¨¤¹¤ï¤±¤Ç¤Ï¤Ê¤¯¡¤ºîÀ®¤·¤¿¤È¤·¤Æ¤â¡¤ÈÖ¹æÉÕ¤±¤Ë¤Ä¤¤¤Æ¡¤ÆÃÄê¤ÎÊýË¡¤ò»ÈÍѤ¹¤ë¤³¤È¤Î³ÎÌó¤ò¼¨¤¹¤ï¤±¤Ç¤â¤Ê¤¤¡£¾­Íè¤Î&version;¤Î²ÄǽÀ­¤ò½ü³°¤·¤Ê¤¤¤Î¤Ç¡¤É¬Íפʾì¹ç¡¤¼«Æ°Åª¤Ê&version;¤Îǧ¼±¤ò²Äǽ¤È¤¹¤ë¼êÃʤȤ·¤Æ¡¤¤³¤Î¹½À®»Ò¤òÄ󶡤¹¤ë¡£&processor;¤Ï¡¤¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Ê¤¤&version;¤Ç¥é¥Ù¥ëÉÕ¤±¤·¤¿Ê¸½ñ¤ò¼õ¤±¼è¤Ã¤¿¤È¤­¡¤&error;¤òÄÌÃΤ·¤Æ¤â¤è¤¤¡£
</p>
<p>XMLʸ½ñÆâ¤Î&markup;¤Îµ¡Ç½¤Ï¡¤µ­²±¹½Â¤µÚ¤ÓÏÀÍý¹½Â¤¤òµ­½Ò¤¹¤ë¤³¤È¡¤Ê¤ӤË°À­µÚ¤Ó°À­ÃͤÎÂФòÏÀÍý¹½Â¤¤Ë´ØÏ¢¤Å¤±¤ë¤³¤È¤Ë¤¢¤ë¡£XML¤Ï¡¤ÏÀÍý¹½Â¤¤Ë¤Ä¤¤¤Æ¤ÎÀ©Ìó¾ò·ï¤òÄêµÁ¤¹¤ë¤¿¤á¡¤µÚ¤Ó¤¢¤é¤«¤¸¤áÄêµÁ¤µ¤ì¤¿µ­²±Ã±°Ì¤ò»ÈÍѤǤ­¤ë¤¿¤á¤Îµ¡¹½¤È¤·¤Æ¡¤<termref def="dt-doctype">ʸ½ñ·¿Àë¸À</termref>¤òÄ󶡤¹¤ë¡£<!-- old
The function of the markup in an XML document is to describe its
storage and logical structures, and associate attribute-value pairs with the
logical structure.
XML provides a
mechanism, the <termref def="dt-doctype">document type declaration</termref>,
to
define constraints on that logical structure and to support the use of
predefined storage units. --><termdef id="dt-valid" term="Validity">XMLʸ½ñ¤¬<term>&valid;</term>¤È¤Ï¡¤Ê¸½ñ·¿Àë¸À¤ò¤â¤Á¡¤¤½¤Îʸ½ñ·¿Àë¸À¤Ë¼¨¤¹À©Ìó¾ò·ï¤òËþ¤¿¤¹¤³¤È¤È¤¹¤ë¡£
</termdef></p>
<p>ʸ½ñ·¿Àë¸À¤Ï¡¤Ê¸½ñ¤ÎºÇ½é¤Î<termref def="dt-element">Í×ÁÇ</termref>¤ÎÁ°¤Ë¸½¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
<scrap lang="ebnf" id='xmldoc'>
<head>&prolog;</head>
<prodgroup pcw2="6" pcw4="17.5" pcw5="9">
<prod id='NT-prolog'><lhs>prolog</lhs>
<rhs><nt def='NT-XMLDecl'>XMLDecl</nt>?
<nt def='NT-Misc'>Misc</nt>*
(<nt def='NT-doctypedecl'>doctypedecl</nt>
<nt def='NT-Misc'>Misc</nt>*)?</rhs></prod>
<prod id='NT-XMLDecl'><lhs>XMLDecl</lhs>
<rhs>&xmlpio;
<nt def='NT-VersionInfo'>VersionInfo</nt>
<nt def='NT-EncodingDecl'>EncodingDecl</nt>?
<nt def='NT-SDDecl'>SDDecl</nt>?
<nt def="NT-S">S</nt>?
&pic;</rhs>
</prod>
<prod id='NT-VersionInfo'><lhs>VersionInfo</lhs>
<rhs><nt def="NT-S">S</nt> 'version' <nt def='NT-Eq'>Eq</nt>
('"<nt def="NT-VersionNum">VersionNum</nt>"'
| "'<nt def="NT-VersionNum">VersionNum</nt>'")</rhs>
</prod>
<prod id='NT-Eq'><lhs>Eq</lhs>
<rhs><nt def='NT-S'>S</nt>? '=' <nt def='NT-S'>S</nt>?</rhs></prod>
<prod id="NT-VersionNum">
<lhs>VersionNum</lhs>
<rhs>([a-zA-Z0-9_.:] | '-')+</rhs>
</prod>
<prod id='NT-Misc'><lhs>Misc</lhs>
<rhs><nt def='NT-Comment'>Comment</nt> | <nt def='NT-PI'>PI</nt> |
<nt def='NT-S'>S</nt></rhs></prod>
</prodgroup>
</scrap></p>
<p>
Î㤨¤Ð¡¤¼¡¤Ë¼¨¤¹´°Á´¤ÊXMLʸ½ñ¤Ï¡¤<termref def="dt-wellformed">&well-formed;</termref>¤Ç¤¢¤ë¤¬<termref def="dt-valid">&valid;</termref>¤Ç¤Ï¤Ê¤¤¡£
<eg><![CDATA[<?xml version="1.0"?>
<greeting>Hello, world!</greeting>
]]></eg>
¼¡¤Îʸ½ñ¤âƱÍͤȤ¹¤ë¡£
<eg><![CDATA[<greeting>Hello, world!</greeting>
]]></eg>
</p>
<p><termdef id="dt-doctype" term="Document Type Declaration">
XML¤Î<term>ʸ½ñ·¿Àë¸À</term>¤Ï¡¤¤¢¤ëʸ½ñ¥¯¥é¥¹¤Î¤¿¤á¤Îʸˡ¤òÄ󶡤¹¤ë<termref def='dt-markupdecl'>&markup;Àë¸À</termref>¤ò´Þ¤à¤«¡¤Ëô¤Ï»²¾È¤¹¤ë¡£¤³¤Îʸˡ¤ò¡¤Ê¸½ñ·¿ÄêµÁËô¤Ï<term>DTD</term>¤È¤¤¤¦¡£Ê¸½ñ·¿Àë¸À¤Ï¡¤&markup;Àë¸À¤ò´Þ¤ó¤À³°Éô&subset;(ÆÃÊ̤ʼïÎà¤Î<termref def='dt-extent'>³°Éô¼ÂÂÎ</termref>)¤ò»²¾È¤Ç¤­¡¤Ëô¤ÏÆâÉô&subset;¤ËľÀÜ&markup;Àë¸À¤ò´Þ¤à¤³¤È¤â¤Ç¤­¤ë¡£¤µ¤é¤Ë¡¤¤½¤ÎξÊý¤â²Äǽ¤È¤¹¤ë¡£¤¢¤ëʸ½ñ¤ÎDTD¤Ï¡¤Î¾Êý¤Î&subset;¤ò¤Þ¤È¤á¤¿¤â¤Î¤È¤·¤Æ¹½À®¤¹¤ë¡£</termdef>
</p>
<p><termdef id="dt-markupdecl" term="markup declaration">
<term>&markup;Àë¸À</term>¤Ï¡¤<termref def="dt-eldecl">Í×ÁÇ·¿Àë¸À</termref>¡¤ <termref def="dt-attdecl">°À­¥ê¥¹¥ÈÀë¸À</termref>¡¤<termref def="dt-entdecl">¼ÂÂÎÀë¸À</termref>Ëô¤Ï<termref def="dt-notdecl">µ­Ë¡Àë¸À</termref>¤È¤¹¤ë¡£</termdef>¼¡¤Ë¼¨¤¹&well-formed;À©ÌóµÚ¤Ó&validity;À©Ìó¤Ëµ¬Äꤹ¤ë¤¬¡¤¤³¤ì¤é¤ÎÀë¸À¤Ï¡¤<termref def='dt-PE'>&parameter;¼ÂÂÎ</termref>Æâ¤ËÁ´ÂÎËô¤Ï°ìÉô¤¬´Þ¤Þ¤ì¤Æ¤â¤è¤¤¡£¾Ü¤·¤¤µ¬Äê¤Ï¡¤<titleref xml-link="simple" href="sec-physical-struct">ʪÍý¹½Â¤</titleref>¤Ë´Ø¤¹¤ëµ¬Äê¤ò»²¾È¤Î¤³¤È¡£</p>
<scrap lang="ebnf" id='dtd'>
<head>ʸ½ñ·¿ÄêµÁ</head>
<prodgroup pcw2="6" pcw4="17.5" pcw5="9">
<prod id='NT-doctypedecl'><lhs>doctypedecl</lhs>
<rhs>'&lt;!DOCTYPE' <nt def='NT-S'>S</nt>
<nt def='NT-Name'>Name</nt> (<nt def='NT-S'>S</nt>
<nt def='NT-ExternalID'>ExternalID</nt>)?
<nt def='NT-S'>S</nt>? ('['
(<nt def='NT-markupdecl'>markupdecl</nt>
| <nt def='NT-PEReference'>PEReference</nt>
| <nt def='NT-S'>S</nt>)*
']'
<nt def='NT-S'>S</nt>?)? '>'</rhs>
<vc def="vc-roottype"/>
<!--<vc def="vc-nonnullDTD"/>-->
</prod>
<!--
<prod id='NT-markupdecls'><lhs>markupdecls</lhs>
<rhs>
(<nt def='NT-S'>S</nt>?
<nt def='NT-markupdecl'>markupdecl</nt>
<nt def='NT-S'>S</nt>?)*
</rhs></prod>
-->
<prod id='NT-markupdecl'><lhs>markupdecl</lhs>
<rhs><nt def='NT-elementdecl'>elementdecl</nt>
| <nt def='NT-AttlistDecl'>AttlistDecl</nt>
| <nt def='NT-EntityDecl'>EntityDecl</nt>
| <nt def='NT-NotationDecl'>NotationDecl</nt>
| <nt def='NT-PI'>PI</nt>
| <nt def='NT-Comment'>Comment</nt>
<!--| <nt def='NT-InternalPERef'>InternalPERef</nt> --></rhs>
<vc def='vc-PEinMarkupDecl'/>
<wfc def="wfc-PEinInternalSubset"/>
</prod>
<!--
<prod id="NT-InternalPERef"><lhs>InternalPERef</lhs>
<rhs><nt def="NT-PEReference">PEReference</nt></rhs>
<wfc def="wfc-integraldec"/>
</prod>
-->
</prodgroup>
</scrap>
<vcnote id="vc-roottype">
<head>&root;Í×ÁÇ·¿</head>
<p>
ʸ½ñ·¿Àë¸À¤Ë¤ª¤±¤ë<nt def='NT-Name'>Name</nt>¤Ï¡¤&root;Í×ÁǤη¿¤È&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<!--
<vcnote id="vc-nonnullDTD">
<head>Non-null DTD</head>
<p>
The internal and external subsets of the DTD must not both
be empty.
</p>
</vcnote>
-->
<vcnote id='vc-PEinMarkupDecl'>
<head>Àë¸ÀµÚ¤Ó&parameter;¼ÂÂΤ¬¸·Ì©¤ËÆþ¤ì»Ò¤ò¤Ê¤¹¤³¤È</head>
<p>&parameter;¼ÂÂÎ<termref def='dt-repltext'>¤Î&replacement-text;</termref>¤Ï¡¤&markup;Àë¸ÀÆâ¤Ë¤ª¤¤¤Æ¡¤¸·Ì©¤ËÆþ¤ì»Ò¤Ë¤Ê¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤Ä¤Þ¤ê¡¤&markup;Àë¸À(<nt def='NT-markupdecl'>markupdecl</nt>)¤ÎºÇ½éËô¤ÏºÇ¸å¤Îʸ»ú¤¬¡¤<termref def='dt-PERef'>&parameter;¼ÂÂλ²¾È</termref>¤ÎÂоݤȤʤë&replacement-text;¤Ë´Þ¤Þ¤ì¤ì¤Ð¡¤Î¾Êý¤È¤âƱ¤¸&replacement-text;¤Ë´Þ¤Þ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
</vcnote>
<wfcnote id="wfc-PEinInternalSubset">
<head>ÆâÉô&subset;Æâ¤Î&parameter;¼ÂÂÎ</head>
<p>DTD¤ÎÆâÉô&subset;¤Ç¤Ï¡¤<termref def='dt-PERef'>&parameter;¼ÂÂλ²¾È</termref>¤Ï¡¤&markup;Àë¸À¤¬½Ð¸½²Äǽ¤Ê¾ì½ê¤À¤±¤Ë½Ð¸½¤Ç¤­¤ë¡£&markup;Àë¸ÀÆâ¤Ë¤Ï½Ð¸½¤Ç¤­¤Ê¤¤(¤³¤ÎÀ©Ìó¤Ï¡¤³°Éô&parameter;¼ÂÂÎËô¤Ï³°Éô&subset;¤Ç¤Î»²¾È¤Ë¤ÏŬÍѤ·¤Ê¤¤¡£)¡£
</p>
</wfcnote>
<p>
ÆâÉô&subset;¤Î¤È¤­¤ÈƱÍͤˡ¤³°Éô&subset;µÚ¤ÓDTD¤Ë¤ª¤¤¤Æ»²¾È¤¹¤ëǤ°Õ¤Î³°Éô&parameter;¼ÂÂΤϡ¤Èó½ªÃ¼µ­¹æ<nt def="NT-markupdecl">markupdecl</nt>¤Ë¤è¤Ã¤Æµö¤µ¤ì¤ë·¿¤Î¡¤°ìÏ¢¤Î´°Á´¤Ê&markup;Àë¸À¤Ç¹½À®¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£&markup;Àë¸À¤Î´Ö¤Ë¤Ï¡¤¶õÇòËô¤Ï<termref def="dt-PERef">&parameter;¼ÂÂλ²¾È</termref>¤òÃÖ¤¤¤Æ¤â¤è¤¤¡£¤·¤«¤·¡¤³°Éô&subset;Ëô¤Ï³°Éô&parameter;¼ÂÂΤÎÆâÍƤΰìÉô¤Ï¡¤<termref def="dt-cond-section">¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó</termref>¤ò»ÈÍѤ·¤Æ̵»ë¤·¤Æ¤â¤è¤¤¡£ÆâÉô¥µ¥Ö¥»¥Ã¥È¤Ç¤Ï¡¤¤³¤ì¤Ïµö¤µ¤ì¤Ê¤¤¡£
<!--In the external subset, however, parameter-entity references can
be used to replace constructs prefixed by "<code>%</code>" in a production of
the grammar, and <termref def="dt-cond-section">conditional sections</termref>
may occur.
In the internal subset, by contrast, conditional sections may not
occur and the only parameter-entity references
allowed are those which match the non-terminal
<nt def="NT-InternalPERef">InternalPERef</nt>
within the rule for <nt def="NT-doctypedecl">markupdecl</nt>.
-->
<scrap id="ext-Subset">
<head>³°Éô&subset;</head>
<prodgroup pcw2="6" pcw4="17.5" pcw5="9">
<prod id='NT-extSubset'><lhs>extSubset</lhs>
<rhs>(
<nt def='NT-markupdecl'>markupdecl</nt>
| <nt def='NT-conditionalSect'>conditionalSect</nt>
| <nt def='NT-PEReference'>PEReference</nt>
| <nt def='NT-S'>S</nt>
)*</rhs>
</prod>
</prodgroup>
</scrap></p>
<p>³°Éô&subset;µÚ¤Ó³°Éô&parameter;¼ÂÂΤϡ¤¤½¤ÎÆâ¤Ç¤Ï¡¤&parameter;¼ÂÂΤ¬&markup;Àë¸À¤Î<emph>´Ö</emph>¤À¤±¤Ç¤Ê¤¯¡¤&markup;Àë¸À¤Î<emph>Æâ</emph>¤Ç¤âǧ¼±¤µ¤ì¤ë¡¤¤È¤¤¤¦ÅÀ¤Ç¤âÆâÉô&subset;¤È¤Ï°Û¤Ê¤ë¡£
</p>
<p>ʸ½ñ·¿Àë¸ÀÉÕ¤­¤ÎXMLʸ½ñ¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg><![CDATA[<?xml version="1.0"?>
<!DOCTYPE greeting SYSTEM "hello.dtd">
<greeting>Hello, world!</greeting>
]]></eg>
<termref def="dt-sysid">¥·¥¹¥Æ¥à&identifier;</termref> "<code>hello.dtd</code>"¤¬¡¤Ê¸½ñ¤ÎDTD¤ÎURI¤È¤Ê¤ë¡£</p>
<p>¼¡¤ÎÎã¤Î¤È¤ª¤ê¡¤Àë¸À¤ò¶É½êŪ¤ËÍ¿¤¨¤ë¤³¤È¤â¤Ç¤­¤ë¡£
<eg><![CDATA[<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE greeting [
<!ELEMENT greeting (#PCDATA)>
]>
<greeting>Hello, world!</greeting>
]]></eg>
³°Éô&subset;µÚ¤ÓÆâÉô&subset;¤ÎξÊý¤ò»ÈÍѤ¹¤ë¤È¤­¤Ï¡¤ÆâÉô&subset;¤¬³°Éô&subset;¤è¤êÀè¤Ë½Ð¸½¤·¤¿¤È¸«¤Ê¤¹¡£<!--* 'is considered to'? boo. whazzat mean? -->¤³¤ì¤Ï¡¤ÆâÉô&subset;¤Î¼ÂÂεڤÓ°À­¥ê¥¹¥ÈÀë¸À¤¬¡¤³°Éô&subset;¤Î¼ÂÂεڤÓ°À­¥ê¥¹¥ÈÀë¸À¤è¤êÍ¥À褹¤ë¤È¤¤¤¦¸ú²Ì¤ò¤â¤¿¤é¤¹¡£
</p>
</div2>
<div2 id='sec-rmd'>
<head>&standalone;ʸ½ñÀë¸À</head>
<p><termref def="dt-xml-proc">XML&processor;</termref>¤Ï¡¤&application;¤Ëʸ½ñ¤ÎÆâÍƤòÅϤ¹¤¬¡¤&markup;Àë¸À¤Ï¡¤¤³¤ÎÆâÍƤ˱ƶÁ¤òÍ¿¤¨¤ë¤³¤È¤¬¤¢¤ë¡£Â°À­¤Î&default-value;µÚ¤Ó¼ÂÂÎÀë¸À¤ò¤½¤ÎÎã¤È¤¹¤ë¡£XMLÀë¸À¤Î°ìÉôʬ¤È¤·¤Æ½Ð¸½¤Ç¤­¤ë&standalone;ʸ½ñÀë¸À¤Ï¡¤Ê¸½ñ¤¬¡¤¤½¤Î&markup;Àë¸À¤Î¸ºß¤Ë¤è¤Ã¤Æ±Æ¶Á¤µ¤ì¤Ê¤¤¤³¤È¤ò»Ø¤·¼¨¤¹¡ÊÉáÄÌ¡¤¤½¤Î&markup;Àë¸À¤¬Â¸ºß¤·¤Ê¤¤¤¿¤á¤Ë¡¤¤³¤ì¤¬¤¤¤¨¤ë¡£¡Ë¡£
<scrap lang="ebnf" id='fulldtd'>
<head>&standalone;ʸ½ñÀë¸À</head>
<prodgroup pcw2="4" pcw4="19.5" pcw5="9">
<prod id='NT-SDDecl'><lhs>SDDecl</lhs>
<rhs>
<nt def="NT-S">S</nt>
'standalone' <nt def='NT-Eq'>Eq</nt> "'" ('yes' | 'no') "'"
</rhs>
<rhs>
| <nt def="NT-S">S</nt>
'standalone' <nt def='NT-Eq'>Eq</nt> '"' ('yes' | 'no') '"'
</rhs><vc def='vc-check-rmd'/></prod>
</prodgroup>
</scrap></p>
<p>&standalone;ʸ½ñÀë¸À¤Ë¤ª¤¤¤Æ¤Ï, "<code>yes</code>"¤ÎÃͤϡ¤<termref def='dt-docent'>ʸ½ñ¼ÂÂÎ</termref>¤Î³°Éô¤Ë¡ÊDTD¤Î³°Éô&subset;Æâ¤Ë¡¤Ëô¤ÏÆâÉô&subset;¤«¤é»²¾È¤µ¤ì¤ë³°Éô¥Ñ¥é¥á¥¿¼ÂÂÎÆâ¤Ë¡Ë¡¤XML&processor;¤«¤é&application;¤Ø¤ÈÅϤµ¤ì¤ë¾ðÊó¤Ë±Æ¶Á¤¹¤ë&markup;Àë¸À¤¬Â¸ºß¤·¤Ê¤¤¤³¤È¤ò°ÕÌ£¤¹¤ë¡£"<code>no</code>"¤ÎÃͤϡ¤¤½¤Î³°Éô&markup;Àë¸À¤¬Â¸ºß¤¹¤ë¤«¡¤Ëô¤Ï¸ºß¤¹¤ë²ÄǽÀ­¤¬¤¢¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë¡£&standalone;ʸ½ñÀë¸À¤Ï¡¤¤½¤Î<emph>Àë¸À</emph>¤¬Ê¸½ñ³°Éô¤Ë¸ºß¤¹¤ë¤«¤É¤¦¤«¤ò¼¨¤¹¤À¤±¤ËÃí°Õ¤¹¤ë¤³¤È¡£³°Éô¼ÂÂΤؤλ²¾È¤¬Ê¸½ñÆâ¤Ë¸ºß¤·¤Æ¤¤¤Æ¤â¡¤¤½¤Î¼ÂÂΤ¬ÆâÉôŪ¤ËÀë¸À¤µ¤ì¤Æ¤¤¤ë¤È¤­¤Ï¡¤Ê¸½ñ¤Î&standalone;¤Î¾õÂ֤ˤϱƶÁ¤òÍ¿¤¨¤Ê¤¤¡£</p>
<p>³°Éô¤Ë&markup;Àë¸À¤¬Â¸ºß¤·¤Ê¤±¤ì¤Ð¡¤&standalone;ʸ½ñÀë¸À¤Ï°ÕÌ£¤ò¤â¤¿¤Ê¤¤¡£³°Éô¤Ë&markup;Àë¸À¤¬Â¸ºß¤·¡¤&standalone;ʸ½ñÀë¸À¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç¤Ï¡¤<code>"no"</code> ¤ÎÃͤÎÀßÄê¤ò²¾Äꤹ¤ë¡£</p>
<p>XMLʸ½ñ¤Ç <code>standalone="no"</code> ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¤â¤Î¤Ï¡¤¤¢¤ë¥¢¥ë¥´¥ê¥º¥à¤Ç&standalone;ʸ½ñ¤ËÊÑ´¹¤Ç¤­¡¤¤³¤Îʸ½ñ¤Ï¡¤¥Í¥Ã¥È¥ï¡¼¥¯ÇÛ¿®&application;¤Ë¤È¤Ã¤Æ˾¤Þ¤·¤¤¤«¤â¤·¤ì¤Ê¤¤¡£</p>
<vcnote id='vc-check-rmd'>
<head>&standalone;ʸ½ñÀë¸À</head>
<p>&standalone;ʸ½ñÀë¸À¤Ï¡¤²¿¤é¤«¤Î³°Éô&markup;Àë¸À¤¬¼¡¤Î¤¤¤º¤ì¤«¤òÀë¸À¤·¤Æ¤¤¤ë¤È¤­¤Ï¡¤ÃÍ "<code>no</code>" ¤ò¼è¤é¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
<ulist>
<item><p>a) <termref def="dt-default">&default;</termref>ÃÍÉÕ¤­¤Î°À­¤Ç¤¢¤Ã¤Æ¡¤¤³¤Î°À­¤¬Å¬ÍѤµ¤ì¤ëÍ×ÁǤ¬¡¤Â°À­Ãͤò»ØÄꤻ¤º¤Ëʸ½ñÆâ¤Ë¸½¤ì¤ë¤â¤Î¡£</p></item>
<item><p>b) &magicents;°Ê³°¤Î¼ÂÂΤǤ¢¤Ã¤Æ¡¤¤½¤Î¼ÂÂΤËÂФ¹¤ë<termref def="dt-entref">»²¾È</termref>¤¬Ê¸½ñÆâ¤Ë½Ð¸½¤¹¤ë¤â¤Î¡£</p>
</item>
<item><p>c) Ãͤ¬<titleref href='AVNormalize'>Àµµ¬²½</titleref>¤ÎÂоݤȤʤë°À­¤Ç¤¢¤Ã¤Æ¡¤Àµµ¬²½¤Î·ë²Ì¤È¤·¤ÆÊѲ½¤¹¤ëÃͤ¬Ê¸½ñÆâ¤Ç°À­¤Ë»ØÄꤵ¤ì¤ë¤â¤Î¡£</p></item>
<item>
<p>d) <termref def="dt-elemcontent">Í×ÁÇÆâÍÆ</termref>¤ò¤â¤ÄÍ×ÁÇ·¿¤Ç¤¢¤Ã¤Æ¡¤¶õÇò¤¬¤½¤ÎÍ×ÁÇ·¿¤Î¤¤¤º¤ì¤«¤Î¥¤¥ó¥¹¥¿¥ó¥¹Æâ¤ËľÀܸ½¤ì¤ë¤â¤Î¡£
</p></item>
</ulist>
</p>
</vcnote>
<p>&standalone;ʸ½ñÀë¸ÀÉÕ¤­¤ÎXMLÀë¸À¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;?xml version="&XML.version;" standalone='yes'?></eg></p>
</div2>
<div2 id='sec-white-space'>
<head>¶õÇò¤Î¼è°·¤¤</head>
<p>XMLʸ½ñ¤òÊÔ½¸¤¹¤ë¤È¤­¤Ï¡¤&markup;¤òÌÜΩ¤¿¤»Æɤߤ䤹¤¯¤¹¤ë¤¿¤á¤Ë¡¤¡È¶õÇò¡É(&space;¡¤¥¿¥ÖµÚ¤Ó¶õÇò¹Ô¡£¤³¤Î&TR-or-Rec;¤Ç¤Ï¡¤Èó½ªÃ¼µ­¹æ¤Î<nt def='NT-S'>S</nt>¤Çɽ¤¹)¤ò»È¤¦¤ÈÊØÍø¤Ê¤³¤È¤¬Â¿¤¤¡£¤½¤Î¶õÇò¤Ï¡¤ÇÛÉÛ¤¹¤ë&version;¤Îʸ½ñ¤Î°ìÉô¤È¤·¤Æ´Þ¤á¤ë¤³¤È¤ò°Õ¿Þ¤·¤Ê¤¤¤Î¤òÉáÄ̤Ȥ¹¤ë¡£¤·¤«¤·¡¤¡È°ÕÌ£¤Î¤¢¤ë¡É¶õÇò¤Ç¤¢¤Ã¤Æ¡¤ÇÛÉÛ¤¹¤ë&version;¤Ë»Ä¤µ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤â¤Î¤â¿¤¤¡£Î㤨¤Ð¡¤»íµÚ¤Ó¥½¡¼¥¹¥³¡¼¥É¤Ë¤ª¤±¤ë¶õÇò¤¬¤¢¤ë¡£</p>
<p><termref def='dt-xml-proc'>XML&processor;</termref>¤Ï¡¤Ê¸½ñÆâ¤Î&markup;°Ê³°¤Î¤¹¤Ù¤Æ¤Îʸ»ú¤ò¡¤¤½¤Î¤Þ¤ÞÊѹ¹¤»¤º¤Ë&application;¤ËÅϤµ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£<termref def='dt-validating'>&validating;XML&processor;</termref>¤Ï¡¤<termref def="dt-elemcontent">Í×ÁÇÆâÍÆ</termref>¤ÎÃæ¤Î¶õÇò¤ò¾¤ÎÈó&markup;ʸ»ú¤«¤é¶èÊ̤·¡¤&application;¦¤ËÍ×ÁÇÆâÍƤÎÃæ¤Î¶õÇò¤¬½ÅÍפǤʤ¤¤È¤¤¤¦¤³¤È¤òÅÁ¤¨¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
<p>
"<code>xml:space</code>"¤È¤¤¤¦ÆÃÊ̤Ê<termref def='dt-attr'>°À­</termref>¤òʸ½ñ¤ËÁÞÆþ¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¤¶õÇò¤ò½ÅÍפȤ¹¤ë°Õ¿Þ¤ò¼¨¤·¤Æ¤â¤è¤¤¡£¤³¤Î°À­¤òŬÍѤ¹¤ëÍ×ÁǤ˸½¤ì¤ë¶õÇò¤ò¡¤¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬½ÅÍפʤâ¤Î¤È¤·¤Æ°·¤¦¤³¤È¤òÍ׵᤹¤ë¡¤¤È¤¤¤¦°Õ¿Þ¤ò¼¨¤¹¡£</p>
<p>&valid;¤Êʸ½ñ¤Ç¤Ï¡¤¤³¤Î°À­¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¤Â¾¤Î°À­¤ÈƱ¤¸¤è¤¦¤Ë<termref def="dt-attdecl">Àë¸À</termref>¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£Àë¸À¤¹¤ë¤È¤­¤Ï¡¤¼è¤êÆÀ¤ëÃͤò"<code>default</code>"µÚ¤Ó "<code>preserve</code>"¤À¤±¤È¤¹¤ë<termref def='dt-enumerated'>Îóµó·¿</termref>¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
<p>ÃÍ"<code>default</code>"¤Ï¡¤&application;¤Î&default;¤Î¶õÇò½èÍý¥â¡¼¥É¤ò¡¤¤½¤ÎÍ×ÁǤËŬÍѲÄǽ¤È¤¹¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë¡£ÃÍ"<code>preserve</code>"¤Ï¡¤&application;¤¬¤¹¤Ù¤Æ¤Î¶õÇò¤òÊݸ¤¹¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë¡£¤³¤ÎÀë¸À¤Î°Õ¿Þ¤Ï¡¤"<code>xml:space</code>" °À­¤ÎÊ̤λØÄê¤Ç¾å½ñ¤­¤·¤Ê¤¤¸Â¤ê¡¤Í×ÁǤÎÆâÍƤ˸½¤ì¤ë¤¹¤Ù¤Æ¤ÎÍ×ÁǤËŬÍѤ¹¤ë¤È²ò¼á¤¹¤ë¡£</p>
<p>ʸ½ñ¤Î<termref def='dt-root'>&root;Í×ÁÇ</termref>¤Ë¤Ä¤¤¤Æ¤Ï¡¤¤³¤Î°À­¤ÎÃͤò»ØÄꤹ¤ë¤«¡¤Ëô¤Ï¤³¤Î°À­¤Î&default-value;¤¬¤¢¤ë¾ì¹ç¤ò½ü¤¤¤Æ¤Ï¡¤&application;¤Ë¤è¤ë¶õÇò¤Î¼è°·¤¤¤Ë¤Ä¤¤¤Æ¡¤¤¤¤«¤Ê¤ë°Õ¿Þ¤â¼¨¤µ¤Ê¤¤¤È²ò¼á¤¹¤ë¡£</p>
<p>Îã¤ò¼¡¤Ë¼¨¤¹¡£
<eg><![CDATA[ <!ATTLIST poem xml:space (default|preserve) 'preserve'>]]></eg>
</p>
</div2>
<div2 id='sec-line-ends'>
<head>¹ÔËö¤Î¼è°·¤¤</head>
<p>XML¤Î<termref def='dt-parsedent'>¹½Ê¸&parsed-entity;</termref>¤Ï¡¤Ä̾拾¥ó¥Ô¥å¡¼¥¿¤Î¥Õ¥¡¥¤¥ëÆâ¤ËÊݸ¤µ¤ì¡¤ÊÔ½¸¤ÎÊص¹¤Î¤¿¤á¤ËÊ£¿ô¤Î¹Ô¤Ëʬ¤±¤ë¤³¤È¤¬Â¿¤¤¡£¤³¤ì¤é¤Î¹Ô¤Ï¡¤ÉáÄ̤ϡ¤<code>CR</code> (#xD)¥³¡¼¥ÉµÚ¤Ó <code>LF</code> (#xA)¥³¡¼¥É¤Î²¿¤é¤«¤ÎÁȹ礻¤Ë¤è¤Ã¤Æʬ¤±¤é¤ì¤ë¡£</p>
<p><termref def='dt-app'>&application;</termref>¤Î½èÍý¤ò´Êñ¤Ë¤¹¤ë¤¿¤á¡¤³°Éô&parsed-entity;Ëô¤ÏÆâÉô&parsed-entity;¤Î&literal;¼ÂÂÎÃͤ¬¡¤"<code>#xD#xA</code>" ¤Î£²Ê¸»ú¤ÎϢ³¤È¤¹¤ë&literal;Ëô¤Ï<code>#xD</code>¤ÎñÆȤÎ&literal;¤ò´Þ¤à¾ì¹ç¤Ë¡¤<termref def='dt-xml-proc'>XML&processor;</termref>¤Ï¡¤&application;¤Ëñ°ì¤Îʸ»ú<code>#xA</code>¤À¤±¤òÅϤµ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤(¤³¤Î½èÍý¤Ï¡¤ÆþÎÏÆâ¤Ë¸ºß¤¹¤ë²þ¹Ô¥³¡¼¥É¤ò¹½Ê¸²òÀϤÎÁ°¤ËÀµµ¬²½¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¤Íưפ˼¸½¤Ç¤­¤ë¡£)¡£</p>
</div2>
<div2 id='sec-lang-tag'>
<head>&language-identification;</head>
<p>ʸ½ñ½èÍý¤Ë¤ª¤¤¤Æ¤Ï¡¤¤½¤Îʸ½ñ¤ÎÃæ¿È¤¬¤É¤ó¤Ê¼«Á³¸À¸ìËô¤Ï·Á¼°¸À¸ì¤Ç½ñ¤«¤ì¤Æ¤¤¤ë¤«ÌÀ¼¨¤¹¤ë¤³¤È¤¬¡¤Ìò¤ËΩ¤Ä¤³¤È¤¬Â¿¤¤¡£<!--¤³¤³¤Ç»ÈÍѤ¹¤ë¡È¸À¸ì¡É¤È¤¤¤¦¸ÀÍդΰÕÌ£¤Ï¡¤"Espa&#x00F1;ol" µÚ¤Ó"EBNF"¤ÎÁÐÊý¤ÇÎ㼨¤µ¤ì¤ë°ÕÌ£¤È¤¹¤ë¡£--><!-- x00F1: spanish's small ntilde--></p>
<!--; ¤³¤Î¾ðÊó¤Ï¡ÊÎã¤ò¤¢¤²¤ì¤Ð¡Ëʸ½ñ¤Îʸ»ú¤Îɽ¼¨¡¤Ê¤Ӥ˾ðÊóÃê½Ð¤Î¤¿¤á¤Î¸ì´´¡¦·ÁÂÖÁDzòÀϵڤӥƥ­¥¹¥È¥Ö¥í¥Ã¥¯¤ÎÀ°·Á¤Ë±Æ¶Á¤òµÚ¤Ü¤¹²ÄǽÀ­¤¬¤¢¤ë¡£-->
<p>XMLʸ½ñÆâ¤ÎÍ×ÁǤΤâ¤ÄÆâÍÆËô¤Ï°À­Ãͤˤª¤¤¤Æ»ÈÍѤ¹¤ë<!--¼«Á³Ëô¤Ï·Á¼°-->¸À¸ì¤ò»ØÄꤹ¤ë¤¿¤á¤Ë¡¤"<code>xml:lang</code>" ¤È¤¤¤¦Ì¾Á°¤ÎÆÃÊ̤Ê<termref def="dt-attr">°À­</termref>¤ò¡¤Ê¸½ñÆâ¤ËÁÞÆþ¤·¤Æ¤â¤è¤¤¡£
<!--; ¤³¤Î°À­¤ÏXMLµ¬Äê¤Î°ìÉô¤È¤·¤Æ¡¤Ê£¿ô¤ÎXML&application;¤ÎÁê¸ß±¿ÍÑÀ­¤ò¹â¤á¤ë¤¿¤á¤ËÄêµÁ¤¹¤ë¡£-->
°À­¤ÎÃͤϡ¤<bibref ref="RFC1766"/>¡ÈRFC1766¡§&language-identification;¤Î¤¿¤á¤Î¥¿¥°¡É¤Ë¤è¤Ã¤Æµ¬Äꤵ¤ì¤ë&language-identification;¥³¡¼¥É¤Ë½¾¤¦¡£
<scrap lang='ebnf'>
<head>&language-identification;</head>
<prod id='NT-LanguageID'><lhs>LanguageID</lhs>
<rhs><nt def='NT-Langcode'>Langcode</nt>
('-' <nt def='NT-Subcode'>Subcode</nt>)*</rhs></prod>
<prod id='NT-Langcode'><lhs>Langcode</lhs>
<rhs><nt def='NT-ISO639Code'>ISO639Code</nt> |
<nt def='NT-IanaCode'>IanaCode</nt> |
<nt def='NT-UserCode'>UserCode</nt></rhs>
</prod>
<prod id='NT-ISO639Code'><lhs>ISO639Code</lhs>
<rhs>([a-z] | [A-Z]) ([a-z] | [A-Z])</rhs></prod>
<prod id='NT-IanaCode'><lhs>IanaCode</lhs>
<rhs>('i' | 'I') '-' ([a-z] | [A-Z])+</rhs></prod>
<prod id='NT-UserCode'><lhs>UserCode</lhs>
<rhs>('x' | 'X') '-' ([a-z] | [A-Z])+</rhs></prod>
<prod id='NT-Subcode'><lhs>Subcode</lhs>
<rhs>([a-z] | [A-Z])+</rhs></prod>
</scrap>
<nt def='NT-Langcode'>Langcode</nt>¤Ï¡¤¼¡¤Î¤É¤ì¤Ç¤â¤è¤¤¡£
<ulist>
<item><p>a) <bibref ref="ISO639"/>¡È¸À¸ì¤Î̾Á°É½¸½¤Î¤¿¤á¤Î¥³¡¼¥É¡É¤Çµ¬Äꤵ¤ì¤ë2ʸ»ú¤Î&language-code;</p></item>
<item><p>b) Internet Assigned Numbers Authority (IANA)¤ÇÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë&language-code;¡£¤³¤ì¤Ï¡¤ÀèƬ¤¬ "<code>i-</code>" (Ëô¤Ï"<code>I-</code>")¤Ç»Ï¤Þ¤ë¡£</p></item>
<item><p>c) &user;¤Ë¤è¤Ã¤ÆÄê¤á¤é¤ì¤¿&language-code;¡¤Ëô¤Ï»äŪ¤Ê»ÈÍѤΤ¿¤á¤ËÊ£¿ô¤ÎÃÄÂδ֤¬¼è¤ê·è¤á¤¿¥³¡¼¥É¡£¤³¤ì¤é¤Ï¡¤º£¸åIANA¤Ë¤ª¤¤¤Æɸ½à²½Ëô¤ÏÅÐÏ¿¤µ¤ì¤ë¥³¡¼¥É¤È¤Î¶¥¹ç¤òÈò¤±¤ë¤¿¤á¤Ë¡¤ÀèƬ¤ò"<code>x-</code>" Ëô¤Ï "<code>X-</code>" ¤Ç»Ï¤á¤ë¡£</p></item>
</ulist></p>
<p><nt def='NT-Subcode'>Subcode</nt>¤Ï¡¤Ê£¿ô²ó»È¤Ã¤Æ¤â¤è¤¤¡£ºÇ½é¤Î¥µ¥Ö¥³¡¼¥É¤¬Â¸ºß¤·¡¤¤½¤ÎÆâÍƤ¬Æó¤Ä¤Îʸ»ú¤«¤éÀ®¤ë¤È¤­¤Ï¡¤<bibref ref="ISO3166"/>ISO3166¤Î¡È¹ñ̾¤òɽ¤¹¥³¡¼¥É(¹ñ¥³¡¼¥É)¡É¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£ºÇ½é¤Î¥µ¥Ö¥³¡¼¥É¤¬3ʸ»ú°Ê¾å¤«¤éÀ®¤ë¤È¤­¤Ï¡¤<nt def='NT-Langcode'>Langcode</nt>¤ÎÀèƬ¤¬¡¤"<code>x-</code>" Ëô¤Ï "<code>X-</code>"¤Ç»Ï¤Þ¤é¤Ê¤¤¸Â¤ê¡¤»ØÄꤷ¤¿¸À¸ì¤ËÂФ¹¤ë¥µ¥Ö¥³¡¼¥É¤È¤·¡¤IANA¤ËÅÐÏ¿¤µ¤ì¤¿¤â¤Î¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
<p>&language-code;¤Ï¡¤¾®Ê¸»ú¤Ç¤Îɽµ­¤ò¡¤&country-code;¤Ï¡¤(¸ºß¤¹¤ë¤Ê¤é¤Ð)Âçʸ»ú¤Ç¤Îɽµ­¤ò´·¹Ô¤È¤¹¤ë¡£¤·¤«¤·¡¤XMLʸ½ñÆâ¤Ë¤ª¤±¤ë¾¤Î̾Á°¤È¤Ï°Û¤Ê¤ê¡¤¤³¤ì¤é¤ÎÃͤˤĤ¤¤Æ¤Ï¡¤Âçʸ»úµÚ¤Ó¾®Ê¸»ú¤Î¶èÊ̤ò¤·¤Ê¤¤¤³¤È¤ËÃí°Õ¤¹¤ë¤³¤È¡£</p>
<p>Îã¤ò¼¡¤Ë¼¨¤¹¡£
<eg><![CDATA[<p xml:lang="en">The quick brown fox jumps over the lazy dog.</p>
<p xml:lang="en-GB">What colour is it?</p>
<p xml:lang="en-US">What color is it?</p>
<sp who="Faust" desc='leise' xml:lang="de">
<l>Habe nun, ach! Philosophie,</l>
<l>Juristerei, und Medizin</l>
<l>und leider auch Theologie</l>
<l>]]><!-- x00DF german's es-zet; x00FC german's u-umlaut -->durchaus studiert mit hei&#223;em Bem&#252;h'n.<![CDATA[</l>
</sp>]]></eg></p>
<!--<p>xml:lang ¤ÎÃͤϡ¤Í×ÁǤÎÆâÍƵڤÓ(°À­¤Î&default-value;¤ÇÄê¤á¤Ê¤¤¸Â¤ê)¥Õ¥ê¡¼¥Æ¥­¥¹¥È(CDATA)¤ÎÃͤò¤â¤Ä¤½¤ÎÍ×ÁǤؤΤ¹¤Ù¤Æ¤Î°À­¤ÎÃͤˤĤ¤¤Æ¡¤¤½¤ÎξÊý¤ËŬÍѤ¹¤ë¡£-->
<p><code>xml:lang</code>¤ÇÀë¸À¤¹¤ë°Õ¿Þ¤Ï¡¤<code>xml:lang</code>¤ÎÊ̤λØÄê¤Ç¾å½ñ¤·¤Ê¤¤¸Â¤ê¡¤»ØÄꤷ¤¿Í×ÁǤÎÆâÍƤ˴ޤह¤Ù¤Æ¤ÎÍ×ÁǤËŬÍѤ¹¤ë¡£</p>
<!--¤¢¤ëÍ×ÁǤˤª¤±¤ë xml:lang °À­¤ÎÃͤ¬Äê¤á¤é¤ì¤Æ¤ª¤é¤º¡¤DTD¤Ë¤ª¤¤¤Æ¤½¤Î&default-value;¤¬Äê¤á¤é¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¤¤½¤ÎÍ×ÁǤÎxml:lang °À­¤ÎÃͤϡ¤¿ÆÍ×ÁǤǤÎÃͤ¬Â¸ºß¤¹¤ë¾ì¹ç¤Ï¡¤¤½¤ì¤ò°ú¤­·Ñ¤°¡£ ¼¡¤ÎÎã¤Ë¤ª¤±¤ëÆó¤Ä¤Î<term>¤È¤¤¤¦Ì¾Á°¤ÎÀìÌçÍѸì¤òɽ¤¹Í×ÁǤϡ¤xml:lang¤ÎÃͤ˴ؤ·¤Æ¤Ï¡¤¼ÂºÝ¾å¡¤Æ±¤¸Ãͤò¤â¤Ä¡£
<p xml:lang="en">Here the keywords are
<term xml:lang="en">shift</term> and
<term>reduce</term>. ...</p>
XML&processor;¤Ç¤Ï¤Ê¤¯&application;¤¬¡¤¤³¤Î°À­ÃͤηѾµ¤Ë¤Ä¤¤¤ÆÀÕǤ¤ò¤â¤Ä¡£
-->
<p>
&valid;¤Êʸ½ñ¤Ë¤ª¤¤¤Æ¤Ï¡¤¤³¤Î&TR-or-Rec;¤Î¾¤Î¾ì½ê¤Çµ¬Äꤹ¤ë¤È¤ª¤ê¡¤¤³¤Î°À­¤òɬ¤ºÀë¸À¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£Ä̾Àë¸À¤Ï¡¤¼¡¤Î·Á¤È¤¹¤ë¡£
<eg>xml:lang NMTOKEN #IMPLIED</eg>
ɬÍפʤé¤Ð¡¤ÆÃÄê¤Î&default-value;¤òÍ¿¤¨¤Æ¤â¤è¤¤¡£±Ñ¸ì¤òÊì¸ì¤È¤¹¤ë³ØÀ¸ÍѤΥեé¥ó¥¹¸ì¤Î»í½¸¤Ç¤Ï¡¤ÀâÌÀµÚ¤ÓÃí¤ò±Ñ¸ì¤Çµ­½Ò¤¹¤ì¤Ð¡¤xml:lang °À­¤ò¼¡¤Î¤È¤ª¤ê¤ËÀë¸À¤¹¤ë¤³¤È¤È¤Ê¤ë¡£
<eg><![CDATA[ <!ATTLIST poem xml:lang NMTOKEN 'fr'>
<!ATTLIST gloss xml:lang NMTOKEN 'en'>
<!ATTLIST note xml:lang NMTOKEN 'en'>]]></eg>
</p>
<!--
DTD¤ÎÀ߷׼Ԥϡ¤¥¹¥¯¥ê¥×¥È¤ò¸À¸ì(µÚ¤Ó¤½¤ÎÇÉÀ¸ÂÎ)¤ËÊñÀݤ·¤Æ°·¤¦¤Î¤Ç¤Ï¤Ê¤¯¡¤¥¹¥¯¥ê¥×¥ÈµÚ¤Ó¸À¸ì¤òƱ¼¡¸µ¤Ç°·¤¦¤Î¤¬Å¬Åö¤Ê¾ì¹ç¡¤¸À¸ì°À­¤ÈƱÍͤ˥¹¥¯¥ê¥×¥È°À­¤¬Â¸ºß¤¹¤ì¤ÐÍ­ÍѤÀ¤È»×¤¦¤«¤â¤·¤ì¤Ê¤¤¡£¥ê¥ó¥¯Í×ÁǤˤª¤¤¤Æ¡¤»²¾È¤µ¤ì¤¿Ëô¤Ï¥ê¥ó¥¯¤µ¤ì¤¿¥ê¥½¡¼¥¹¤Ë¤ª¤±¤ë(¼çÍפÊ)¸À¸ì(¾ì¹ç¤Ë¤è¤Ã¤Æ¤ÏÊ£¿ô)¤òɽ¤¹Í×ÁǤòÄêµÁ¤¹¤ë¤Î¤â˾¤Þ¤·¤¤¡£¤·¤«¤·¡¤¤³¤ì¤é¤Î&application;¤Ï¡¤¤³¤Î&TR-or-Rec;¤¬µ¬Äꤹ¤ëÈϰϳ°¤È¤¹¤ë¡£-->
</div2>
</div1>
<!-- &Elements; -->
<div1 id='sec-logical-struct'>
<head>ÏÀÍý¹½Â¤</head>
<p><termdef id="dt-element" term="Element">¤¤¤«¤Ê¤ë<termref def="dt-xml-doc">XMLʸ½ñ</termref>¤â¡¤°ì¤Ä°Ê¾å¤Î<term>Í×ÁÇ</term>¤ò´Þ¤à¡£Í×ÁǤζ­³¦¤Ï, <termref def="dt-stag">³«»Ï¥¿¥°</termref>µÚ¤Ó<termref def="dt-etag">½ªÎ»¥¿¥°</termref>¤Ë¤è¤Ã¤Æ¶èÀڤ롣Í×ÁǤ¬<termref def="dt-empty">¶õ</termref>Í×ÁǤΤȤ­¤Ï¡¤<termref def="dt-eetag">¶õÍ×ÁÇ¥¿¥°</termref>¤Ç¼¨¤¹¡£³Æ¡¹¤ÎÍ×ÁǤϡ¤·¿¤ò¤â¤Ä¡£Í×ÁÇ·¿¤Ï̾Á°(¶¦ÄÌ&identifier;(generic identifier)Ëô¤ÏGI¤È¸Æ¤Ö¤³¤È¤¬¤¢¤ë¡£)¤Ë¤è¤Ã¤Æ&identified;¡£Í×ÁǤϡ¤¤¤¤¯¤Ä¤«¤Î°À­¤ò¤â¤Ä¤³¤È¤¬¤Ç¤­¤ë¡£</termdef>°À­¤Ï¡¤<termref def="dt-attrname">̾Á°</termref>µÚ¤Ó<termref def="dt-attrval">ÃÍ</termref>¤ò¤â¤Ä¡£</p>
<scrap lang='ebnf'><head>Í×ÁÇ</head>
<prod id='NT-element'><lhs>element</lhs>
<rhs><nt def='NT-EmptyElemTag'>EmptyElemTag</nt></rhs>
<rhs>| <nt def='NT-STag'>STag</nt> <nt def='NT-content'>content</nt>
<nt def='NT-ETag'>ETag</nt></rhs><wfc def='GIMatch'/></prod>
</scrap>
<p>¤³¤Î&TR-or-Rec;¤Ï¡¤Í×ÁÇ·¿µÚ¤Ó°À­¤Î°ÕÌ£¡¤»ÈÍÑÊýË¡¡¤Ëô¤Ï(¹½Ê¸¤Ë´Ø¤¹¤ë¤³¤È¤ò½ü¤­)̾Á°¤ËÀ©Ìó¤òÍ¿¤¨¤Ê¤¤¡£¤¿¤À¤·¡¤ÀèƬ¤¬<code>(('X'|'x')('M'|'m')('L'|'l'))</code>¤Ë&match;¤¹¤ë̾Á°¤Ï¡¤¤³¤ÎÈÇËô¤Ïº£¸å¤ÎÈǤΤ³¤Î&TR-or-Rec;¤Ç¤Îɸ½à²½¤Î¤¿¤á¤ËͽÌ󤹤롣</p>
<wfcnote id='GIMatch'><head>Í×ÁÇ·¿¤Î&match;</head>
<p>Í×ÁǤνªÎ»¥¿¥°¤Î<nt def='NT-Name'>̾Á°</nt>¤Ï¡¤¤½¤ÎÍ×ÁǤγ«»Ï¥¿¥°¤Ë¤ª¤±¤ë·¿¤È&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
</wfcnote>
<div2 id='sec-starttags'>
<head>³«»Ï¥¿¥°¡¤½ªÎ»¥¿¥°µÚ¤Ó¶õÍ×ÁÇ¥¿¥°</head>
<p><termdef id="dt-stag" term="Start-Tag">¶õ¤Ç¤Ê¤¤Ç¤°Õ¤ÎXMLÍ×ÁǤλϤޤê¤Ï¡¤<term>³«»Ï¥¿¥°</term>¤Ë¤è¤Ã¤Æ&markup;¤¹¤ë¡£
<scrap lang='ebnf'><head>³«»Ï¥¿¥°</head>
<prodgroup pcw2="6" pcw4="15" pcw5="11.5">
<prod id='NT-STag'><lhs>STag</lhs><rhs>'&lt;' <nt def='NT-Name'>Name</nt> (<nt def='NT-S'>S</nt> <nt def='NT-Attribute'>Attribute</nt>)* <nt def='NT-S'>S</nt>? '>'</rhs><wfc def="uniqattspec"/></prod>
<prod id='NT-Attribute'><lhs>Attribute</lhs><rhs><nt def='NT-Name'>Name</nt> <nt def='NT-Eq'>Eq</nt> <nt def='NT-AttValue'>AttValue</nt></rhs><vc def='ValueType'/><wfc def='NoExternalRefs'/><wfc def='CleanAttrVals'/></prod>
</prodgroup>
</scrap>
³«»Ï¥¿¥°µÚ¤Ó½ªÎ»¥¿¥°Æâ¤Î<nt def='NT-Name'>Name</nt>¤Ï¡¤Í×ÁǤÎ<term>·¿</term>¤òɽ¤ï¤¹¡£</termdef><termdef id="dt-attr" term="Attribute"><nt def='NT-Name'>Name</nt>µÚ¤Ó<nt def='NT-AttValue'>AttValue</nt>¤ÎÂФòÍ×ÁǤÎ<term>°À­»ØÄê</term>¤È¤¤¤¤</termdef>¡¤<termdef id="dt-attrname" term="Attribute Name">¸Ä¡¹¤ÎÂФˤª¤±¤ë<nt def='NT-Name'>Name</nt>¤Ï¡¤<term>°À­Ì¾</term></termdef>µÚ¤Ó<termdef id="dt-attrval" term="Attribute Value"><nt def='NT-AttValue'>AttValue</nt>¤ÎÆâÍÆ(¶èÀÚ¤ê»Ò<code>'</code>Ëô¤Ï<code>"</code>¤Î´Ö¤Î&string;)¤ò<term>°À­ÃÍ</term>¤È¤¤¤¦¡£</termdef></p>
<wfcnote id='uniqattspec'><head>°À­»ØÄê¤Î°ì°ÕÀ­</head>
<p>³«»Ï¥¿¥°Ëô¤Ï¶õÍ×ÁÇ¥¿¥°¤Ç¤Ï¡¤Æ±°ì¤Î°À­Ì¾¤¬£²Åٰʾå½Ð¸½¤·¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£</p></wfcnote>
<vcnote id='ValueType'><head>°À­Ãͤη¿</head>
<p>°À­¤ÏÀë¸À¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£Â°À­Ãͤη¿¤Ï¡¤¤½¤Î°À­¤ËÂФ·¤ÆÀë¸À¤·¤¿·¿¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤(°À­¤Î·¿¤Ë¤Ä¤¤¤Æ¤Ï¡¤<titleref href='AttDecls'>°À­¥ê¥¹¥ÈÀë¸À</titleref>¤Ë¤Ä¤¤¤Æ¤Îµ¬Äê¤ò»²¾È¡£)¡£</p></vcnote>
<wfcnote id='NoExternalRefs'><head>³°Éô¼ÂÂΤؤλ²¾È¤¬¤Ê¤¤¤³¤È</head>
<p>°À­Ãͤˤϡ¤³°Éô¼ÂÂΤؤÎľÀÜŪËô¤Ï´ÖÀÜŪ¤Ê»²¾È¤ò´Þ¤à¤³¤È¤Ï¤Ç¤­¤Ê¤¤¡£</p></wfcnote>
<wfcnote id='CleanAttrVals'><head>°À­ÃͤË<code>&lt;</code>¤ò´Þ¤Þ¤Ê¤¤¤³¤È</head>
<p>°À­ÃÍÆâ¤ÇľÀÜŪËô¤Ï´ÖÀÜŪ¤Ë»²¾È¤¹¤ë¼ÂÂÎ(<code>&amp;lt;</code>¤ò½ü¤¯¡£)¤Î<termref def='dt-repltext'>&replacement-text;</termref>¤Ë¤Ï¡¤<code>&lt;</code>¤ò´Þ¤ó¤Ç¤Ï¤Ê¤é¤Ê¤¤¡£</p></wfcnote>
<p>³«»Ï¥¿¥°¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;termdef id="dt-dog" term="dog"></eg></p>
<p><termdef id="dt-etag" term="End Tag">³«»Ï¥¿¥°¤Ç»Ï¤Þ¤ëÍ×ÁǤνª¤ï¤ê¤Ï¡¤<term>½ªÎ»¥¿¥°</term>¤Ç&markup;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤³¤Î½ªÎ»¥¿¥°¤Ï¡¤Âбþ¤¹¤ë³«»Ï¥¿¥°¤ÎÍ×ÁÇ·¿¤ÈƱ¤¸Ì¾Á°¤ò¤â¤Ä¡£
<scrap lang='ebnf'><head>½ªÎ»¥¿¥°</head><prodgroup pcw2="6" pcw4="15" pcw5="11.5"><prod id='NT-ETag'><lhs>ETag</lhs><rhs>'&lt;/' <nt def='NT-Name'>Name</nt> <nt def='NT-S'>S</nt>? '>'</rhs></prod></prodgroup></scrap></termdef></p>
<p>½ªÎ»¥¿¥°¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;/termdef></eg></p>
<p><termdef id="dt-content" term="Content">Í×ÁǤγ«»Ï¥¿¥°¤È½ªÎ»¥¿¥°¤È¤Î´Ö¤Î<termref def='dt-text'>¥Æ¥­¥¹¥È</termref>¤ò¡¤¤½¤ÎÍ×ÁǤÎ<term>ÆâÍÆ</term>¤È¤¤¤¦¡£
<scrap lang='ebnf'><head>Í×ÁǤÎÆâÍÆ</head>
<prodgroup pcw2="6" pcw4="15" pcw5="11.5"><prod id='NT-content'><lhs>content</lhs><rhs>(<nt def='NT-element'>element</nt> | <nt def='NT-CharData'>CharData</nt> | <nt def='NT-Reference'>Reference</nt> | <nt def='NT-CDSect'>CDSect</nt> | <nt def='NT-PI'>PI</nt> | <nt def='NT-Comment'>Comment</nt>)*</rhs></prod></prodgroup></scrap></termdef></p>
<p><termdef id="dt-empty" term="Empty">Í×ÁǤ¬<term>¶õ</term>¤Î¤È¤­¡¤¤½¤ÎÍ×ÁǤϡ¤Ä¾¸å¤Ë½ªÎ»¥¿¥°¤ò¤â¤Ä³«»Ï¥¿¥°Ëô¤Ï¶õÍ×ÁÇ¥¿¥°¤Çɽ¸½¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</termdef><termdef id="dt-eetag" term="empty-element tag"><term>¶õÍ×ÁÇ¥¿¥°</term>¤Ï¡¤¼¡¤ÎÆÃÊ̤ʷÁ¼°¤ò¤È¤ë¡£
<scrap lang='ebnf'><head>¶õÍ×ÁǤΤ¿¤á¤Î¥¿¥°</head><prodgroup pcw2="6" pcw4="15" pcw5="11.5"><prod id='NT-EmptyElemTag'><lhs>EmptyElemTag</lhs><rhs>'&lt;' <nt def='NT-Name'>Name</nt> (<nt def='NT-S'>S</nt> <nt def='NT-Attribute'>Attribute</nt>)* <nt def='NT-S'>S</nt>? '/&gt;'</rhs><wfc def="uniqattspec"/></prod></prodgroup></scrap></termdef></p>
<!-- ÌçÇÏ¡§¾å¤Î¡È¶õÍ×ÁǤΤ¿¤á¤Î¥¿¥°(tags for empty elements)¡É¤Ï¡È¶õÍ×ÁÇ¥¿¥°(empty-element tag)¡É¤È¤¹¤Ù¤­¤À¤È»×¤¤¤Þ¤¹¤¬¡¤¤¤¤«¤¬¤Ç¤·¤ç¤¦¤« -->
<p>¶õÍ×ÁÇ¥¿¥°¤Ï¡¤ÆâÍƤò¤â¤¿¤Ê¤¤Ç¤°Õ¤ÎÍ×ÁǤÎɽ¸½¤ËÍøÍѤǤ­¤ë¡£¶õÍ×ÁÇ¥¿¥°¤Çɽ¸½¤¹¤ëÍ×ÁǤò¡¤¥­¡¼¥ï¡¼¥É<kw>EMPTY</kw>¤òÍѤ¤¤ÆÀë¸À¤·¤Ê¤¯¤È¤â¤è¤¤¡£</p>
<p>¶õÍ×ÁǤÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;IMG align="left" src="http://www.w3.org/Icons/WWW/w3c_home" />&lt;br>&lt;/br>&lt;br/></eg></p>
</div2>
<div2 id='elemdecls'><head>Í×ÁÇÀë¸À</head>
<p><termref def="dt-valid">&validity;</termref>¤òÊݾڤ¹¤ë¤¿¤á¡¤Í×ÁÇÀë¸ÀµÚ¤Ó°À­¥ê¥¹¥ÈÀë¸À¤òÍѤ¤¤Æ<termref def="dt-xml-doc">XMLʸ½ñ</termref>¤Î<termref def="dt-element">Í×ÁÇ</termref>¤Î¹½Â¤¤Ë¡¤À©Ìó¤ò²Ã¤¨¤ë¤³¤È¤¬¤Ç¤­¤ë¡£</p>
<p>Í×ÁÇÀë¸À¤Ï¡¤Í×ÁǤÎ<termref def="dt-content">ÆâÍÆ</termref>¤Ë¤Ä¤¤¤Æ¤ÎÀ©Ìó¤È¤¹¤ë¡£</p>
<p>Í×ÁÇÀë¸À¤Ï¡¤Í×ÁǤÎ<termref def="dt-parentchild">»Ò</termref>¤È¤·¤Æ½Ð¸½²Äǽ¤ÊÍ×ÁÇ·¿¤Ë¤Ä¤¤¤Æ¡¤À©Ìó¤ò²Ã¤¨¤ë¤³¤È¤¬Â¿¤¤¡£&at-user-option;¡¤Í×ÁÇÀë¸À¤ò¤â¤¿¤Ê¤¤Í×ÁÇ·¿¤¬Â¾¤ÎÍ×ÁÇÀë¸À¤Ë¤è¤Ã¤Æ»²¾È¤µ¤ì¤ì¤Ð¡¤XML&processor;¤Ï¡¤·Ù¹ð¤ò½Ð¤·¤Æ¤â¤è¤¤¡£¤·¤«¤·¡¤¤³¤ì¤Ï&error;¤È¤Ï¤·¤Ê¤¤¡£</p>
<p><termdef id="dt-eldecl" term="Element Type declaration"><term>Í×ÁÇ·¿Àë¸À</term>¤Ï¡¤¼¡¤Î·Á¼°¤ò¤È¤ë¡£
<scrap lang='ebnf'><head>Í×ÁÇ·¿Àë¸À</head><prodgroup pcw2="5.5" pcw4="18" pcw5="9">
<prod id='NT-elementdecl'><lhs>elementdecl</lhs>
<rhs>'&lt;!ELEMENT' <nt def='NT-S'>S</nt>
<nt def='NT-Name'>Name</nt>
<nt def='NT-S'>S</nt>
<nt def='NT-contentspec'>contentspec</nt>
<nt def='NT-S'>S</nt>? '>'</rhs>
<vc def='EDUnique'/></prod>
<prod id='NT-contentspec'><lhs>contentspec</lhs>
<rhs>'EMPTY'
| 'ANY'
| <nt def='NT-Mixed'>Mixed</nt>
| <nt def='NT-children'>children</nt>
</rhs>
<vc def='elementvalid'/>
</prod>
</prodgroup>
</scrap>
¤³¤³¤Ç¡¤<nt def='NT-Name'>Name</nt>¤Ï¡¤Àë¸À¤µ¤ì¤Æ¤¤¤ëÍ×ÁǤη¿¤È¤¹¤ë¡£</termdef></p>
<vcnote id='EDUnique'><head>Í×ÁÇÀë¸À¤Î°ì°ÕÀ­</head>
<p>Í×ÁÇ·¿¤ò£²ÅٰʾåÀë¸À¤Ç¤­¤Ê¤¤¡£</p></vcnote>
<vcnote id='elementvalid'><head>Í×ÁǤÎ&validity;</head>
<p>Í×ÁǤ¬<!-- said to be -->&valid;¤È¤Ï¡¤<nt def='NT-elementdecl'>elementdecl</nt>¤Ë&match;¤¹¤ëÀë¸À¤Ç¤¢¤Ã¤Æ¡¤¤½¤Î<nt def='NT-Name'>Name</nt>¤¬¤½¤ÎÍ×ÁÇ·¿¤È&match;¤·¡¤¼¡¤Î¤¤¤º¤ì¤«¤Î¾ò·ï¤òËþ¤¿¤¹¾ì¹ç¤È¤¹¤ë¡£<ulist>
<item><p>a) Àë¸À¤¬<kw>EMPTY</kw>¤Ë&match;¤·¡¤Í×ÁǤ¬<termref def='dt-content'>ÆâÍÆ</termref>¤ò¤â¤¿¤Ê¤¤¡£</p></item>
<item><p>b) Àë¸À¤¬<nt def='NT-children'>children</nt>¤Ë&match;¤·¡¤Í×ÁǤÎ<termref def="dt-parentchild">»ÒÍ×ÁÇ</termref>¤ÎʤӤ¬¡¤ÆâÍÆ¥â¥Ç¥ë¤ÎÀµµ¬É½¸½¤Ë¤è¤Ã¤ÆÀ¸À®¤µ¤ì¤ë¸À¸ì¤Ë°¤¹¤ë¡£</p></item>
<item><p>c) Àë¸À¤¬<nt def='NT-Mixed'>mixed</nt>¤Ë&match;¤·¡¤Í×ÁǤÎÆâÍƤ¬<termref def='dt-chardata'>ʸ»ú¥Ç¡¼¥¿</termref>µÚ¤Ó<termref def='dt-parentchild'>»ÒÍ×ÁÇ</termref>¤«¤é¤Ê¤ë¡£»ÒÍ×ÁǤÎÍ×ÁÇ·¿¤Ï¡¤Í×ÁǤÎÆâÍÆ¥â¥Ç¥ë¤Ë½Ð¸½¤¹¤ë̾Á°¤Ë&match;¤¹¤ë¡£</p></item>
<item><p>d) Àë¸À¤¬<kw>ANY</kw>¤Ë&match;¤·¡¤¤É¤Î<termref def='dt-parentchild'>»ÒÍ×ÁÇ</termref>¤ÎÍ×ÁÇ·¿¤âÀë¸À¤µ¤ì¤Æ¤¤¤ë¡£</p></item></ulist>
</p></vcnote>
<!-- with the new VC, I don't think the next few paras add anything -TWB
<p><termdef id="dt-model" term="content model">An element can declared using a <term>content model</term>, in which case its content can be categorized as <termref def="dt-elemcontent">element content</termref> or <termref def='dt-mixed'>mixed content</termref>, as explained below.</termdef></p>
<p>An element whose type declared using the keyword <kw>EMPTY</kw> must be <termref def="dt-empty">empty</termref> and may be tagged using an <termref def="dt-eetag">empty-element tag</termref> when it appears in the document.</p>
<p>If an element type is declared using the keyword <kw>ANY</kw>, then there are no validity constraints on its content: it may contain <termref def='dt-parentchild'>child elements</termref> of any type and number, interspersed with character data.</p> -->
<p>Í×ÁÇÀë¸À¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>
&lt;!ELEMENT br EMPTY>
&lt;!ELEMENT p (#PCDATA|emph)* >
&lt;!ELEMENT %name.para; %content.para; >
&lt;!ELEMENT container ANY>
</eg></p>
<div3 id='sec-element-content'><head>Í×ÁÇÆâÍÆ</head>
<p><termdef id='dt-elemcontent' term='Element content'>¤¢¤ë·¿¤ÎÍ×ÁǤ¬<termref def='dt-parentchild'>»Ò</termref>Í×ÁǤÀ¤±¤ò´Þ¤à(ʸ»ú¥Ç¡¼¥¿¤ò´Þ¤Þ¤Ê¤¤¡£)¤È¤­¡¤¤½¤ÎÍ×ÁÇ<termref def="dt-stag">·¿</termref>¤Ï¡¤<term>Í×ÁÇÆâÍÆ</term>¤ò¤â¤Ä¡¤¤È¤¤¤¦¡£</termdef>¤³¤Î¾ì¹ç¡¤À©Ìó¤Ï¡¤ÆâÍÆ¥â¥Ç¥ë¤ò´Þ¤à¡£ÆâÍÆ¥â¥Ç¥ë¤Ï¡¤»ÒÍ×ÁǤη¿µÚ¤Ó»ÒÍ×ÁǤνи½½ç½ø¤òÀ©¸æ¤¹¤ë´Êñ¤Êʸˡ¤È¤¹¤ë¡£¤³¤Îʸˡ¤Ï¡¤&content-particle;(<nt def='NT-cp'>cp</nt>s)¤«¤é¤Ê¤ë¡£&content-particle;¤Ï¡¤Ì¾Á°¡¤&content-particle;¤ÎÁªÂò¥ê¥¹¥ÈËô¤Ï&content-particle;¤ÎÎó¥ê¥¹¥È¤«¤é¹½À®¤µ¤ì¤ë¡£
<scrap lang='ebnf'><head>Í×ÁÇÆâÍÆ¥â¥Ç¥ë</head><prodgroup pcw2="5.5" pcw4="16" pcw5="11">
<prod id='NT-children'><lhs>children</lhs><rhs>(<nt def='NT-choice'>choice</nt> | <nt def='NT-seq'>seq</nt>) ('?' | '*' | '+')?</rhs></prod><prod id='NT-cp'><lhs>cp</lhs><rhs>(<nt def='NT-Name'>Name</nt> | <nt def='NT-choice'>choice</nt> | <nt def='NT-seq'>seq</nt>) ('?' | '*' | '+')?</rhs></prod>
<prod id='NT-choice'><lhs>choice</lhs><rhs>'(' <nt def='NT-S'>S</nt>? cp ( <nt def='NT-S'>S</nt>? '|' <nt def='NT-S'>S</nt>? <nt def='NT-cp'>cp</nt> )*<nt def='NT-S'>S</nt>? ')'</rhs><vc def='vc-PEinGroup'/></prod>
<prod id='NT-seq'><lhs>seq</lhs><rhs>'(' <nt def='NT-S'>S</nt>? cp ( <nt def='NT-S'>S</nt>? ',' <nt def='NT-S'>S</nt>? <nt def='NT-cp'>cp</nt> )*<nt def='NT-S'>S</nt>? ')'</rhs><vc def='vc-PEinGroup'/></prod>
<!-- <prod id='NT-cps'><lhs>cps</lhs><rhs><nt def='NT-S'>S</nt>? <nt def='NT-cp'>cp</nt> <nt def='NT-S'>S</nt>?</rhs></prod>
<prod id='NT-choice'><lhs>choice</lhs><rhs>'(' <nt def='NT-S'>S</nt>? <nt def='NT-ctokplus'>ctokplus</nt> (<nt def='NT-S'>S</nt>? '|' <nt def='NT-S'>S</nt>? <nt def='NT-ctoks'>ctoks</nt>)* <nt def='NT-S'>S</nt>? ')'</rhs></prod>
<prod id="NT-ctokplus"><lhs>ctokplus</lhs><rhs><nt def="NT-cps">cps</nt>('|' <nt def="NT-cps">cps</nt>)+</rhs></prod>
<prod id="NT-ctoks"><lhs>ctoks</lhs><rhs><nt def="NT-cps">cps</nt>('|' <nt def="NT-cps">cps</nt>)*</rhs></prod>
<prod id='NT-seq'><lhs>seq</lhs><rhs>'(' <nt def='NT-S'>S</nt>?<nt def='NT-stoks'>stoks</nt> (<nt def='NT-S'>S</nt>? ',' <nt def='NT-S'>S</nt>? <nt def='NT-stoks'>stoks</nt>)*<nt def='NT-S'>S</nt>? ')'</rhs></prod>
<prod id="NT-stoks"><lhs>stoks</lhs><rhs><nt def="NT-cps">cps</nt>(',' <nt def="NT-cps">cps</nt>)*</rhs></prod>
-->
</prodgroup></scrap>
¤³¤³¤Ç¡¤<nt def='NT-Name'>Name</nt>¤Ï¡¤<termref def="dt-parentchild">»Ò</termref>¤È¤·¤Æ½Ð¸½¤·¤Æ¤è¤¤Í×ÁǤη¿¤ò¼¨¤¹¡£¤³¤Îʸˡ¤ÇÁªÂò¥ê¥¹¥È¤¬¸½¤ì¤ë°ÌÃ֤Ǥϡ¤ÁªÂò¥ê¥¹¥ÈÆâ¤Î¤¤¤º¤ì¤Î&content-particle;¤â<termref def="dt-elemcontent">Í×ÁÇÆâÍÆ</termref>¤ÎÃæ¤Ë¸½¤ì¤Æ¤è¤¤¡£Îó¥ê¥¹¥È¤Ë¸½¤ì¤ë&content-particle;¤Ï¡¤¥ê¥¹¥È¤Ç»ØÄꤹ¤ë½çÈ֤ΤȤª¤ê¤Ë¡¤<termref def="dt-elemcontent">Í×ÁÇÆâÍÆ</termref>¤Ë¸½¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£Ì¾Á°Ëô¤Ï¥ê¥¹¥È¤Î¸å¤Ë½Ð¸½¤¹¤ë¥ª¥×¥·¥ç¥ó¤Îʸ»ú<!-- ÌçÇÏ¡§character¤òʸ»ú¤ÈÌõ¤·¤Þ¤·¤¿ -->¤Ï¡¤¥ê¥¹¥ÈÆâ¤ÎÍ×ÁÇËô¤Ï&content-particle;¤¬¡¤1²ó°Ê¾åǤ°Õ¤Î²ó¿ô(<code>+</code>)¡¤0²ó°Ê¾åǤ°Õ¤Î²ó¿ô(<code>*</code>)Ëô¤Ï0²ó¼ã¤·¤¯¤Ï1²ó(<code>?</code>)½Ð¸½²Äǽ¤Ê¤³¤È¤òµ¬Äꤹ¤ë¡£¤³¤³¤Ç¼¨¤¹¹½Ê¸µÚ¤Ó°ÕÌ£¤Ï¡¤¤³¤Î&TR-or-Rec;¤Ë¤ª¤±¤ëÀ¸À®µ¬Â§¤ÇÍѤ¤¤ë¤â¤Î¤ÈƱ°ì¤È¤¹¤ë¡£</p>
<!-- ÌçÇÏ¡§¾å¤Îʸ¤Ç¤Ï¡¤¡ÈnameËô¤Ïlist¤Î¸å¤Ë³¤¯Ê¸»ú¡É¤¬¡Èlist¤Î½Ð¸½¤òµ¬Äꤹ¤ë¡É¤È¤¢¤Ã¤Æ¡¤name¤Î½Ð¸½¤òµ¬Äꤹ¤ë¤È¤Ï½ñ¤¤¤Æ¤¢¤ê¤Þ¤»¤ó¡£½¤Àµ¤¬É¬Íפȹͤ¨¤Þ¤¹¡£ -->
<p>Í×ÁǤÎÆâÍƤ¬ÆâÍÆ¥â¥Ç¥ë¤Ë&match;¤¹¤ë¤Î¤Ï¡¤Îó¡¤ÁªÂòµÚ¤Ó·«ÊÖ¤·±é»»»Ò¤Ë¤·¤¿¤¬¤Ã¤Æ¡¤ÆâÍƤÎÃæ¤ÎÍ×ÁǤÈÆâÍÆ¥â¥Ç¥ëÆâ¤ÎÍ×ÁÇ·¿¤È¤ò&match;¤µ¤»¤Ê¤¬¤é¡¤ÆâÍÆ¥â¥Ç¥ëÆâ¤Î°ì¤Ä¤Î¥Ñ¥¹¤ò¤¿¤É¤ì¤ë¤È¤­¤Ë¸Â¤ë¡£<termref def='dt-compat'>¸ß´¹À­¤Î¤¿¤á</termref>¡¤Ê¸½ñÆâ¤ÎÍ×ÁǤ¬¡¤ÆâÍÆ¥â¥Ç¥ë¤Ë¤ª¤±¤ëÍ×ÁÇ·¿¤ÎÊ£¿ô¤Î½Ð¸½°ÌÃÖ¤È&match;¤¹¤ë¤³¤È¤Ï¡¤&error;¤È¤¹¤ë¡£¾ÜºÙ¤Êµ¬Äê¤Ë¤Ä¤¤¤Æ¤Ï¡¤Éí°½ñ¤Î<titleref xml-link="simple" href="determinism">·èÄêŪÆâÍÆ¥â¥Ç¥ë</titleref>¤Î¹à¤ò»²¾È¡£
<!-- appendix <specref ref="determinism"/>. -->
<!-- appendix on deterministic content models. -->
</p>
<vcnote id='vc-PEinGroup'>
<head>¥°¥ë¡¼¥×µÚ¤Ó¥Ñ¥é¥á¥¿¼ÂÂΤ¬¸·Ì©¤ÊÆþ¤ì»Ò¤ò¤Ê¤·¤Æ¤¤¤ë¤³¤È</head>
<p>¥Ñ¥é¥á¥¿¼ÂÂΤÎ<termref def='dt-repltext'>&replacement-text;</termref>¤Ï¡¤&parenthesis;¤Ç°Ï¤Þ¤ì¤¿¥°¥ë¡¼¥×¤Ë¤è¤Ã¤Æ¡¤¸·Ì©¤ÊÆþ¤ì»Ò¤ò¹½À®¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤Ä¤Þ¤ê¡¤<nt def='NT-choice'>ÁªÂò</nt>¡¤<nt def='NT-seq'>Îó</nt>Ëô¤Ï<nt def='NT-Mixed'>º®ºß</nt>ÉôÉʤˡ¤&left-parenthesis;Ëô¤Ï&right-parenthesis;¤Î¤¤¤º¤ì¤«°ìÊý¤¬<termref def='dt-PERef'>¥Ñ¥é¥á¥¿¼ÂÂÎ</termref>¤Î&replacement-text;¤Ë´Þ¤ì¤ì¤Ð¡¤Â¾Êý¤âƱ¤¸&replacement-text;¤Ë´Þ¤Þ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
<p><termref def='dt-interop'>Áê¸ß±¿ÍÑÀ­¤Î¤¿¤á</termref>¡¤¥Ñ¥é¥á¥¿¼ÂÂλ²¾È¤¬<nt def='NT-choice'>ÁªÂò</nt>¡¤<nt def='NT-seq'>Îó</nt>Ëô¤Ï<nt def='NT-Mixed'>º®ºß</nt>ÆâÍƤ˴ޤޤì¤ì¤Ð¡¤¤½¤Î&replacement-text;¤Ï¶õ¤Ç¤Ê¤¤¤³¤È¤¬Ë¾¤Þ¤·¤¯¡¤&replacement-text;¤ÎÀèƬµÚ¤ÓËöÈø¤Î¶õÇò¤Ç¤Ê¤¤Ê¸»ú¤Ï¡¤¥³¥Í¥¯¥¿(<code>|</code>Ëô¤Ï<code>,</code>)¤Ç¤Ê¤¤Êý¤¬¤è¤¤¡£
</p>
</vcnote>
<p>Í×ÁÇÆâÍÆ¥â¥Ç¥ë¤Î¤¤¤¯¤Ä¤«¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;!ELEMENT spec (front, body, back?)>
&lt;!ELEMENT div1 (head, (p | list | note)*, div2*)>
&lt;!ELEMENT dictionary-body (%div.mix; | %dict.mix;)*></eg></p>
</div3>
<div3 id='sec-mixed-content'>
<head>&mixed-content;</head>
<p><termdef id='dt-mixed' term='Mixed Content'>¤¢¤ëÍ×ÁÇ·¿¤ÎÍ×ÁÇÆâ¤Ë¡¤<termref def="dt-parentchild">»Ò</termref>Í×ÁǤ˺®ºß¤·¤Æʸ»ú¥Ç¡¼¥¿¤¬´Þ¤Þ¤ì¤ë²ÄǽÀ­¤¬¤¢¤ë¤È¤­¡¤¤½¤ÎÍ×ÁÇ<termref def='dt-stag'>·¿</termref>¤Ï¡¤<term>&mixed-content;</term>¤ò¤â¤Ä¤È¤¤¤¦¡£</termdef>¤³¤Î¾ì¹ç¡¤»ÒÍ×ÁǤη¿¤Ë¤Ä¤¤¤Æ¤ÎÀ©Ìó¤¬Â¸ºß¤·¤Æ¤â¤è¤¤<!-- ÌçÇÏ¡§¡Èmay be constrained¡É¤òñ¤Ë¡ÖÀ©Ì󤵤ì¤ë¡×¤ÈÌõ¤·¤Þ¤·¤¿¡£ -->¤¬¡¤»ÒÍ×ÁǤνç½øËô¤Ï½Ð¸½²ó¿ô¤Ë¤Ä¤¤¤Æ¤ÎÀ©Ìó¤Ï¤Ê¤¤¤È¤¹¤ë¡£
<scrap lang='ebnf'>
<head>&mixed-content;Àë¸À</head>
<prodgroup pcw2="5.5" pcw4="16" pcw5="11">
<prod id='NT-Mixed'><lhs>Mixed</lhs>
<rhs>'(' <nt def='NT-S'>S</nt>?
'#PCDATA'
(<nt def='NT-S'>S</nt>?
'|'
<nt def='NT-S'>S</nt>?
<nt def='NT-Name'>Name</nt>)*
<nt def='NT-S'>S</nt>?
')*' </rhs>
<rhs>| '(' <nt def='NT-S'>S</nt>? '#PCDATA' <nt def='NT-S'>S</nt>? ')'
</rhs><vc def='vc-PEinGroup'/>
<vc def='vc-MixedChildrenUnique'/>
</prod>
<!--
<prod id="NT-Mtoks"><lhs>Mtoks</lhs>
<rhs><nt def="NT-Name">Name</nt>
(<nt def='NT-S'>S</nt>?
'|'
<nt def='NT-S'>S</nt>?
<nt def="NT-Name">Name</nt>)*
</rhs>
</prod>
-->
</prodgroup>
</scrap>
¤³¤³¤Ç¡¤<nt def='NT-Name'>Name</nt>¤Ï¡¤»Ò¤È¤·¤Æ½Ð¸½¤·¤Æ¤â¤è¤¤Í×ÁǤη¿¤ò¼¨¤¹¡£
</p>
<vcnote id='vc-MixedChildrenUnique'>
<head>Í×ÁÇ·¿¤Î½ÅÊ£¤Î¶Ø»ß</head>
<p>°ì¤Ä¤Î&mixed-content;Àë¸ÀÆâ¤Ë¡¤Æ±¤¸Ì¾Á°¤¬Ê£¿ô²ó½Ð¸½¤·¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
</p></vcnote>
<p>&mixed-content;Àë¸À¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;!ELEMENT p (#PCDATA|a|ul|b|i|em)*>
&lt;!ELEMENT p (#PCDATA | %font; | %phrase; | %special; | %form;)* >
&lt;!ELEMENT b (#PCDATA)></eg></p>
</div3>
</div2>
<div2 id='attdecls'>
<head>°À­¥ê¥¹¥ÈÀë¸À</head>
<p>
<termref def="dt-attr">°À­</termref>¤Ï¡¤Ì¾Á°µÚ¤ÓÃͤÎÂФò<termref def="dt-element">Í×ÁÇ</termref>¤Ë´ØÏ¢ÉÕ¤±¤ë¤¿¤á¤ËÍѤ¤¤ë¡£Â°À­»ØÄê¤Ï¡¤<termref def="dt-stag">³«»Ï¥¿¥°</termref>Ëô¤Ï<termref def="dt-eetag">¶õÍ×ÁÇ</termref>¥¿¥°Æâ¤Ç¤À¤±²Äǽ¤È¤¹¤ë¡£¤·¤¿¤¬¤Ã¤Æ¡¤Â°À­¤òǧ¼±¤¹¤ë¤¿¤á¤ÎÀ¸À®µ¬Â§¤Ï¡¤<titleref href='sec-starttags'>³«»Ï¥¿¥°</titleref>¤Ë¤Ä¤¤¤Æ¤Îµ¬Äê¤Ç¼¨¤¹¡£Â°À­¥ê¥¹¥ÈÀë¸À¤Ï¡¤¼¡¤ÎÌÜŪ¤ÇÍѤ¤¤ë¡£
<ulist>
<item><p>a) ¤¢¤ëÍ×ÁÇ·¿¤ËŬÍѤ¹¤ë°À­¤Î½¸¹ç¤òµ¬Äꤹ¤ë¡£</p></item>
<item><p>b) °À­¤Ø¤Î·¿À©Ìó¤òÀßÄꤹ¤ë¡£</p></item>
<item><p>c) °À­¤Î<termref def="dt-default">&default-value;</termref>¤òµ¬Äꤹ¤ë¡£</p></item>
</ulist>
</p>
<p>
<termdef id="dt-attdecl" term="Attribute-List Declaration">
<term>°À­¥ê¥¹¥ÈÀë¸À</term>¤Ï¡¤¤¢¤ëÍ×ÁÇ·¿¤È´ØÏ¢ÉÕ¤±¤é¤ì¤¿³Æ°À­¤ËÂФ·¡¤Ì¾Á°¡¤¥Ç¡¼¥¿·¿µÚ¤Ó(¸ºß¤¹¤ì¤Ð)&default-value;¤òµ¬Äꤹ¤ë¡£
<scrap lang='ebnf'>
<head>°À­¥ê¥¹¥ÈÀë¸À</head>
<prod id='NT-AttlistDecl'><lhs>AttlistDecl</lhs>
<rhs>'&lt;!ATTLIST' <nt def='NT-S'>S</nt>
<nt def='NT-Name'>Name</nt>
<nt def='NT-AttDef'>AttDef</nt>*
<nt def='NT-S'>S</nt>? '&gt;'</rhs>
</prod>
<prod id='NT-AttDef'><lhs>AttDef</lhs>
<rhs><nt def='NT-S'>S</nt> <nt def='NT-Name'>Name</nt>
<nt def='NT-S'>S</nt> <nt def='NT-AttType'>AttType</nt>
<nt def='NT-S'>S</nt> <nt def='NT-Default'>Default</nt></rhs>
</prod>
</scrap>
<nt def='NT-AttlistDecl'>AttlistDecl</nt>µ¬Â§¤Ë¸ºß¤¹¤ë<nt def="NT-Name">Name</nt>¤Ï¡¤Í×ÁÇ·¿¤Î̾Á°¤È¤¹¤ë¡£&at-user-option;¡¤Àë¸À¤·¤Æ¤¤¤Ê¤¤Í×ÁÇ·¿¤ËÂФ·Â°À­¤òÀë¸À¤·¤¿¤Ê¤é¤Ð¡¤XML&processor;¤Ï¡¤·Ù¹ð¤ò½Ð¤·¤Æ¤â¤è¤¤¡£¤·¤«¤·¡¤¤³¤ì¤Ï&error;¤È¤Ï¤·¤Ê¤¤¡£
<nt def='NT-AttDef'>AttDef</nt>µ¬Â§¤Ë¤ª¤±¤ë<nt def='NT-Name'>Name</nt>¤Ï¡¤Â°À­¤Î̾Á°¤È¤¹¤ë¡£
</termdef>
</p>
<p>
¤¢¤ëÍ×ÁǤËÂФ·¤Æ¡¤Ê£¿ô¤Î<nt def='NT-AttlistDecl'>AttlistDecl</nt>¤òÍ¿¤¨¤ë¾ì¹ç¡¤¤³¤ì¤é¤¹¤Ù¤Æ¤ÎÆâÍƤϥޡ¼¥¸¤¹¤ë¡£¤¢¤ëÍ×ÁÇ·¿¤ÎƱ¤¸Â°À­¤Ë¡¤Ê£¿ô¤ÎÄêµÁ¤òÍ¿¤¨¤ë¾ì¹ç¤Ë¤Ï¡¤ºÇ½é¤ÎÀë¸À¤òÍ­¸ú¤È¤·¡¤Â¾¤ÎÀë¸À¤Ï̵»ë¤¹¤ë¡£<termref def='dt-interop'>Áê¸ß±¿ÍÑÀ­¤Î¤¿¤á¤Ë</termref>¡¤DTD¤ÎºîÀ®¼Ô¤Ï¡¤¤¢¤ëÍ×ÁÇ·¿¤Ë¤Ï¹â¡¹°ì¤Ä¤Î°À­¥ê¥¹¥ÈÀë¸À¤·¤«Í¿¤¨¤Ê¤¤¡¤¤¢¤ë°À­Ì¾¤Ë¤Ï¹â¡¹°ì¤Ä¤Î°À­ÄêµÁ¤·¤«Í¿¤¨¤Ê¤¤¡¤µÚ¤Ó¤¹¤Ù¤Æ¤Î°À­¥ê¥¹¥ÈÀë¸À¤Ë¤Ï¾¯¤Ê¤¯¤È¤â°ì¤Ä¤Î°À­ÄêµÁ¤òÍ¿¤¨¤ë¡¤¤È¤¤¤¦ÁªÂò¤ò¤·¤Æ¤â¤è¤¤¡£Áê¸ß±¿ÍÑÀ­¤Î¤¿¤á¤Ë¡¤XML&processor;¤Ï¡¤&at-user-option;¡¤¤¢¤ëÍ×ÁÇ·¿¤ËÊ£¿ô¤Î°À­¥ê¥¹¥ÈÀë¸À¤òÍ¿¤¨¤¿¤ê¡¤¤¢¤ë°À­¤ËÊ£¿ô¤Î°À­ÄêµÁ¤òÍ¿¤¨¤¿¤ê¤·¤¿¤È¤­¤Ë¡¤·Ù¹ð¤ò½Ð¤·¤Æ¤â¤è¤¤¡£¤·¤«¤·¡¤¤³¤ì¤Ï¡¤&error;¤È¤Ï¤·¤Ê¤¤¡£
</p>
<div3 id='sec-attribute-types'>
<head>°À­¤Î·¿</head>
<p>
XML¤Î°À­¤Î·¿¤Ï¡¤£³¼ïÎà¤È¤¹¤ë¡£¤³¤ì¤é¤Ï¡¤&string;·¿¡¤&token;²½·¿µÚ¤ÓÎóµó·¿¤È¤¹¤ë¡£&string;·¿¤Ï¡¤ÃͤȤ·¤ÆǤ°Õ¤Î&string;¤ò¤È¤ë¡£&token;²½·¿¤Ï¡¤¼¡¤Ë¼¨¤¹»ú¶çµÚ¤Ó°ÕÌ£¤Ë´Ø¤¹¤ëÍÍ¡¹¤ÊÀ©Ìó¤ò¤â¤Ä¡£
<scrap lang='ebnf'>
<head>Attribute Types</head>
<prodgroup pcw4="14" pcw5="11.5">
<prod id='NT-AttType'><lhs>AttType</lhs>
<rhs><nt def='NT-StringType'>StringType</nt>
| <nt def='NT-TokenizedType'>TokenizedType</nt>
| <nt def='NT-EnumeratedType'>EnumeratedType</nt>
</rhs>
</prod>
<prod id='NT-StringType'><lhs>StringType</lhs>
<rhs>'CDATA'</rhs>
</prod>
<prod id='NT-TokenizedType'><lhs>TokenizedType</lhs>
<rhs>'ID'</rhs>
<vc def='id'/>
<vc def='one-id-per-el'/>
<vc def='id-default'/>
<rhs>| 'IDREF'</rhs>
<vc def='idref'/>
<rhs>| 'IDREFS'</rhs>
<vc def='idref'/>
<rhs>| 'ENTITY'</rhs>
<vc def='entname'/>
<rhs>| 'ENTITIES'</rhs>
<vc def='entname'/>
<rhs>| 'NMTOKEN'</rhs>
<vc def='nmtok'/>
<rhs>| 'NMTOKENS'</rhs>
<vc def='nmtok'/></prod>
</prodgroup>
</scrap>
</p>
<vcnote id='id' >
<head>ID</head>
<p>
¤³¤Î·¿¤ÎÃͤϡ¤À¸À®µ¬Â§<code>Name</code>¤Ë&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£°ì¤Ä¤ÎXMLʸ½ñÆâ¤Ç¤Ï¡¤°ì¤Ä¤Î̾Á°¤¬¡¤¤³¤Î·¿¤ÎÃͤȤ·¤ÆÊ£¿ô²ó¸½¤ì¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£¤Ä¤Þ¤ê¡¤ID¤ÎÃͤϡ¤Í×ÁǤò°ì°Õ¤Ë&identify;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<vcnote id='one-id-per-el'>
<head>1Í×ÁǤ´¤È¤Ë1ID</head>
<p>
Í×ÁÇ·¿¤Ï¡¤Ê£¿ô¤ÎID°À­Ãͤò¤â¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<vcnote id='id-default'>
<head>ID°À­¤Î&default;</head>
<p>
ID°À­¤Ï¡¤&default;¤È¤·¤Æ¡¤<code>#IMPLIED</code>Ëô¤Ï<code>#REQUIRED</code>¤òÀë¸À¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<vcnote id='idref'>
<head>IDREF</head>
<p>
<kw>IDREF</kw>·¿¤ÎÃͤϡ¤À¸À®µ¬Â§<nt def="NT-Name">Name</nt>¤Ë&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£<kw>IDREFS</kw>·¿¤ÎÃͤϡ¤À¸À®µ¬Â§<nt def="NT-Names">Names</nt>¤Ë&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£³Æ¡¹¤Î<nt def='NT-Name'>Name</nt>¤Ï¡¤XMLʸ½ñÆâ¤Ë¸ºß¤¹¤ëÍ×ÁǤÎID°À­¤ÎÃͤÈ&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤Ä¤Þ¤ê¡¤<kw>IDREF</kw>¤ÎÃͤϡ¤¤¢¤ëID°À­¤ÎÃͤÈ&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<vcnote id='entname'>
<head>¼ÂÂÎ̾</head>
<p>
<kw>ENTITY</kw>·¿¤ÎÃͤϡ¤À¸À®µ¬Â§<nt def="NT-Name">Name</nt>¤Ë&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£<kw>ENTITIES</kw>·¿¤ÎÃͤϡ¤À¸À®µ¬Â§<nt def="NT-Names">Names</nt>¤Ë&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£³Æ¡¹¤Î<nt def="NT-Name">Name</nt>¤Ï¡¤<termref def="dt-doctype">DTD</termref>¤ÇÀë¸À¤¹¤ë<termref def="dt-unparsed">&unparsed-entity;</termref>¤È&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<vcnote id='nmtok'>
<head>̾Á°&token;</head>
<p>
<kw>NMTOKEN</kw>·¿¤ÎÃͤϡ¤Èó½ªÃ¼µ­¹æ<termref def="NT-Nmtoken">Nmtoken</termref>¤È&match;¤¹¤ë&string;¤«¤é¹½À®¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£<kw>NMTOKENS</kw>·¿¤ÎÃͤϡ¤Èó½ªÃ¼µ­¹æ<termref def="NT-Nmtokens">Nmtokens</termref>¤È&match;¤¹¤ë&string;¤«¤é¹½À®¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<p>
XML&processor;¤Ï¡¤&application;¤Ë°À­ÃͤòÅϤ¹Á°¤Ë¡¤<titleref href="AVNormalize">°À­ÃͤÎÀµµ¬²½</titleref>¤Çµ¬Äꤹ¤ë¤È¤ª¤ê¤Ë¡¤Â°À­ÃͤòÀµµ¬²½¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
<p>
<termdef id='dt-enumerated' term='Enumerated Attribute Values'><term>Îóµó·¿¤Î°À­</term>¤Ï¡¤Àë¸À¤·¤¿Ãͤΰì¤Ä¤ò¼è¤ë¤³¤È¤¬¤Ç¤­¤ë¡£</termdef>Îóµó·¿¤Ë¤Ï¡¤2¼ïÎढ¤ë¡£
<scrap lang='ebnf'>
<head>Îóµó°À­¤Î·¿</head>
<prod id='NT-EnumeratedType'><lhs>EnumeratedType</lhs>
<rhs><nt def='NT-NotationType'>NotationType</nt>
| <nt def='NT-Enumeration'>Enumeration</nt>
</rhs></prod>
<prod id='NT-NotationType'><lhs>NotationType</lhs>
<rhs>'NOTATION'
<nt def='NT-S'>S</nt>
'('
<nt def='NT-S'>S</nt>?
<nt def='NT-Name'>Name</nt>
(<nt def='NT-S'>S</nt>? '|' <nt def='NT-Name'>Name</nt>)*
<nt def='NT-S'>S</nt>? ')'
</rhs>
<vc def='notatn' /></prod>
<prod id='NT-Enumeration'><lhs>Enumeration</lhs>
<rhs>'(' <nt def='NT-S'>S</nt>?
<nt def='NT-Nmtoken'>Nmtoken</nt>
(<nt def='NT-S'>S</nt>? '|'
<nt def='NT-S'>S</nt>?
<nt def='NT-Nmtoken'>Nmtoken</nt>)*
<nt def='NT-S'>S</nt>?
')'</rhs>
<vc def='enum'/></prod>
</scrap>
</p>
<vcnote id='notatn'>
<head>µ­Ë¡Â°À­</head>
<p>¤³¤Î·¿¤ÎÃͤϡ¤Àë¸À¤·¤Æ¤¤¤ë<titleref href='Notations'>µ­Ë¡</titleref>¤Î̾Á°¤Î°ì¤Ä¤È&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤Ä¤Þ¤ê¡¤Àë¸À¤Ë¸ºß¤¹¤ëµ­Ë¡Ì¾¤Ï¡¤¤¹¤Ù¤ÆÀë¸À¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<vcnote id='enum'>
<head>Îóµó</head>
<p>
¤³¤Î·¿¤ÎÃͤϡ¤Àë¸À¤Ë¸ºß¤¹¤ë<nt def='NT-Nmtoken'>Nmtoken</nt>&token;¤Î°ì¤Ä¤È&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<p>
<termref def='dt-interop'>Áê¸ß±¿ÍÑÀ­¤Î¤¿¤á</termref>¡¤Æ±¤¸<nt def='NT-Nmtoken'>Nmtoken</nt>¤Ï¡¤Ã±°ìÍ×ÁÇ·¿¤ÎÎóµó·¿¤Î°À­¤È¤·¤Æ¡¤Ê£¿ô²ó¸½¤ì¤Ê¤¤Êý¤¬¤è¤¤¡£
</p>
</div3>
<div3 id='sec-attr-defaults'>
<head>°À­¤Î&default;</head>
<p>
<termref def="dt-attdecl">°À­Àë¸À</termref>¤Ï¡¤Â°À­¤Î»ØÄ꤬ɬ¿Ü¤«¤É¤¦¤«¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤òÍ¿¤¨¤ë¡£É¬¿Ü¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¤Ê¸½ñÆâ¤Ç°À­¤ò»ØÄꤷ¤Ê¤¤¤È¤­¡¤XML&processor;¤Î½èÍýÊýË¡¤Î¾ðÊó¤âÍ¿¤¨¤ë¡£
<scrap lang='ebnf'>
<head>°À­¤Î&default;</head>
<prodgroup pcw4="14" pcw5="11.5">
<prod id='NT-Default'><lhs>Default</lhs>
<rhs>'#REQUIRED'
|&nbsp;'#IMPLIED' </rhs>
<rhs>| (('#FIXED' S)? <nt def='NT-AttValue'>AttValue</nt>)</rhs>
<vc def='defattrvalid'/>
<wfc def="CleanAttrVals"/>
</prod>
</prodgroup>
</scrap>
<!-- improved by bosak
<scrap lang='ebnf'>
<head>Attribute Defaults</head>
<prod id='NT-Default'><lhs>Default</lhs>
<rhs>'#REQUIRED'
|&nbsp;'#IMPLIED' </rhs>
<vc def='defattrvalid'/>
<wfc def="CleanAttrVals"/>
<rhs>| (('#FIXED' S)? <nt def='NT-AttValue'>AttValue</nt>)</rhs>
</prod>
</scrap>-->
</p>
<vcnote id='defattrvalid'>
<head>°À­&default;¤ÎÀµ¤·¤µ</head>
<p>
Àë¸À¤·¤¿&default-value;¤Ï¡¤Àë¸À¤·¤¿Â°À­·¿¤Î»ú¶çÀ©Ìó¤òËþ¤¿¤µ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<p>
<kw>#REQUIRED</kw>¤ò»ØÄꤷ¤¿¤È¤­¡¤¤³¤ÎÍ×ÁÇ·¿¤Î<termref def="dt-stag">³«»Ï¥¿¥°</termref>¤Ç¤¢¤Ã¤Æ¡¤¤³¤Î°À­¤ËÃͤòÍ¿¤¨¤Ê¤¤¤â¤Î¤òXML&processor;¤¬¸«¤Ä¤±¤¿¤Ê¤é¤Ð¡¤¤½¤Îʸ½ñ¤Ï<termref def="dt-valid">&valid;</termref>¤È¤Ï¤·¤Ê¤¤¡£<kw>#IMPLIED</kw>¤ò»ØÄꤷ¤¿¤È¤­¡¤¤³¤Î°À­¤ò¾Êά¤·¤¿¤é¡¤XML&processor;¤Ï¡¤Â°À­Ãͤò»ØÄꤷ¤Ê¤¤¤³¤È¤ò¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ËÅÁ¤¨¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤³¤Î¤È¤­¡¤&application;¤Î¿¶Éñ¤¤¤Ë¤Ä¤¤¤Æ¤ÎÀ©Ìó¤Ï¤Ê¤¤¡£
</p>
<p>
<termdef id="dt-default" term="Attribute Default">
°À­¤¬<kw>#REQUIRED</kw>¤Ç¤â<kw>#IMPLIED</kw>¤Ç¤â¤Ê¤¤¤È¤­¤Ë¤Ï¡¤<nt def='NT-AttValue'>AttValue</nt>¤ÎÃͤ¬¡¤<term>&default-value;</term>¤È¤Ê¤ë¡£<kw>#FIXED</kw>¤Î¾ì¹ç¡¤&default-value;¤È°Û¤Ê¤ëÃͤ¬»ØÄꤵ¤ì¤ì¤Ð¡¤¤½¤Îʸ½ñ¤Ï¡¤<termref def="dt-valid">&valid;</termref>¤È¤·¤Ê¤¤¡£&default-value;¤òÀë¸À¤·¤Æ¤¤¤ë¾ì¹ç¡¤¤³¤Î°À­¤Î¾Êά¤ò¸«¤Ä¤±¤¿¤é¡¤Àë¸À¤·¤¿&default-value;¤ò°À­Ãͤ˻ØÄꤷ¤Æ¤¤¤ë¤È¤·¤Æ¡¤XML&processor;¤Ï¿¶¤ëÉñ¤¦¤³¤È¤¬Ë¾¤Þ¤·¤¤¡£
</termdef></p>
<p>°À­¥ê¥¹¥ÈÀë¸À¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;!ATTLIST termdef
id ID #REQUIRED
name CDATA #IMPLIED>
&lt;!ATTLIST list
type (bullets|ordered|glossary) "ordered">
&lt;!ATTLIST form
method CDATA #FIXED "POST"></eg></p>
</div3>
<div3 id='AVNormalize'>
<head>°À­ÃͤÎÀµµ¬²½</head>
<p>
XML&processor;¤Ï¡¤Â°À­Ãͤò&application;¤ËÅϤ¹Á°¤Ë¡¤¼¡¤Î¤È¤ª¤ê¤ËÀµµ¬²½¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
<ulist>
<item>
<p>a) ¤Þ¤º¡¤Â°À­Ã͵ڤӤ½¤ÎÃæ¤Î¼ÂÂÎÆâ¤Ç¡¤¹ÔËöËô¤Ï¹Ô¶­³¦(Ëô¤Ï¥·¥¹¥Æ¥à¤Ë¤è¤Ã¤Æ¤Ï¥ì¥³¡¼¥É¶­³¦)¤È¤·¤Æ»È¤ï¤ì¤ë&string;¤ò¡¤&space-character;(#x20)°ì¤Ä¤ËÃÖ¤­´¹¤¨¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤(¡Ö<titleref xml-link="simple" href="sec-line-ends">¹ÔËö¤Î°·¤¤</titleref>¡×¤â»²¾È¤Î¤³¤È¡£)¡£
</p></item>
<item>
<p>b) ¼¡¤Ë¡¤Ê¸»ú»²¾ÈµÚ¤ÓÆâÉô&parsed-entity;¤Ø¤Î»²¾È¤Ï¡¤Å¸³«¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£³°Éô¼ÂÂΤؤλ²¾È¤Ï¡¤&error;¤È¤¹¤ë¡£
</p></item>
<item>
<p>c) ºÇ¸å¤Ë¡¤Â°À­¤Î·¿¤¬<kw>CDATA</kw>¤Ç¤Ê¤±¤ì¤Ð¡¤¶õÇò&string;¤Ï¡¤¤¹¤Ù¤Æ&space-character;(#x20)°ì¤Ä¤ËÀµµ¬²½¤·¡¤»Ä¤ê¤Î¶õÇòʸ»ú¤Ï¡¤ºï½ü¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p></item>
</ulist>
&non-validating;&parser;¤Ï¡¤Àë¸À¤¬¸«¤Ä¤«¤é¤Ê¤¤Â°À­¤Ï¡¤¤¹¤Ù¤Æ¡¤<kw>CDATA</kw>¤òÀë¸À¤·¤Æ¤¤¤ë¤È¤·¤Æ°·¤¦¤³¤È¤¬Ë¾¤Þ¤·¤¤¡£</p>
</div3>
</div2>
<div2 id='sec-condition-sect'>
<head>¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó</head>
<p>
<termdef id='dt-cond-section' term='conditional section'>
<term>¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó</term>¤È¤Ï¡¤<termref def='dt-doctype'>ʸ½ñ·¿Àë¸À¤Î³°Éô&subset;</termref>¤Î°ìÉô¤È¤·¡¤À©¸æ¥­¡¼¥ï¡¼¥É¤Î»ØÄê¤Ë¤è¤Ã¤Æ¡¤DTD¤ÎÏÀÍý¹½Â¤¤Ë´Þ¤á¤¿¤ê¡¤½ü¤¤¤¿¤ê¤¹¤ëÉôʬ¤È¤¹¤ë¡£
</termdef>
<scrap lang='ebnf'>
<head>¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó</head>
<prodgroup pcw2="9" pcw4="14.5">
<prod id='NT-conditionalSect'><lhs>conditionalSect</lhs>
<rhs><nt def='NT-includeSect'>includeSect</nt>
| <nt def='NT-ignoreSect'>ignoreSect</nt>
</rhs>
</prod>
<prod id='NT-includeSect'><lhs>includeSect</lhs>
<rhs>'&lt;![' S? 'INCLUDE' S? '['
<!-- (<nt def='NT-markupdecl'>markupdecl</nt>
| <nt def="NT-conditionalSect">conditionalSect</nt>
| <nt def="NT-S">S</nt>)*
-->
<nt def="NT-extSubset">extSubset</nt>
']]&gt;'
</rhs>
</prod>
<prod id='NT-ignoreSect'><lhs>ignoreSect</lhs>
<rhs>'&lt;![' S? 'IGNORE' S? '['
<nt def="NT-ignoreSectContents">ignoreSectContents</nt>*
']]&gt;'</rhs>
</prod>
<prod id='NT-ignoreSectContents'><lhs>ignoreSectContents</lhs>
<rhs><nt def='NT-Ignore'>Ignore</nt>
('&lt;![' <nt def='NT-ignoreSectContents'>ignoreSectContents</nt>
']]&gt;'
<nt def='NT-Ignore'>Ignore</nt>)*</rhs></prod>
<prod id='NT-Ignore'><lhs>Ignore</lhs>
<rhs><nt def='NT-Char'>Char</nt>* -
(<nt def='NT-Char'>Char</nt>* ('&lt;![' | ']]&gt;')
<nt def='NT-Char'>Char</nt>*)
</rhs></prod>
<!--<rhs>
((<nt def='NT-SkipLit'>SkipLit</nt>
| <nt def='NT-Comment'>Comment</nt>
| <nt def='NT-PI'>PI</nt>) -
(<nt def='NT-Char'>Char</nt>* ']]&gt;' <nt def='NT-Char'>Char</nt>*))
| ('&lt;![' <nt def='NT-ignoreSectContents'>ignoreSectContents</nt>*
']]&gt;')
</rhs>
<rhs>
| (<nt def='NT-Char'>Char</nt> - (']' | [&lt;'"]))
</rhs>
<rhs>
| ('&lt;!' (<nt def='NT-Char'>Char</nt> - ('-' | '[')))
</rhs>-->
</prodgroup>
</scrap>
</p>
<p>¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤Ï¡¤DTD¤ÎÆâÉô&subset;µÚ¤Ó³°Éô&subset;¤ÈƱÍͤˡ¤´°Á´¤ÊÀë¸À¡¤¥³¥á¥ó¥ÈËô¤ÏÆþ¤ì»Ò¤Ë¤Ê¤Ã¤¿¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤ò¡¤¤¤¤¯¤Ä¤«´Þ¤ó¤Ç¤è¤¤¡£¤³¤ì¤é¤Î´Ö¤Ë¡¤¶õÇò¤¬¸½¤ì¤Æ¤â¤è¤¤¡£
</p>
<p>
¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤Î¥­¡¼¥ï¡¼¥É¤¬<code>INCLUDE</code>¤Ê¤é¤Ð¡¤XML&processor;¤Ï¡¤¤³¤Î¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤ÎÆâÍƤò¡¤Ê¸½ñ¤Î°ìÉô¤È¤·¤Æ°·¤ï¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤Î¥­¡¼¥ï¡¼¥É¤¬<code>IGNORE</code>¤Ê¤é¤Ð¡¤¤½¤Î¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤ÎÆâÍƤϡ¤Ê¸½ñ¤Î°ìÉô¤È¤·¤Æ°·¤ï¤Ê¤¤¡£¹½Ê¸²òÀϤòÀµ¤·¤¯¹Ô¤¦¤¿¤á¤Ë¤Ï¡¤Ìµ»ë¤¹¤ë¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó(IGNORE)¤Ë´Ø¤·¤Æ¤â¡¤ÆâÍƤòÆɤޤʤ±¤ì¤Ð¤Ê¤é¤Ê¤¤¤³¤È¤ËÃí°Õ¤¹¤ë¤³¤È¡£¤³¤ì¤Ï¡¤Æþ¤ì»Ò¤Ë¤Ê¤Ã¤¿¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤ò¸«¤Ä¤±¡¤(̵»ë¤¹¤ë)ºÇ¤â³°Â¦¤Î¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤òÀµ¤·¤¯¸¡½Ð¤¹¤ë¤¿¤á¤È¤¹¤ë¡£¥­¡¼¥ï¡¼¥É¤ò<code>INCLUDE</code>¤È¤¹¤ë¾®¤µ¤Ê¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤¬¡¤¥­¡¼¥ï¡¼¥É¤ò<code>IGNORE</code>¤È¤¹¤ë¤è¤êÂ礭¤Ê¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤Ë´Þ¤Þ¤ì¤ë¤Ê¤é¤Ð¡¤³°Â¦µÚ¤ÓÆ⦤ξò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤ÎξÊý¤È¤â̵»ë¤¹¤ë¡£
</p>
<p>
¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤Î¥­¡¼¥ï¡¼¥É¤¬¥Ñ¥é¥á¥¿¼ÂÂλ²¾È¤Ê¤é¤Ð¡¤XML&processor;¤Ï¾ò·ïÉÕ¤­¥»¥¯¥·¥ç¥ó¤Î°·¤¤¤òȽÃǤ¹¤ëÁ°¤Ë¡¤¤³¤Î¥Ñ¥é¥á¥¿¼ÂÂΤòŸ³«¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
<p>Îã¤ò¼¡¤Ë¼¨¤¹¡£
<eg>&lt;!ENTITY % draft 'INCLUDE' >
&lt;!ENTITY % final 'IGNORE' >
&lt;![%draft;[
&lt;!ELEMENT book (comments*, title, body, supplements?)>
]]&gt;
&lt;![%final;[
&lt;!ELEMENT book (title, body, supplements?)>
]]&gt;
</eg>
</p>
</div2>
<!--
<div2 id='sec-pass-to-app'>
<head>XML Processor Treatment of Logical Structure</head>
<p>When an XML processor encounters a start-tag, it must make
at least the following information available to the application:
<ulist>
<item>
<p>the element type's generic identifier</p>
</item>
<item>
<p>the names of attributes known to apply to this element type
(validating processors must make available names of all attributes
declared for the element type; non-validating processors must
make available at least the names of the attributes for which
values are specified.
</p>
</item>
</ulist>
</p>
</div2>
-->
</div1>
<!-- &Entities; -->
<div1 id='sec-physical-struct'>
<head>ʪÍý¹½Â¤</head>
<p>
<termdef id="dt-entity" term="Entity">
XMLʸ½ñ¤Ï¡¤°ì¤Ä°Ê¾å¤Îµ­²±Ã±°Ì¤«¤é¹½À®¤¹¤ë¡£¤³¤Îµ­²±Ã±°Ì¤ò¡¤<term>¼ÂÂÎ</term>¤È¤¤¤¦¡£¼ÂÂΤϡ¤<term>ÆâÍÆ</term>¤ò¤â¤Á¡¤Ê¸½ñ¼ÂÂÎ(°Ê¹ß»²¾È)µÚ¤Ó<termref def='dt-doctype'>³°ÉôDTD&subset;</termref>¤ò½ü¤¤¤Æ¡¤<term>̾Á°</term>¤Ç&identified;¡£
</termdef>
<!-- Added for CFG -->
<!-- obscurity amputated by TWB -->
<!-- entire sentence amputated by CMSMcQ: no one but NO ONE is
ready for entities declared as
<!ENTITY foo "http://www.foo.com/bar.xml#id">
and it's pointless to suggest that it's possible
under current circumstances. -->
<!-- An entity may be stored in, -->
<!--but need not be coterminous with, -->
<!-- but need not comprise the whole of, -->
<!-- a single physical storage object such as a file or -->
<!-- database field. -->
<!-- End sentence added for CFG -->³ÆXMLʸ½ñ¤Ï¡¤<termref def="dt-docent">ʸ½ñ¼ÂÂÎ</termref>¤È¸Æ¤Ö¼ÂÂΤò°ì¤Ä¤â¤Ä¡£<termref def="dt-xml-proc">XML&processor;</termref>¤Ï¡¤¤³¤Îʸ½ñ¼ÂÂΤ«¤é½èÍý¤ò³«»Ï¤¹¤ë¡£Ê¸½ñ¼ÂÂΤ¬¡¤Ê¸½ñ¤Î¤¹¤Ù¤Æ¤ò´Þ¤ó¤Ç¤â¤è¤¤¡£</p>
<p>¼ÂÂΤϡ¤&parsed-entity;Ëô¤Ï&unparsed-entity;¤È¤¹¤ë¡£<termdef id="dt-parsedent" term="Text Entity"><term>&parsed-entity;</term>¤ÎÆâÍƤϡ¤&parsed-entity;¤Î<termref def='dt-repltext'>&replacement-text;</termref>¤È¸Æ¤Ö¡£¤³¤Î<termref def="dt-text">¥Æ¥­¥¹¥È</termref>¤Ï¡¤Ê¸½ñ¤ÎËÜÂΤΰìÉô¤È¤·¤Æ²ò¼á¤¹¤ë¡£
</termdef>
</p>
<p>
<termdef id="dt-unparsed" term="Unparsed Entity">
<term>&unparsed-entity;</term>¤Ï¡¤ÆâÍƤ¬<termref def='dt-text'>¥Æ¥­¥¹¥È</termref>¤Ç¤â¤½¤¦¤Ç¤Ê¤¯¤È¤â¤è¤¤¥ê¥½¡¼¥¹¤È¤¹¤ë¡£¥Æ¥­¥¹¥È¤Î¾ì¹ç¡¤XML¤Ç¤Ê¤¯¤È¤â¤è¤¤¡£³Æ&unparsed-entity;¤Ë¤Ï¡¤<termref def="dt-notation">µ­Ë¡</termref>¤¬´ØÏ¢ÉÕ¤±¤é¤ì¡¤¤³¤Îµ­Ë¡¤Ï¡¤Ì¾Á°¤Ç&identified;¡£µ­Ë¡¤Î̾Á°µÚ¤Ó´ØÏ¢ÉÕ¤±¤é¤ì¤¿&identifier;¤ò¡¤XML&processor;¤¬&application;¤ËÅϤ¹¤È¤¤¤¦Í×·ï°Ê³°¤Ï¡¤XML¤Ï¡¤&unparsed-entity;¤ÎÆâÍƤòÀ©¸Â¤·¤Ê¤¤¡£
</termdef>
</p>
<p>&parsed-entity;¤Ï¡¤¼ÂÂλ²¾È¤Ë¤è¤Ã¤Æ̾Á°¤Ç¸Æ¤Ó½Ð¤¹¡£&unparsed-entity;¤Ï¡¤<kw>ENTITY</kw>·¿Ëô¤Ï<kw>ENTITIES</kw>·¿¤Î°À­¤ÎÃͤȤ·¤Æ¡¤Ì¾Á°¤Ç»²¾È¤¹¤ë¡£</p>
<p>
<termdef id='gen-entity' term='general entity'><term>°ìÈ̼ÂÂÎ</term>¤Ï¡¤Ê¸½ñÆâÍƤÎÃæ¤Ç»ÈÍѤ¹¤ë&parsed-entity;¤È¤¹¤ë¡£¤¢¤¤¤Þ¤¤¤Ë¤Ê¤é¤Ê¤¤¸Â¤ê¡¤¤³¤Î&TR-or-Rec;¤Ç¤Ï¡¤°ìÈ̼ÂÂΤòñ¤Ë<emph>¼ÂÂÎ</emph>¤È¸Æ¤Ö¡£</termdef><termdef id='dt-PE' term='Parameter entity'>¥Ñ¥é¥á¥¿¼ÂÂΤϡ¤DTDÆâ¤Ç»ÈÍѤ¹¤ë&parsed-entity;¤È¤¹¤ë¡£</termdef>¤³¤ì¤é¤Î£²¼ïÎà¤Î¼ÂÂΤϡ¤°Û¤Ê¤ë½ñ¼°¤Ç»²¾È¤·¡¤°Û¤Ê¤ëʸ̮¤Çǧ¼±¤¹¤ë¡£</p>
<!--
<div2 id='sec-synchro'>
<head>Logical and Physical Structures</head>
<p>The logical and physical structures (elements and entities)
in an XML document must
be properly nested.
<termref def='dt-stag'>Tags</termref> and <termref def='dt-element'>elements</termref> must
each begin and end in the same <termref def='dt-entity'>entity</termref>, but may
refer to other
entities internally; <termref def='dt-comment'>comments</termref>,
<termref def='dt-pi'>processing instructions</termref>,
<termref def='dt-charref'>character
references</termref>, and
<termref def='dt-entref'>entity references</termref> must each be contained entirely
within a single entity. Entities must each contain an integral number
of elements, comments, processing instructions, and references,
possibly together with character data not contained within any element
in the entity, or else they must contain non-textual data, which by
definition contains no elements.</p></div2>
-->
<div2 id='sec-references'>
<head>ʸ»ú»²¾ÈµÚ¤Ó¼ÂÂλ²¾È</head>
<p>
<termdef id="dt-charref" term="Character Reference">
<term>ʸ»ú»²¾È</term>¤Ï¡¤ISO/IEC 10646ʸ»ú½¸¹ç¤ÎÆÃÄê¤Îʸ»ú¡¤Î㤨¤Ð¡¤ÆþÎϵ¡´ï¤«¤éľÀÜÆþÎÏÉÔ²Äǽ¤Êʸ»ú¤ò»²¾È¤¹¤ë¡£
<scrap lang='ebnf'>
<head>ʸ»ú»²¾È</head>
<prod id='NT-CharRef'><lhs>CharRef</lhs>
<rhs>'&amp;#' [0-9]+ ';' </rhs>
<rhs>| '&hcro;' [0-9a-fA-F]+ ';'</rhs>
<wfc def="wf-Legalchar"/>
</prod>
</scrap>
<wfcnote id="wf-Legalchar">
<head>ÀµÅö¤Êʸ»ú</head>
<p>ʸ»ú»²¾È¤Ç»²¾È¤¹¤ëʸ»ú¤Ï¡¤Èó½ªÃ¼µ­¹æ<termref def="NT-Char">Char</termref>¤Ë½¾¤ï¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
</wfcnote>
ʸ»ú¤¬ "<code>&amp;#x</code>" ¤Ç»Ï¤Þ¤ì¤Ð¡¤½ªÃ¼¤Î "<code>;</code>" ¤Þ¤Ç¤Î¿ô»úµÚ¤Ó¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¤Ï¡¤ISO/IEC 10646 ¤Îʸ»ú¥³¡¼¥É¤Î16¿Ê¿ôɽ¸½¤È¤¹¤ë¡£
<!--ÆüËܸìÌõ¤Ë¤Ä¤¤¤Æ: letter¤Ï¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¤ÈÌõ¤·¤¿¡£ »°¹¥ -->
ʸ»ú¤¬ "<code>&amp;#</code>" ¤Ç»Ï¤Þ¤ì¤Ð¡¤½ªÃ¼¤Î "<code>;</code>" ¤Þ¤Ç¤Î¿ô»ú¤Ï¡¤Ê¸»ú¥³¡¼¥É¤Î10¿Ê¿ôɽ¸½¤È¤¹¤ë¡£
</termdef>
</p>
<p>
<termdef id="dt-entref" term="Entity Reference">
<term>¼ÂÂλ²¾È</term>¤Ï¡¤Ì¾Á°¤ÎÉÕ¤¤¤¿¼ÂÂΤÎÆâÍƤò»²¾È¤¹¤ë¡£</termdef><termdef id='dt-GERef' term='General Entity Reference'>°ìÈ̼ÂÂΤؤλ²¾È¤Ï¡¤¥¢¥ó¥Ñ¥µ¥ó¥É(<code>&amp;</code>)µÚ¤Ó¥»¥ß¥³¥í¥ó(<code>;</code>)¤ò¶èÀÚ¤ê»Ò¤È¤·¤ÆÍѤ¤¤ë¡£</termdef><termdef id='dt-PERef' term='Parameter-entity reference'><term>¥Ñ¥é¥á¥¿¼ÂÂÎ</term>¤Ø¤Î»²¾È¤Ï¡¤¥Ñ¡¼¥»¥ó¥Èµ­¹æ(<code>%</code>)µÚ¤Ó¥»¥ß¥³¥í¥ó(<code>;</code>)¤ò¶èÀÚ¤ê»Ò¤È¤·¤ÆÍѤ¤¤ë¡£
</termdef>
</p>
<scrap lang="ebnf">
<head>¼ÂÂλ²¾È</head>
<prod id='NT-Reference'><lhs>Reference</lhs>
<rhs><nt def='NT-EntityRef'>EntityRef</nt>
| <nt def='NT-CharRef'>CharRef</nt></rhs></prod>
<prod id='NT-EntityRef'><lhs>EntityRef</lhs>
<rhs>'&amp;' <nt def='NT-Name'>Name</nt> ';'</rhs>
<wfc def='wf-entdeclared'/>
<vc def='vc-entdeclared'/>
<wfc def='textent'/>
<wfc def='norecursion'/>
</prod>
<prod id='NT-PEReference'><lhs>PEReference</lhs>
<rhs>'%' <nt def='NT-Name'>Name</nt> ';'</rhs>
<wfc def='wf-entdeclared'/>
<vc def='vc-entdeclared'/>
<wfc def='textent'/>
<wfc def='norecursion'/>
<wfc def='indtd'/>
</prod>
</scrap>
<wfcnote id='wf-entdeclared'>
<head>¼ÂÂΤ¬Àë¸À¤µ¤ì¤Æ¤¤¤ë¤³¤È</head>
<p>DTD¤ò¤â¤¿¤Ê¤¤Ê¸½ñ¡¤¥Ñ¥é¥á¥¿¼ÂÂλ²¾È¤ò´Þ¤Þ¤Ê¤¤ÆâÉôDTD&subset;¤À¤±¤ò¤â¤Äʸ½ñ¡¤Ëô¤Ï "<code>standalone='yes'</code>" ¤ò¤â¤Äʸ½ñ¤Ë¤ª¤¤¤Æ¡¤¼ÂÂλ²¾È¤ÇÍѤ¤¤ë <nt def='NT-Name'>Name</nt> ¤Ï¡¤¤½¤Î¼ÂÂΤÎÀë¸À¤ÇÍ¿¤¨¤ë̾Á°¤È¡¤<termref def="dt-match">&match;</termref>¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤¿¤À¤·¡¤&well-formed;¤Îʸ½ñ¤Ï¡¤¼ÂÂÎ&magicents; ¤òÀë¸À¤¹¤ëɬÍפϤʤ¤¡£¥Ñ¥é¥á¥¿¼ÂÂΤξì¹ç¤Ï¡¤Àë¸À¤Ï¡¤»²¾È¤ËÀè¹Ô¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£Æ±Íͤˡ¤°ìÈ̼ÂÂΤξì¹ç¤Ï¡¤Â°À­¥ê¥¹¥ÈÀë¸À¤Î&default-value;Æâ¤Ç¤Î»²¾È¤è¤êÀè¤Ë¡¤Àë¸À¤¬¸½¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
<p>³°Éô&subset;Ëô¤Ï³°Éô¥Ñ¥é¥á¥¿¼ÂÂΤǼÂÂΤòÀë¸À¤¹¤ë¤È¤­¡¤&non-validating;&processor;¤¬¡¤Àë¸À¤òÆɤߡ¤½èÍý¤¹¤ë¤³¤È¤ò<titleref href='include-if-valid'>µÁ̳¤Å¤±¤Ê¤¤</titleref>¡£¤½¤ì¤é¤Îʸ½ñ¤Ç¤Ï¡¤¼ÂÂΤÏÀë¸À¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤È¤¤¤¦µ¬Â§¤Ï¡¤&well-formed;À©Ìó¤Ç¤Ï¤Ê¤¤¡£
</p>
</wfcnote>
<vcnote id="vc-entdeclared">
<head>¼ÂÂΤ¬Àë¸À¤µ¤ì¤Æ¤¤¤ë¤³¤È</head>
<p>
³°Éô&subset;Ëô¤Ï³°Éô¥Ñ¥é¥á¥¿¼ÂÂΤò¤â¤Ã¤Æ¤¤¤Æ¡¤"<code>standalone='no'</code>"¤ò¤â¤Äʸ½ñ¤Ë¤ª¤¤¤Æ¡¤¼ÂÂλ²¾È¤ÇÍѤ¤¤ë <nt def='NT-Name'>Name</nt> ¤Ï¡¤¤½¤Î¼ÂÂΤÎÀë¸À¤ÇÍ¿¤¨¤ë̾Á°¤È<termref def="dt-match">&match;</termref>¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£Áê¸ß±¿ÍÑÀ­¤Î¤¿¤á¡¤&valid;¤Êʸ½ñ¤Ï<titleref href="sec-escapes">¤¢¤é¤«¤¸¤áÄêµÁ¤·¤¿¼ÂÂΤε¬Äê</titleref>¤Ç»ØÄꤷ¤¿½ñ¼°¤Ë¤è¤Ã¤Æ¡¤¼ÂÂÎ &magicents;¤òÀë¸À¤¹¤ë¤³¤È¤¬Ë¾¤Þ¤·¤¤¡£¥Ñ¥é¥á¥¿¼ÂÂΤξì¹ç¤Ï¡¤Àë¸À¤Ï¡¤»²¾È¤ËÀè¹Ô¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£Æ±Íͤˡ¤°ìÈ̼ÂÂΤξì¹ç¤Ï¡¤Â°À­¥ê¥¹¥ÈÀë¸À¤Î&default-value;Æâ¤Ç¤Î»²¾È¤è¤ê¤âÀè¤Ë¡¤Àë¸À¤¬¸½¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<!-- FINAL EDIT: is this duplication too clumsy? -->
<wfcnote id='textent'>
<head>&parsed-entity;</head>
<p>
¼ÂÂλ²¾È¤Ï¡¤<termref def="dt-unparsed">&unparsed-entity;</termref>¤Î̾Á°¤ò´Þ¤ó¤Ç¤¤¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£&unparsed-entity;¤Ï¡¤<kw>ENTITY</kw>·¿Ëô¤Ï<kw>ENTITIES</kw> ·¿¤È¤·¤ÆÀë¸À¤·¤¿<termref def="dt-attrval">°À­ÃÍ</termref>¤È¤·¤Æ¤À¤±»²¾È¤Ç¤­¤ë¡£
</p>
</wfcnote>
<wfcnote id='norecursion'>
<head>ºÆµ¢¤Ê¤·</head>
<p>&parsed-entity;¤Ï¡¤¤½¤ì¼«ÂΤؤλ²¾È¤ò¡¤Ä¾Àܤˤâ´ÖÀܤˤâ´Þ¤ó¤Ç¤Ï¤Ê¤é¤Ê¤¤¡£</p>
</wfcnote>
<wfcnote id='indtd'>
<head>DTD¤ÎÃæ</head>
<p>
¥Ñ¥é¥á¥¿¼ÂÂλ²¾È¤Ï¡¤<termref def='dt-doctype'>DTD</termref>Æâ¤Ë¤À¤±¡¤½Ð¸½¤·¤Æ¤è¤¤¡£
<!--
In the external DTD subset, a parameter-entity reference is
recognized only at the locations where
the nonterminal <nt def="NT-PEReference">PEReference</nt> or the
special operator <code>%</code> appears in a production of the
grammar. In the internal subset, parameter-entity references
are recognized only when they match
the <nt def="NT-InternalPERef">InternalPERef</nt> non-terminal
in the production for <nt def="NT-markupdecl">markupdecl</nt>.
-->
</p>
</wfcnote>
<p>
ʸ»ú»²¾ÈµÚ¤Ó¼ÂÂλ²¾È¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>Type &lt;key>less-than&lt;/key> (&hcro;3C;) to save options.
This document was prepared on &amp;docdate; and
is classified &amp;security-level;.</eg>
</p>
<p>
¥Ñ¥é¥á¥¿¼ÂÂλ²¾È¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;!ENTITY % ISOLat2
SYSTEM "http://www.xml.com/iso/isolat2-xml.entities" >
%ISOLat2;
</eg>
</p>
</div2>
<div2 id='sec-entity-decl'>
<head>¼ÂÂÎÀë¸À</head>
<p>
<termdef id="dt-entdecl" term="entity declaration">
¼ÂÂΤϡ¤¼¡¤Î¤È¤ª¤ê¤ËÀë¸À¤¹¤ë¡£
<scrap lang='ebnf'>
<head>¼ÂÂÎÀë¸À</head>
<prodgroup pcw2="5" pcw4="18.5">
<prod id='NT-EntityDecl'><lhs>EntityDecl</lhs>
<rhs><nt def="NT-GEDecl">GEDecl</nt></rhs><com>°ìÈ̼ÂÂÎ</com>
<rhs>| <nt def="NT-PEDecl">PEDecl</nt></rhs><com>¥Ñ¥é¥á¥¿¼ÂÂÎ</com>
</prod>
<prod id='NT-GEDecl'><lhs>GEDecl</lhs>
<rhs>'&lt;!ENTITY' <nt def='NT-S'>S</nt> <nt def='NT-Name'>Name</nt>
<nt def='NT-S'>S</nt> <nt def='NT-EntityDef'>EntityDef</nt>
<nt def='NT-S'>S</nt>? '&gt;'</rhs>
</prod>
<prod id='NT-PEDecl'><lhs>PEDecl</lhs>
<rhs>| '&lt;!ENTITY' <nt def='NT-S'>S</nt> '%' <nt def='NT-S'>S</nt>
<nt def='NT-Name'>Name</nt> <nt def='NT-S'>S</nt>
<nt def='NT-PEDef'>PEDef</nt> <nt def='NT-S'>S</nt>? '&gt;'</rhs>
<com>¥Ñ¥é¥á¥¿¼ÂÂÎ</com>
</prod>
<prod id='NT-EntityDef'><lhs>EntityDef</lhs>
<rhs><nt def='NT-EntityValue'>EntityValue</nt>
</rhs>
<!--<wfc def="WF-EntityValue"/>-->
<rhs>| <nt def='NT-ExternalDef'>ExternalDef</nt></rhs>
<!--<wfc def="WF-External"/>-->
</prod>
<!-- FINAL EDIT: what happened to WFs here? -->
<prod id='NT-PEDef'><lhs>PEDef</lhs>
<rhs><nt def='NT-EntityValue'>EntityValue</nt>
| <nt def='NT-ExternalID'>ExternalID</nt></rhs></prod>
</prodgroup>
</scrap>
<nt def='NT-Name'>Name</nt> ¤Ï¡¤<termref def="dt-entref">¼ÂÂλ²¾È</termref>¤Ë¤ª¤¤¤Æ¼ÂÂΤò&identify;¡£&unparsed-entity;¤Ê¤é¤Ð¡¤<kw>ENTITY</kw> ·¿Ëô¤Ï<kw>ENTITIES</kw>·¿¤Î°À­ÃÍÆâ¤Ç¡¤¼ÂÂΤò&identify;¡£Æ±°ì¤Î¼ÂÂΤ¬°ì²ó°Ê¾åÀë¸À¤µ¤ì¤ì¤Ð¡¤ºÇ½é¤ÎÀë¸À¤òÍѤ¤¤ë¡£&at-user-option;¡¤Ê£¿ô²óÀë¸À¤µ¤ì¤ë¼ÂÂΤ˴ؤ·¡¤XML&processor;¤Ï¡¤·Ù¹ð¤ò½Ð¤·¤Æ¤â¤è¤¤¡£
</termdef>
</p>
<!--
<wfcnote id="WF-Entityvalue">
<head>Well-Formed Internal Entity</head>
<p>General entities defined by an <nt
def="NT-EntityValue">EntityValue</nt> must be well-formed, as defined
in section <specref ref="wf-entities"/>.
</p>
</wfcnote>
<wfcnote id="WF-External">
<head>Well-Formed External Entity</head>
<p>General text entities defined by an <nt
def="NT-ExternalDef">ExternalDef</nt>, must be well-formed, as defined
in the section on <titleref xml-link="simple"
href="wf-entities">well-formed entities.</titleref>.</p>
</wfcnote>
-->
<div3 id='sec-internal-ent'>
<head>ÆâÉô¼ÂÂÎ</head>
<p>
<termdef id='dt-internent' term="Internal Entity Replacement Text">
¼ÂÂΤÎÄêµÁ¤¬ <nt def='NT-EntityValue'>EntityValue</nt>¤Î¤È¤­¡¤¤³¤ì¤ò<term>ÆâÉô¼ÂÂÎ</term>¤È¤¤¤¦¡£¤³¤ì¤Ï¡¤Ê̸ĤÎʪÍýŪµ­²±Ã±°Ì¤ò¤â¤¿¤º¡¤¼ÂÂΤÎÆâÍƤϡ¤Àë¸ÀÆâ¤ÇÍ¿¤¨¤ë¡£</termdef>Àµ¤·¤¯<termref def='dt-repltext'>&replacement-text;</termref>¤òÀ¸À®¤¹¤ë¤Ë¤Ï¡¤<termref def='dt-litentval'>&literal;¼ÂÂÎÃÍ</termref>Æâ¤Ç¤Î¼ÂÂλ²¾ÈµÚ¤Óʸ»ú»²¾È¤Î½èÍý¤¬¡¤É¬ÍפȤʤ뤫¤â¤·¤ì¤Ê¤¤¤³¤È¤ËÃí°Õ¤¹¤ë¡£¾ÜºÙ¤Ï¡¤<titleref href='intern-replacement'>ÆâÉô¼ÂÂΤÎ&replacement-text;¤Î¹½ÃÛ</titleref>¤ò»²¾È¡£
<!-- redundant -TWB
Within the <nt def="NT-EntityValue">EntityValue</nt>,
parameter-entity references and character references are recognized
and expanded immediately.
General-entity references within the
replacement text are not recognized
at the time the entity declaration is parsed, though they may be
recognized when the entity itself is referred to.
-->
</p>
<p>
ÆâÉô¼ÂÂΤϡ¤<termref def="dt-parsedent">&parsed-entity;</termref>¤È¤¹¤ë¡£
</p>
<p>ÆâÉô¼ÂÂÎÀë¸À¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;!ENTITY Pub-Status "This is a pre-release of the specification."></eg></p>
</div3>
<div3 id='sec-external-ent'>
<head>³°Éô¼ÂÂÎ</head>
<p>
<termdef id="dt-extent" term="External Entity">
¼ÂÂΤ¬ÆâÉô¼ÂÂΤǤʤ±¤ì¤Ð¡¤<term>³°Éô¼ÂÂÎ</term>¤È¤·¡¤¼¡¤Î¤È¤ª¤ê¤ËÀë¸À¤¹¤ë¡£
<scrap lang='ebnf'>
<head>³°Éô¼ÂÂÎÀë¸À</head>
<prod id='NT-ExternalDef'><lhs>ExternalDef</lhs>
<rhs><nt def='NT-ExternalID'>ExternalID</nt>
<nt def='NT-NDataDecl'>NDataDecl</nt>?</rhs></prod>
<prod id='NT-ExternalID'><lhs>ExternalID</lhs>
<rhs>'SYSTEM' <nt def='NT-S'>S</nt>
<nt def='NT-SystemLiteral'>SystemLiteral</nt></rhs>
<rhs>| 'PUBLIC' <nt def='NT-S'>S</nt>
<nt def='NT-PubidLiteral'>PubidLiteral</nt>
<nt def='NT-S'>S</nt>
<nt def='NT-SystemLiteral'>SystemLiteral</nt>
</rhs>
</prod>
<prod id='NT-NDataDecl'><lhs>NDataDecl</lhs>
<rhs><nt def='NT-S'>S</nt> 'NDATA' <nt def='NT-S'>S</nt>
<nt def='NT-Name'>Name</nt></rhs>
<vc def='not-declared'/></prod>
</scrap>
<nt def='NT-NDataDecl'>NDataDecl</nt> ¤¬Â¸ºß¤¹¤ì¤Ð¡¤¤³¤Î¼ÂÂΤϡ¤<termref def="dt-unparsed">&unparsed-entity;</termref>¤È¤·¡¤¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¤&parsed-entity;¤È¤¹¤ë¡£</termdef>
</p>
<vcnote id='not-declared'>
<head>µ­Ë¡¤¬Àë¸À¤µ¤ì¤Æ¤¤¤ë¤³¤È</head>
<p>
<nt def='NT-Name'>Name</nt> ¤Ï¡¤Àë¸À¤·¤¿<termref def="dt-notation">µ­Ë¡</termref>¤Î̾Á°¤È&match;¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
</vcnote>
<p>
<termdef id="dt-sysid" term="System Identifier">
¥­¡¼¥ï¡¼¥É <kw>SYSTEM</kw> ¤Î¸å¤Î <nt def='NT-SystemLiteral'>SystemLiteral</nt> ¤ò¡¤¼ÂÂΤÎ<term>¥·¥¹¥Æ¥à&identifier;</term>¤È¸Æ¤Ö¡£¤³¤ì¤ÏURI¤È¤·¡¤¤½¤Î¼ÂÂΤÎÆâÍƤò¼è¤ê½Ð¤¹¤Î¤ËÍѤ¤¤Æ¤â¤è¤¤¡£</termdef>URI¤È¶¦¤Ë»È¤¦¤³¤È¤Î¿¤¤¥Ï¥Ã¥·¥å("<code>#</code>")µÚ¤Ó¥Õ¥é¥°¥á¥ó¥È&identifier;¤Ï¡¤Àµ¼°¤Ë¤Ï¡¤URI¼«ÂΤΰìÉô¤È¤Ï¤·¤Ê¤¤¡£¥Õ¥é¥°¥á¥ó¥È&identifier;¤¬¡¤¥·¥¹¥Æ¥à&identifier;¤ÎÉôʬ¤È¤·¤ÆÍ¿¤¨¤é¤ì¤Æ¤¤¤ë¾ì¹ç¡¤XML&processor;¤Ï¡¤&error;¤ò½Ð¤·¤Æ¤â¤è¤¤¡£¤³¤Î&TR-or-Rec;¤ÎÈϰϳ°¤Î¾ðÊó(Î㤨¤Ð¡¤¤¢¤ëÆÃÄê¤ÎDTD¤ÎÆÃÊ̤ÊXMLÍ×ÁÇËô¤ÏÆÃÄê¤Î&application;¤Î»ÅÍͤˤè¤Ã¤ÆÄêµÁ¤µ¤ì¤¿½èÍýÌ¿Îá)¤Ë¤è¤Ã¤Æ¾å½ñ¤­¤µ¤ì¤Ê¤¤¸Â¤ê¡¤ÁêÂÐŪ¤ÊURI¤Ï¡¤¤½¤Î¼ÂÂΤΰÌÃÖ¡¤¤¹¤Ê¤ï¤Á¡¤¤½¤Î¼ÂÂΤÎÀë¸À¤¬¤¢¤ë¥Õ¥¡¥¤¥ë¤ËÁêÂÐŪ¤È¤¹¤ë¡£¤·¤¿¤¬¤Ã¤Æ¡¤DTD¤ÎÆâÉô&subset;¤Ë¤¢¤ë¼ÂÂÎÀë¸À¤Ç¤ÎÁêÂÐŪ¤ÊURI¤Ï¡¤Ê¸½ñ¤Î°ÌÃ֤ˤĤ¤¤ÆÁêÂÐŪ¤È¤¹¤ë¡£³°Éô&subset;¤Ë¤¢¤ë¼ÂÂÎÀë¸À¤Ç¤ÎÁêÂÐŪ¤ÊURI¤Ï¡¤¤½¤Î³°Éô&subset;¤ò´Þ¤à¥Õ¥¡¥¤¥ë¤Î°ÌÃÖ¤ËÁêÂÐŪ¤È¤¹¤ë¡£
</p>
<p>
<termdef id="dt-pubid" term="Public identifier">
¥·¥¹¥Æ¥à&identifier;°Ê³°¤Ë¡¤³°Éô¼ÂÂΤϡ¤<term>¸ø³«&identifier;</term>¤ò´Þ¤ó¤Ç¤â¤è¤¤¡£
</termdef>
¼ÂÂΤÎÆâÍƤò¼è¤ê½Ð¤¹XML&processor;¤Ï¡¤¤³¤Î¸ø³«&identifier;¤òÍѤ¤¤Æ¡¤Âå¤ï¤ê¤ÎURI¤ÎÀ¸À®¤ò»î¤ß¤Æ¤â¤è¤¤¡£XML&processor;¤¬¤³¤ì¤Ë¼ºÇÔ¤·¤¿¾ì¹ç¤Ï¡¤¥·¥¹¥Æ¥à&literal;¤È¤·¤Æ»ØÄꤷ¤¿URI¤òÍѤ¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£&match;¤¹¤ëÁ°¤Ë¡¤¸ø³«&identifier;Æâ¤Ë¤¢¤ë¶õÇòʸ»ú¤«¤é¤Ê¤ë&string;¤Ï¡¤¤¹¤Ù¤Æñ°ì¤Î&space-character;(#x20)¤ËÀµµ¬²½¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤º¡¤Á°¸å¤Î¶õÇòʸ»ú¤Ïºï½ü¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</p>
<p>³°Éô¼ÂÂÎÀë¸À¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;!ENTITY open-hatch
SYSTEM "http://www.textuality.com/boilerplate/OpenHatch.xml">
&lt;!ENTITY open-hatch
PUBLIC "-//Textuality//TEXT Standard open-hatch boilerplate//EN"
"http://www.textuality.com/boilerplate/OpenHatch.xml">
&lt;!ENTITY hatch-pic
SYSTEM "../grafix/OpenHatch.gif"
NDATA gif ></eg></p>
</div3>
</div2>
<div2 id='TextEntities'>
<head>&parsed-entity;</head>
<div3 id='sec-TextDecl'>
<head>¥Æ¥­¥¹¥ÈÀë¸À</head>
<p>³°Éô&parsed-entity;¤Ï¡¤<term>¥Æ¥­¥¹¥ÈÀë¸À</term>¤Ç»Ï¤Þ¤Ã¤Æ¤â¤è¤¤¡£
<scrap lang='ebnf'>
<head>¥Æ¥­¥¹¥ÈÀë¸À</head>
<prodgroup pcw4="12.5" pcw5="13">
<prod id='NT-TextDecl'><lhs>TextDecl</lhs>
<rhs>&xmlpio;
<nt def='NT-VersionInfo'>VersionInfo</nt>?
<nt def='NT-EncodingDecl'>EncodingDecl</nt>
<nt def='NT-S'>S</nt>? &pic;</rhs>
<!-- <wfc def='wfc-xmldecliteral'/> -->
<!-- <wfc def='wfc-no-nonleading-encdec'/> -->
</prod>
</prodgroup>
</scrap>
</p>
<p>¥Æ¥­¥¹¥ÈÀë¸À¤Ï¡¤¤½¤Î¤Þ¤Þ¤Î·Á¤Ç¸½¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤º¡¤&parsed-entity;¤Ø¤Î»²¾È¤ò·Ðͳ¤·¤Æ¤Ï¤Ê¤é¤Ê¤¤¤³¤È¤ËÃí°Õ¤¹¤ë¡£</p>
<p>³°Éô&parsed-entity;¤Ë¤ª¤¤¤Æ¡¤¥Æ¥­¥¹¥ÈÀë¸À¤Ï¡¤ÀèƬ°Ê³°¤Î¤¤¤«¤Ê¤ë°ÌÃ֤ˤâ½Ð¸½¤·¤Ê¤¤¡£</p>
</div3>
<div3 id='wf-entities'>
<head>&well-formed;¤Î&parsed-entity;</head>
<p>¥é¥Ù¥ë<nt def='NT-document'>document</nt>¤ò¤â¤ÄÀ¸À®µ¬Â§¤Ë&match;¤¹¤ì¤Ð¡¤Ê¸½ñ¼ÂÂΤϡ¤&well-formed;¤È¤¹¤ë¡£¥é¥Ù¥ë<nt def='NT-ExtParsedEnt'>ExtParsedEnt</nt>¤ò¤â¤ÄÀ¸À®µ¬Â§¤Ë&match;¤¹¤ì¤Ð¡¤³°Éô¤Î°ìÈÌ&parsed-entity;¤Ï¡¤&well-formed;¤È¤¹¤ë¡£¥é¥Ù¥ë<nt def='NT-ExtPE'>ExtPE</nt>¤ò¤â¤ÄÀ¸À®µ¬Â§¤Ë&match;¤¹¤ì¤Ð¡¤³°Éô¥Ñ¥é¥á¥¿¼ÂÂΤϡ¤&well-formed;¤È¤¹¤ë¡£
<scrap lang='ebnf'>
<head>&well-formed;¤Î&parsed-entity;</head>
<prod id='NT-ExtParsedEnt'><lhs>ExtParsedEnt</lhs>
<rhs><nt def='NT-TextDecl'>TextDecl</nt>?
<nt def='NT-content'>content</nt></rhs>
</prod>
<prod id='NT-ExtPE'><lhs>ExtPE</lhs>
<rhs><nt def='NT-TextDecl'>TextDecl</nt>?
<nt def='NT-extSubset'>extSubset</nt></rhs>
</prod>
</scrap>
&replacement-text;¤¬¡¤¥é¥Ù¥ë<nt def='NT-content'>content</nt>¤ò¤â¤ÄÀ¸À®µ¬Â§¤Ë&match;¤¹¤ì¤Ð¡¤ÆâÉô¤Î°ìÈÌ&parsed-entity;¤Ï¡¤&well-formed;¤È¤¹¤ë¡£DTD¤òºÇ¸å¤Þ¤ÇÆɤ߹þ¤Þ¤Ê¤¤¤È¡¤³Î¼Â¤Ë¤³¤ì¤òȽÄê¤Ç¤­¤Ê¤¤¤³¤È¤ËÃí°Õ¡£¤¹¤Ù¤Æ¤ÎÆâÉô¤Î¥Ñ¥é¥á¥¿¼ÂÂΤϡ¤ÄêµÁ¤Ë¤è¤Ã¤Æ&well-formed;¤È¤¹¤ë¡£
</p>
<p>¼ÂÂΤ¬&well-formed;¤Ê·ë²Ì¤È¤·¤Æ¡¤XMLʸ½ñ¤ÎÏÀÍýŪµÚ¤ÓʪÍýŪ¹½Â¤¤Ï¡¤Àµ¤·¤¯Æþ¤ì»Ò¤È¤Ê¤ë¡£<termref def='dt-stag'>³«»Ï¥¿¥°</termref>¡¤<termref def='dt-etag'>½ªÎ»¥¿¥°</termref>¡¤<termref def="dt-empty">¶õÍ×ÁÇ¥¿¥°</termref>¡¤<termref def='dt-element'>Í×ÁÇ</termref>¡¤<termref def='dt-comment'>¥³¥á¥ó¥È</termref>¡¤<termref def='dt-pi'>½èÍýÌ¿Îá</termref>¡¤<termref def='dt-charref'>ʸ»ú»²¾È</termref>µÚ¤Ó<termref def='dt-entref'>¼ÂÂλ²¾È</termref>¤¬¡¤°ì¤Ä¤Î¼ÂÂΤdz«»Ï¤·¡¤Ê̤μÂÂΤǽªÎ»¤¹¤ë¤³¤È¤Ï¤Ê¤¤¡£</p>
</div3>
<div3 id='charencoding'>
<head>¼ÂÂΤˤª¤±¤ëʸ»úÉä¹æ²½</head>
<p>XMLʸ½ñÆâ¤Î³°Éô&parsed-entity;¤Ï¡¤³Æ¡¹¡¤Ê̤Îʸ»úÉä¹æ²½Êý¼°¤òÍѤ¤¤Æ¤â¤è¤¤¡£¤¹¤Ù¤Æ¤ÎXML&processor;¤Ï¡¤UTF-8¤ÇÉä¹æ²½¤·¤¿¼ÂÂΡ¤UTF-16¤ÇÉä¹æ²½¤·¤¿¼ÂÂΤò½èÍý¤Ç¤­¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
<!--
It is recognized that for some purposes, the use of additional
ISO/IEC 10646 planes other than the Basic Multilingual Plane
may be required.
A facility for handling characters in these planes is therefore a
desirable characteristic in XML processors and applications.
-->
</p>
<p>UTF-16¤ÇÉä¹æ²½¤·¤¿¼ÂÂΤϡ¤ISO/IEC 10646¤ÎÉÕÏ¿EµÚ¤ÓUnicode¤ÎÉÕÏ¿B¤Çµ¬Äꤹ¤ë&byte-order-mark;(ZERO WIDTH NO-BREAK SPACEʸ»ú¡¤#xFEFF)¤Ç»Ï¤Þ¤é¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤³¤ì¤Ï¡¤Éä¹æ²½¤Îɸ¼±¤Ç¤¢¤Ã¤Æ¡¤XMLʸ½ñ¤Î&markup;¤Î°ìÉô¤Ç¤â¡¤Ê¸»ú¥Ç¡¼¥¿¤Î°ìÉô¤Ç¤â¤Ê¤¤¡£XML&processor;¤Ï¡¤UTF-8¤ÇÉä¹æ²½¤·¤¿Ê¸½ñ¤ÈUTF-16¤ÇÉä¹æ²½¤·¤¿Ê¸½ñ¤È¤Î¶èÊ̤ò¹Ô¤¦¤¿¤á¤Ë¡¤¤³¤Îʸ»ú¤ò»ÈÍѲÄǽ¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
<p>XML&processor;¤Ï¡¤UTF-8µÚ¤ÓUTF-16¤ÇÉä¹æ²½¤·¤¿¼ÂÂΤÀ¤±¤òÆɤळ¤È¤òɬ¿Ü¤È¤¹¤ë¤¬¡¤Â¾¤ÎÉä¹æ²½¤òÀ¤³¦¤Ç¤ÏÍѤ¤¤Æ¤ª¤ê¡¤¤½¤ì¤é¤ÎÉä¹æ²½¤òÍѤ¤¤ë¼ÂÂΤòXML&processor;¤¬½èÍý¤Ç¤­¤ë¤³¤È¤¬Ë¾¤Þ¤·¤¤¡£UTF-8Ëô¤ÏUTF-16°Ê³°¤ÎÉä¹æ²½Êý¼°¤òÍѤ¤¤Æ³ÊǼ¤¹¤ë&parsed-entity;¤Ï¡¤Éä¹æ²½Àë¸À¤ò´Þ¤à<titleref href='TextDecl'>¥Æ¥­¥¹¥ÈÀë¸À</titleref>¤Ç»Ï¤á¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
<scrap lang='ebnf'>
<head>Éä¹æ²½Àë¸À</head>
<prod id='NT-EncodingDecl'><lhs>EncodingDecl</lhs>
<rhs><nt def="NT-S">S</nt>
'encoding' <nt def='NT-Eq'>Eq</nt>
'"' <nt def='NT-EncName'>EncName</nt> '"' | "'"
<nt def='NT-EncName'>EncName</nt> "'"
</rhs>
</prod>
<prod id='NT-EncName'><lhs>EncName</lhs>
<rhs>[A-Za-z] ([A-Za-z0-9._] | '-')*</rhs>
<com>¥é¥Æ¥óʸ»ú¤À¤±¤ò´Þ¤àÉä¹æ²½Ì¾</com>
</prod>
</scrap>
<termref def='dt-docent'>ʸ½ñ¼ÂÂÎ</termref>¤Ç¤Ï¡¤Éä¹æ²½Àë¸À¤Ï¡¤<termref def="dt-xmldecl">XMLÀë¸À</termref>¤Î°ìÉô¤È¤¹¤ë¡£<nt def="NT-EncName">EncName</nt>¤Ï¡¤»ÈÍѤ¹¤ëÉä¹æ²½Êý¼°¤Î̾Á°¤È¤¹¤ë¡£
</p>
<!-- FINAL EDIT: check name of IANA and charset names -->
<p>Éä¹æ²½Àë¸À¤Ç¤Ï¡¤ÃÍ<code>UTF-8</code>¡¤<code>UTF-16</code>¡¤<code>ISO-10646-UCS-2</code>µÚ¤Ó<code>ISO-10646-UCS-4</code>¤Ï¡¤UnicodeµÚ¤ÓISO/IEC 10646¤Î³Æ¼ïÉä¹æ²½¤Î¤¿¤á¤ËÍѤ¤¤ë¡£ÃÍ<code>ISO-8859-1</code>¤«¤é<code>ISO-8859-9</code>¤Þ¤Ç¤Ï¡¤ISO 8859¤ÎÂбþ¤¹¤ë¥Ñ¡¼¥È¤Î¤¿¤á¤ËÍѤ¤¤ë¡£ÃÍ<code>ISO-2022-JP</code>¡¤<code>Shift_JIS</code>µÚ¤Ó<code>EUC-JP</code>¤Ï¡¤JIS X-0208-1997¤Î³Æ¼ïÉä¹æ²½¤Î¤¿¤á¤ËÍѤ¤¤ë¡£XML&processor;¤Ï¡¤¤½¤ì°Ê³°¤ÎÉä¹æ²½Êý¼°¤òǧ¼±¤·¤Æ¤â¤è¤¤¡£Internet Assigned Numbers Authority (IANA)¤Ë¡¤(<emph>charset</emph>s¤È¤·¤Æ)ÅÐÏ¿¤µ¤ì¤¿Ê¸»úÉä¹æ²½Êý¼°¤Ë¤Ä¤¤¤Æ¤Ï¡¤¤³¤ì¤é°Ê³°¤Ë¤Ä¤¤¤Æ¤â¡¤ÅÐÏ¿¤µ¤ì¤¿Ì¾Á°¤Ç»²¾È¤¹¤ë¤³¤È¤¬Ë¾¤Þ¤·¤¤¡£¤³¤ì¤é¤ÎÅÐÏ¿¤µ¤ì¤¿Ì¾Á°¤Ï¡¤Âçʸ»ú¡¦¾®Ê¸»ú¤Î¶èÊ̤ò¤»¤º¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¤¤³¤ì¤é¤ËÂФ¹¤ëÈæ³Ó¤ò»î¤ß¤ë&processor;¤Ï¡¤Âçʸ»ú¡¦¾®Ê¸»ú¤Î¶èÊ̤ò¤·¤Ê¤¤ÊýË¡¤ò¤È¤ë¤Î¤¬Ë¾¤Þ¤·¤¤¤³¤È¤ËÃí°Õ¤¹¤ë¡£</p>
<p>XML½èÍý·Ï¤ËÅϤµ¤ì¤¿¼ÂÂΤ¬¡¤Éä¹æ²½Àë¸À¤ò´Þ¤à¤Ë¤â¤«¤«¤ï¤é¤º¡¤Àë¸À¤Ç¼¨¤·¤¿¤â¤Î°Ê³°¤ÎÊý¼°¤ÇÉä¹æ²½¤µ¤ì¤Æ¤¤¤¿¤ê¡¤Éä¹æ²½Àë¸À¤¬¡¤³°Éô¼ÂÂΤκǽé°Ê³°¤Î°ÌÃ֤˽и½¤¹¤ì¤Ð¡¤<termref def="dt-error">&error;</termref>¤È¤¹¤ë¡£
</p>
<p>&byte-order-mark;¤Ç¤âÉä¹æ²½Àë¸À¤Ç¤â»Ï¤Þ¤é¤Ê¤¤¼ÂÂΤϡ¤UTF-8Éä¹æ²½¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
<p><!-- XML processors should make an effort to use all available
information, internal and external, to aid in detecting an entity's correct
encoding. Such information may include, but is not limited to:
<ulist><item><p>An HTTP header</p></item>
<item><p>A MIME header obtained other than through HTTP</p></item>
<item><p>Metadata provided by the native OS file system or by document
management software</p></item>
<item><p>The bit patterns at the front of an entity, which may
be analyzed to determine if
the application of any known encoding yields a valid encoding
declaration. See <titleref href='sec-guessing'>the appendix on
autodetection of character sets</titleref>
for a fuller description.</p></item></ulist> -->
½èÍý¤Ç¤­¤Ê¤¤Éä¹æ²½¤ò¤â¤Ã¤¿¼ÂÂΤòXML&processor;¤¬È¯¸«¤·¤¿¤È¤­¤Ï¡¤&application;¤Ë¤½¤Î»ö¼Â¤òÄÌÃΤ·¡¤<termref def='dt-fatal'>&fatal-error;</termref>¤È¤·¤Æ¡¤½èÍý¤ò½ªÎ»¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
<!--
inform the application of this fact and
may
allow the application to
request either that the entity should be treated as an <termref
def="dt-unparsed">unparsed entity</termref>, or that processing should
cease.-->
</p>
<p>Éä¹æ²½Àë¸À¤ÎÎã¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<eg>&lt;?xml encoding='UTF-8'?>
&lt;?xml encoding='EUC-JP'?></eg></p>
</div3>
</div2>
<div2 id='entproc'>
<head>XML&processor;¤Ë¤è¤ë¼ÂÂεڤӻ²¾È¤Î°·¤¤</head>
<p>¼¡¤Îɽ¤Ï¡¤Ê¸»ú»²¾È¡¤¼ÂÂλ²¾ÈµÚ¤Ó&unparsed-entity;¤Î¸Æ½Ð¤·¤¬¸½¤ì¤ëʸ̮µÚ¤Ó³Æ¡¹¤Î¾ì¹ç¤Ë¤ª¤±¤ë<termref def='dt-xml-proc'>XML&processor;</termref>¤ËÍ׵᤹¤ë¿¶Éñ¤¤¤òÍ×Ì󤹤롣°ìÈÖº¸¤ÎÎó¤Î¥é¥Ù¥ë¤Ï¡¤Ç§¼±¤Îʸ̮¤ò¼¨¤¹¡£
<glist>
<gitem><label>ÆâÍƤˤª¤±¤ë»²¾È</label>
<def><p>Í×ÁǤÎ<termref def='dt-stag'>³«»Ï¥¿¥°</termref>µÚ¤Ó<termref def='dt-etag'>½ªÎ»¥¿¥°</termref>¤Î´Ö¤ÎǤ°Õ¤Î¾ì½ê¤Ç¤Î»²¾È¡£Èó½ªÃ¼µ­¹æ<nt def='NT-content'>content</nt>¤ËÂбþ¤¹¤ë¡£</p></def>
</gitem>
<gitem>
<label>°À­Ãͤˤª¤±¤ë»²¾È</label>
<def><p><termref def='dt-stag'>³«»Ï¥¿¥°</termref>¤Î°À­¤ÎÃÍ¡¤Ëô¤Ï<termref def='dt-attdecl'>°À­Àë¸À</termref>¤Ë¤ª¤±¤ë&default-value;¤Î¤¤¤º¤ì¤«¤Ç¤Î»²¾È¡£Èó½ªÃ¼µ­¹æ<nt def='NT-AttValue'>AttValue</nt>¤ËÂбþ¤¹¤ë¡£</p></def></gitem>
<gitem>
<label>°À­ÃͤȤ·¤Æ½Ð¸½</label>
<def><p>»²¾È¤Ç¤Ï¤Ê¤¯¡¤<nt def='NT-Name'>Name</nt>¤È¤·¤Æ½Ð¸½¡£<code>ENTITY</code>·¿¤È¤·¤ÆÀë¸À¤·¤¿Â°À­¤ÎÃÍ¡¤Ëô¤Ï<code>ENTITIES</code>·¿¤È¤·¤ÆÀë¸À¤·¤¿Â°À­¤ÎÃͤˤª¤±¤ë&space;¤Ç¶èÀÚ¤ë&token;¤Î°ì¤Ä¤È¤·¤Æ½Ð¸½¤¹¤ë¡£</p>
</def></gitem>
<gitem><label>¼ÂÂÎÃͤˤª¤±¤ë»²¾È</label>
<def><p>¼ÂÂΤÎÀë¸À¤Ë¤ª¤±¤ë¡¤¥Ñ¥é¥á¥¿Ëô¤ÏÆâÉô¼ÂÂΤÎ<termref def='dt-litentval'>&literal;¼ÂÂÎÃÍ</termref>Æâ¤Î»²¾È¡£Èó½ªÃ¼µ­¹æ<nt def='NT-EntityValue'>EntityValue</nt>¤ËÂбþ¤¹¤ë¡£</p></def></gitem>
<gitem><label>DTD¤Ë¤ª¤±¤ë»²¾È</label>
<def><p><termref def='dt-doctype'>DTD</termref>¤ÎÆâÉô&subset;Ëô¤Ï³°Éô&subset;¤Ç¤Î»²¾È¡£¤¿¤À¤·¡¤<nt def='NT-EntityValue'>EntityValue</nt>Ëô¤Ï<nt def="NT-AttValue">AttValue</nt>¤Î³°Â¦¤È¤¹¤ë¡£</p></def>
</gitem>
</glist></p>
<!-- border value changed by bosak -->
<htable border='1' cellpadding='7' align='center'>
<!-- tbody wrapper added by bosak -->
<htbody>
<tr><td bgcolor='&cellback;' rowspan='2' colspan='1'></td>
<td bgcolor='&cellback;' align='center' valign='bottom' colspan='4'>¼ÂÂΤη¿</td>
<td bgcolor='&cellback;' rowspan='2' align='center'>ʸ»ú</td>
</tr>
<tr align='center' valign='bottom'>
<td bgcolor='&cellback;'>¥Ñ¥é¥á¥¿</td>
<td bgcolor='&cellback;'>ÆâÉô&newline;°ìÈÌ</td>
<td bgcolor='&cellback;'>³°Éô&newline;&parsed-entity;&newline;°ìÈÌ</td>
<td bgcolor='&cellback;'>&unparsed-entity;</td>
</tr>
<tr align='center' valign='middle'>
<!--<td bgcolor='&cellback;' rowspan='4'>Recognition
Context</td>-->
<td bgcolor='&cellback;' align='right'>ÆâÍƤǤÎ&newline;»²¾È</td>
<td bgcolor='&cellback;'><titleref href='not-recognized'>ǧ¼±&newline;¤·¤Ê¤¤</titleref></td>
<td bgcolor='&cellback;'><titleref href='included'>¼è¹þ¤ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='include-if-valid'>¸¡¾Ú¤Î¤¿¤á¤Ë¼è¹þ¤ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='forbidden'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='included'>¼è¹þ¤ß</titleref></td>
</tr>
<tr align='center' valign='middle'>
<td bgcolor='&cellback;' align='right'>°À­ÃͤǤÎ&newline;»²¾È</td>
<td bgcolor='&cellback;'><titleref href='not-recognized'>ǧ¼±&newline;¤·¤Ê¤¤</titleref></td>
<td bgcolor='&cellback;'><titleref href='included'>¼è¹þ¤ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='forbidden'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='forbidden'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='included'>¼è¹þ¤ß</titleref></td>
</tr>
<tr align='center' valign='middle'>
<td bgcolor='&cellback;' align='right'>°À­ÃͤȤ·¤Æ&newline;½Ð¸½</td>
<td bgcolor='&cellback;'><titleref href='not-recognized'>ǧ¼±&newline;¤·¤Ê¤¤</titleref></td>
<td bgcolor='&cellback;'><titleref href='not-recognized'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='not-recognized'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='notify'>ÄÌÃÎ</titleref></td>
<td bgcolor='&cellback;'><titleref href='not recognized'>ǧ¼±&newline;¤·¤Ê¤¤</titleref></td>
</tr>
<tr align='center' valign='middle'>
<td bgcolor='&cellback;' align='right'>¼ÂÂÎÃͤǤÎ&newline;»²¾È</td>
<td bgcolor='&cellback;'><titleref href='included'>¼è¹þ¤ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='bypass'>&bypass;</titleref></td>
<td bgcolor='&cellback;'><titleref href='bypass'>&bypass;</titleref></td>
<td bgcolor='&cellback;'><titleref href='forbidden'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='included'>¼è¹þ¤ß</titleref></td>
</tr>
<tr align='center' valign='middle'>
<td bgcolor='&cellback;' align='right'>DTD¤Ç¤Î&newline;»²¾È</td>
<td bgcolor='&cellback;'><titleref href='as-PE'>PE¤È¤·¤Æ&newline;¼è¹þ¤ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='forbidden'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='forbidden'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='forbidden'>¶Ø»ß</titleref></td>
<td bgcolor='&cellback;'><titleref href='forbidden'>¶Ø»ß</titleref></td>
</tr>
</htbody>
</htable>
<div3 id='not-recognized'>
<head>¡Èǧ¼±¤·¤Ê¤¤¡É</head>
<p>DTD¤Î³°¤Ç¤Ï¡¤<code>%</code>ʸ»ú¤Ï¡¤¤¤¤«¤Ê¤ëÆÃÄê¤Î°ÕÌ£¤â¡¤¤â¤¿¤Ê¤¤¡£¤·¤¿¤¬¤Ã¤Æ¡¤DTD¤Ç¤Ï¥Ñ¥é¥á¥¿¼ÂÂλ²¾È¤È¤·¤Æǧ¼±¤¹¤ë¤â¤Î¤Ç¤¢¤Ã¤Æ¤â¡¤<nt def='NT-content'>content</nt>Æâ¤Ç¤Ï&markup;¤È¤·¤Æ¤Ïǧ¼±¤·¤Ê¤¤¡£Æ±Íͤˡ¤Å¬ÀÚ¤ËÀë¸À¤·¤¿Â°À­¤ÎÃͤÎÃæ¤Ë¸½¤ì¤ë¾ì¹ç¤ò½ü¤­¡¤&unparsed-entity;¤Î̾Á°¤Ï¡¤Ç§¼±¤·¤Ê¤¤¡£
</p>
</div3>
<div3 id='included'>
<head>¡È¼è¹þ¤ß¡É</head>
<p><termdef id="dt-include" term="Include">¼ÂÂΤϡ¤¤½¤Î<termref def='dt-repltext'>&replacement-text;</termref>¤ò¼è¤ê½Ð¤·¡¤½èÍý¤¹¤ë¤È¡¤»²¾È¼«ÂΤÎÂå¤ï¤ê¤Ë¡¤»²¾È¤¬¤¢¤Ã¤¿°ÌÃ֤ǡ¤Ê¸½ñ¤Î°ìÉô¤È¤·¤Æ´Þ¤Þ¤ì¤ë¤«¤Î¤è¤¦¤Ë<term>¼è¤ê¹þ¤Þ¤ì¤ë</term>¡£&replacement-text;¤Ï¡¤<termref def='dt-chardata'>ʸ»ú¥Ç¡¼¥¿</termref>µÚ¤Ó(¥Ñ¥é¥á¥¿¼ÂÂΤò½ü¤¯¡£)<termref def="dt-markup">&markup;</termref>¤Î¤¤¤º¤ì¤ò´Þ¤ó¤Ç¤â¤è¤¯¡¤¤³¤ì¤é¤Ï¡¤Ä̾ï¤ÎÊýË¡¤Çǧ¼±¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤¿¤À¤·¡¤&markup;¤Î¶èÀÚ¤ê»Ò¤ò&escape;¤¹¤ë¤¿¤á¤ËÍѤ¤¤ë¼ÂÂÎ(&magicents;)¤Î&replacement-text;¤Ï¡¤¾ï¤Ë¥Ç¡¼¥¿¤È¤·¤Æ°·¤¦(&string;"<code>AT&amp;amp;T;</code>"¤Ï¡¤"<code>AT&amp;T;</code>"¤ËŸ³«¤µ¤ì¡¤»Ä¤µ¤ì¤¿¥¢¥ó¥Ñ¥µ¥ó¥É¤Ï¡¤¼ÂÂλ²¾È¤Î¶èÀÚ¤ê»Ò¤È¤·¤Æ¤Ïǧ¼±¤·¤Ê¤¤¡£)¡£Ê¸»ú»²¾È¤Ï¡¤¼¨¤·¤¿Ê¸»ú¤ò»²¾È¼«ÂΤÎÂå¤ï¤ê¤Ë½èÍý¤¹¤ë¤È¤­¡¤<term>¼è¤ê¹þ¤Þ¤ì¤ë</term>¡£
</termdef></p>
</div3>
<div3 id='include-if-valid'>
<head>¡È¸¡¾Ú¤Î¤¿¤á¤Ë¼è¹þ¤ß¡É</head>
<p>ʸ½ñ¤Î&validity;¤ò<termref def="dt-valid">¸¡¾Ú</termref>¤¹¤ë¤Ë¤Ï¡¤XML&processor;¤¬&parsed-entity;¤Ø¤Î»²¾È¤òǧ¼±¤·¤¿¤È¤­¡¤¤½¤Î&replacement-text;¤ò<termref def="dt-include">¼è¤ê¹þ¤Þ</termref>¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¼ÂÂΤ¬³°Éô¼ÂÂΤǤ¢¤Ã¤Æ¡¤XMLʸ½ñ¤Î&validity;¤ò¸¡¾Ú¤·¤Ê¤±¤ì¤Ð¡¤¼ÂÂΤÎ&replacement-text;¤ò¼è¤ê¹þ¤ó¤Ç¤â<termref def="dt-may">¤è¤¤</termref>¤¬¡¤¤½¤¦¤·¤Ê¤¯¤È¤â¤è¤¤¡£</p>
<p>¤³¤Î¼è·è¤á¤Ï¡¤SGMLµÚ¤ÓXML¤Î¼ÂÂΤε¡¹½¤¬Ä󶡤¹¤ë¼«Æ°¼è¹þ¤ßµ¡Ç½¤¬¡¤Ê¸½ñºîÀ®»þ¤Î¥â¥¸¥å¡¼¥ë²½¤ò¼ç¤ÊÌÜŪ¤È¤·¤ÆÀ߷פµ¤ì¤Æ¤ª¤ê¡¤¤½¤Î¾¤Î&application;(Æäˡ¤Ê¸½ñ¤Î¥Ö¥é¥¦¥º)¤Ë¤Ï¡¤É¬¤º¤·¤âŬÀڤǤϤʤ¤¡¤¤È¤¤¤¦Ç§¼±¤Ë¤è¤ë¡£Î㤨¤Ð¡¤¥Ö¥é¥¦¥¶¤Ï³°Éô&parsed-entity;¤Ø¤Î»²¾È¤ò¸«¤Ä¤±¤ë¤È¡¤¤½¤Î¼ÂÂΤ¬Â¸ºß¤¹¤ë¤È¤¤¤¦É½¼¨¤À¤±¤ò¹Ô¤¤¡¤É½¼¨¤òÍ׵ᤵ¤ì¤¿¤È¤­¤Ë¤À¤±¡¤ÆâÍƤò¼è¤ê½Ð¤¹¤«¤â¤·¤ì¤Ê¤¤¡£
</p>
</div3>
<div3 id='forbidden'>
<head>¡È¶Ø»ß¡É</head>
<p>¼¡¤Ï¶Ø»ß¤µ¤ì¤Æ¤ª¤ê¡¤<termref def='dt-fatal'>&fatal-error;</termref>¤È¤¹¤ë¡£
<ulist>
<item><p>a) <termref def='dt-unparsed'>&unparsed-entity;</termref>¤Ø¤Î»²¾È¤Î½Ð¸½¡£
</p></item>
<item><p>b) DTD¤Î<nt def='NT-EntityValue'>EntityValue</nt>Ëô¤Ï<nt def="NT-AttValue">AttValue</nt>°Ê³°¤ÎÉôʬ¤Ë¤ª¤±¤ë¡¤Ê¸»ú»²¾ÈËô¤Ï°ìÈ̼ÂÂΤؤλ²¾È¤Î½Ð¸½¡£</p></item>
<item><p>c) °À­ÃÍÆâ¤Î³°Éô¼ÂÂΤؤλ²¾È¡£</p>
</item>
</ulist>
</p>
</div3>
<div3 id='notify'>
<head>¡ÈÄÌÃΡÉ</head>
<p><termref def='dt-unparsed'>&unparsed-entity;</termref>¤Î̾Á°¤¬¡¤<kw>ENTITY</kw>Ëô¤Ï<kw>ENTITIES</kw>¤Î°À­¤ÎÃͤˤª¤¤¤Æ&token;¤È¤·¤Æ¸½¤ì¤¿¤È¤­¡¤&processor;¤Ï¡¤&application;¤ËÂФ·¤Æ¡¤´ØÏ¢ÉÕ¤±¤é¤ì¤¿<termref def="dt-notation">µ­Ë¡</termref>̾¡¤µ­Ë¡¤ËÂФ¹¤ë<termref def='dt-sysid'>¥·¥¹¥Æ¥à</termref>&identifier;µÚ¤Ó(¸ºß¤¹¤ì¤Ð)<termref def='dt-pubid'>¸ø³«</termref>&identifier;¤òÄÌÃΤ·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
</div3>
<div3 id='bypass'>
<head>¡È&bypass;¡É</head>
<p>°ìÈ̼ÂÂλ²¾È¤¬¡¤¼ÂÂÎÀë¸À¤Ë¤ª¤±¤ë<nt def='NT-EntityValue'>EntityValue</nt>Æâ¤Ë¸½¤ì¤ë¤È¤­¡¤¤½¤ì¤Ï̵»ë¤µ¤ì¡¤¤½¤Î¤Þ¤Þ»Ä¤ë¡£</p>
</div3>
<div3 id='as-PE'>
<head>¡ÈPE¤È¤·¤Æ¼è¹þ¤ß¡É</head>
<p>³°Éô&parsed-entity;¤Î¾ì¹ç¤ÈƱÍͤˡ¤¥Ñ¥é¥á¥¿¼ÂÂΤϡ¤&validity;¤ò<titleref href='include-if-valid'>¸¡¾Ú¤¹¤ë¤È¤­¤À¤±¼è¤ê¹þ¤Þ¤ì¤ë</titleref>ɬÍפ¬¤¢¤ë¡£¥Ñ¥é¥á¥¿¼ÂÂλ²¾È¤òDTDÆâ¤Ëǧ¼±¤·¤Æ¼è¤ê¹þ¤à¤È¤­¡¤¤½¤Î<termref def='dt-repltext'>&replacement-text;</termref>¤Ï¡¤¤½¤ÎÁ°¸å¤Ë°ì¤Ä¤Î&space-character;(#x20)¤ÎÉղäˤè¤Ã¤Æ°ú¤­¿­¤Ð¤µ¤ì¤ë¡£¤³¤Î°Õ¿Þ¤Ï¡¤¥Ñ¥é¥á¥¿¼ÂÂΤÎ&replacement-text;¤¬¡¤DTDÆâ¤Î¤¤¤¯¤Ä¤«¤ÎʸˡŪ&token;¤ò´°Á´¤Ë´Þ¤à¤È¡¤À©Ì󤹤뤳¤È¤Ë¤¢¤ë¡£
</p>
</div3>
<!--
<div3 id='gen-char-entproc'>
<head>General and Character Entity Processing</head>
<p>General-entity and character references are recognized in three
contexts: wherever the nonterminal <nt def='NT-content'>content</nt> may
appear, at any point within the nonterminal
<nt def='NT-AttValue'>AttValue</nt>,
and within the
<termref def='dt-litentval'>literal entity value</termref>
(<nt def='NT-EntityValue'>EntityValue</nt>)
of an internal entity declaration.
This section discusses the first two cases; the third
is discussed <titleref href='intern-replacement'>below</titleref>.
When an <termref def="dt-xml-proc">XML processor</termref> encounters
such a reference, or the name of an unparsed entity as the value
of an <kw>ENTITY</kw> or <kw>ENTITIES</kw> attribute, then:
<olist>
<item><p>In all cases, the XML processor may
inform the application of the reference's occurrence and its identifier
(for an entity reference, the name; for a character
reference,
the character number in decimal, hexadecimal, or binary form).</p></item>
<item><p>For both character and entity references, the processor must
remove the reference itself from the <termref def="dt-text">text</termref> data
before passing the data to the application.
</p></item>
<item><p>For character references, the processor must
pass the character indicated
to the application in
place of the reference.
</p></item>
<item><p>For an external entity, the processor must inform the
application of the entity's <termref def="dt-sysid">system
identifier</termref>, and <termref def="dt-pubid">public identifier</termref>
if any.
All strings
of white space in the public identifier must be normalized to single space characters (#x20),
and leading and trailing white space must be removed.</p></item>
<item><p>If the external entity is binary, the processor must inform the
application of the associated <termref def="dt-notation">notation</termref>
name, and the notation's associated <termref def='dt-sysid'>system</termref>
and <termref def='dt-pubid'>public</termref> (if any)
identifiers.</p></item>
<item><p><termdef id="dt-include" term="Include">For an internal
(parsed) entity, the processor must <term>include</term> the
entity; that is, retrieve its replacement text
and process it as a part of the document
(i.e. as <nt def="NT-content">content</nt> or <nt
def="NT-AttValue">AttValue</nt>, whichever was being processed when
the reference was recognized), passing the result to the application
in place of the reference. The replacement text may contain both
<termref def='dt-chardata'>character data</termref>
and <termref def="dt-markup">markup</termref>, which must be recognized in
the usual way, except that the replacement text of entities used to escape
markup delimiters (the entities &magicents;) is always treated as
data. (The string "<code>AT&amp;amp;T;</code>" expands to
"<code>AT&amp;T;</code>" since the ampersand replacing "<code>&amp;amp;</code>"
is not recognized
as an entity-reference delimiter.) </termdef></p>
<p>Since the entity may contain other entity references,
an XML processor may have to repeat the inclusion process recursively.</p>
</item>
<item><p>If the entity is an external parsed entity, then in order to
<termref def="dt-valid">validate</termref> the XML document, the processor must
<termref def="dt-include">include</termref> the content of the
entity.</p></item>
<item><p>If the entity is an external parsed entity, and the processor is not
attempting to <termref def="dt-valid">validate</termref> the XML document, the
processor <termref def="dt-may">may</termref>, but need not, <termref
def="dt-include">include</termref> the entity's content.</p>
<p>This rule is based on the recognition that the automatic inclusion
provided by the SGML and XML entity mechanism, primarily designed
to support modularity in authoring, is not necessarily
appropriate for other applications, in particular document browsing.
Browsers, for example, when encountering an external parsed entity reference,
might 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>
<div3 id='PE-proc'>
<head>Parameter Entity Processing</head>
<p>Parameter-entity references are only recognized in the
<termref def='dt-doctype'>DTD</termref>.
Their processing, when they appear
within the
<termref def='dt-litentval'>literal entity value</termref>
(<nt def='NT-EntityValue'>EntityValue</nt>)
of an internal entity declaration,
is discussed <titleref href='intern-replacement'>below</titleref>.
They have these intended uses:
<olist>
<item><p>as a replacement for one or more complete markup declarations</p></item>
<item><p>as a replacement for one or more complete "groups" in
element declarations</p></item>
<item><p>as a replacement for one or more complete "tokens" in
markup declarations</p></item>
</olist>
</p>
<p>The constraints requiring that PE replacement texts be properly nested
with <titleref href='vc-PEinMarkupDecl'>markup declarations</titleref>
and <titleref href='vc-PEinGroup'>content groups</titleref>
govern the first two usages.</p>
<p>To support the third intended usage,
when an XML processor encounters a parameter-entity reference
(outside of the
<termref def='dt-litentval'>literal entity value</termref> in an entity
declaration),
it must <termref def="dt-include">include</termref>
the named entity, but first expand its
<termref def='dt-repltext'>replacement text</termref> by attaching
space (#x20) characters to its beginning and the end, before
processing it.</p>
<p>The DTD text must match the relevant
rules of this specification's grammar after all parameter-entity
references have been expanded.
<!-In addition, parameter entities referred to in specific
contexts are required to satisfy certain constraints in their
replacement text; for example, a parameter entity referred to within
the internal DTD subset must match the rule for <nt
def="NT-markupdecl">markupdecl</nt>. ->
</p>
</div3>
-->
</div2>
<div2 id='intern-replacement'>
<head>ÆâÉô¼ÂÂÎ&replacement-text;¤Î¹½ÃÛ</head>
<p>ÆâÉô¼ÂÂΤμ谷¤¤¤Îµ¬Äê¤Ç¡¤¼ÂÂÎÃͤòÆó¤Ä¤Î·Á¼°¤Ë¶èÊ̤¹¤ë¤³¤È¤ÏÌò¤ËΩ¤Ä¡£<termdef id="dt-litentval" term='Literal Entity Value'><term>&literal;¼ÂÂÎÃÍ</term>¤Ï¡¤¼ÂÂÎÀë¸ÀÆâ¤Ë¼ÂºÝ¤Ë¸ºß¤¹¤ë¡¤°úÍÑÉä¤Ç°Ï¤à&string;¤È¤¹¤ë¡£¤³¤ì¤Ï¡¤Èó½ªÃ¼µ­¹æ<nt def='NT-EntityValue'>EntityValue</nt>¤Ë&match;¤¹¤ë¡£</termdef><termdef id='dt-repltext' term='Replacement Text'><term>&replacement-text;</term>¤Ï¡¤Ê¸»ú»²¾ÈµÚ¤Ó&parameter;¼ÂÂλ²¾È¤ÎÃÖ´¹¤¨¸å¤Ë¤ª¤±¤ë¡¤¼ÂÂΤÎÆâÍƤȤ¹¤ë¡£</termdef></p>
<p>ÆâÉô¼ÂÂÎÀë¸ÀÆâ¤ÇÍ¿¤¨¤ë&literal;¼ÂÂÎÃÍ<!-- replacement text -->(<nt def='NT-EntityValue'>EntityValue</nt>)¤Ï¡¤Ê¸»ú»²¾È¡¤&parameter;¼ÂÂλ²¾ÈµÚ¤Ó°ìÈ̼ÂÂλ²¾È¤ò´Þ¤ó¤Ç¤è¤¤¡£¤³¤ì¤é¤Î»²¾È¤Ï¡¤<!-- replacement text. -->&literal;¼ÂÂÎÃÍÆâ¤Ë´°Á´¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£<termref def='dt-include'>Ÿ³«¤¹¤ë</termref>¼ÂºÝ¤Î&replacement-text;(Àè¤Ë¼¨¤·¤¿¤â¤Î)¤Ï¡¤»²¾È¤¹¤ë&parameter;¼ÂÂΤÎ<emph>&replacement-text;</emph>¤ò´Þ¤Þ¤Ê¤±¤ì¤Ð¤Ê¤é¤º¡¤&literal;¼ÂÂÎÃÍÆâ¤Ç¤Îʸ»ú»²¾È¤ÎÂå¤ï¤ê¤Ë»²¾È¤·¤¿Ê¸»ú¤ò´Þ¤Þ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤·¤«¤·¡¤°ìÈ̼ÂÂλ²¾È¤Ï¡¤¤½¤Î¤Þ¤Þ»Ä¤·, Ÿ³«¤·¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
<!-- in the replacement text that is to be included. -->
Î㤨¤Ð¡¤¼¡¤ÎÀë¸À¤òÍ¿¤¨¤¿¤È¤¹¤ë¡£
<eg><![CDATA[<!ENTITY % pub "&#xc9;ditions Gallimard" >
<!ENTITY rights "All rights reserved" >
<!ENTITY book "La Peste: Albert Camus,
&#xA9; 1947 %pub;. &rights;" >]]></eg>
¼ÂÂΤÎ&replacement-text;"<code>book</code>"¤Ï¡¤¼¡¤Î¤È¤ª¤ê¤È¤Ê¤ë¡£
<eg>La Peste: Albert Camus,
&#169; 1947 &#201;ditions Gallimard. &amp;rights;</eg>
»²¾È"<code>&amp;book;</code>"¤¬¡¤Ê¸½ñ¤ÎÆâÍÆËô¤Ï°À­ÃÍÆâ¤Ë½Ð¸½¤·¤Æ¤¤¤ì¤Ð¡¤°ìÈ̼ÂÂλ²¾È"<code>&amp;rights;</code>"¤Ï¡¤Å¸³«¤µ¤ì¤Æ¤¤¤ë¡£</p>
<p>¤³¤ì¤é¤Îñ½ã¤Êµ¬Â§¤Ï¡¤Ê£¹çÁê¸ßºîÍѤò¤â¤Ä¡£
<!-- ÆüËܸìÌõ¤Ë¤Ä¤¤¤Æ¡§ interaction = Áê¸ßºîÍѡʶâËÜ¡Ë-->
Æñ¤·¤¤Îã¤Ë¤Ä¤¤¤Æ¤Î¾ÜºÙ¤Ï¡¤<titleref href='sec-entexpand'>¼ÂÂλ²¾È¤ÎŸ³«¤ÎÉÕÏ¿</titleref>¤ò»²¾È¤Î¤³¤È¡£
</p>
<!-- Replaced by the above -TB
<p>Implementors of XML processors need to know the rules for
expansion of references in more detail. These rules only come into
play when the replacement text for an internal entity itself contains
other references.
<olist>
<item><p>In the replacement text of an internal entity, parameter-entity
references and character references in the replacement text
are recognized and resolved
when the entity declaration is parsed,
before the replacement text is stored in
the processor's symbol table.
General-entity references in the replacement text are not
resolved when the entity declaration is parsed.</p></item>
<item><p>In the document, when a general-entity reference is
resolved, its replacement text is parsed. Character references
encountered in the replacement text are
resolved immediately; general-entity references encountered in the
replacement text may be resolved or left unresolved, as described
<titleref href="entproc">above</titleref>.
Character and general-entity references must be
contained entirely within the entity's replacement text.
</p></item>
</olist>
</p>
<p>Simple character references do not suffice to escape delimiters
within the replacement text of an internal entity: they will be
expanded when the entity declaration is parsed, before the replacement
text is stored in the symbol table. When the entity itself is
referred to, the replacement text will be parsed again, and the
delimiters (no longer character references)
will be recognized as delimiters. To escape the
characters &magicents; in an entity replacement text, use
a general-entity reference or a doubly-escaped character reference.
See <titleref href='sec-entexpand'>the appendix on expansion
of entity references</titleref>
for detailed examples.</p>
-->
</div2>
<div2 id='sec-predefined-ent'>
<head>ÄêµÁºÑ¤ß¼ÂÂÎ</head>
<p><termdef id="dt-escape" term="escape">
¼ÂÂλ²¾ÈµÚ¤Óʸ»ú»²¾È¤Î¤¤¤º¤ì¤â¡¤&left-angle-bracket;¡¤¥¢¥ó¥Ð¥µ¥ó¥ÉµÚ¤Ó¾¤Î¶èÀÚ¤ê»Ò¤ò<term>&escape;</term>¤¹¤ë¤¿¤á¤Ë»ÈÍѤǤ­¤ë¡£¤¤¤¯¤Ä¤«¤Î°ìÈ̼ÂÂΡÊ&magicents;¡Ë¤ò¡¤¤³¤ÎÌÜŪ¤Î¤¿¤á¤Ë»ØÄꤹ¤ë¡£¿ôÃͤˤè¤ëʸ»ú»²¾È¤â¡¤Æ±ÍͤÎÌÜŪ¤Î¤¿¤á¤Ë»ÈÍѤǤ­¤ë¡£Ê¸»ú»²¾È¤Ï¡¤Ç§¼±¤µ¤ì¤ë¤Èľ¤Á¤ËŸ³«¤µ¤ì¡¤Ê¸»ú¥Ç¡¼¥¿¤È¤·¤Æ°·¤ï¤ì¤ë¤Î¤Ç¡¤¿ôÃͤˤè¤ëʸ»ú»²¾È"<code>&amp;#60;</code>"µÚ¤Ó"<code>&amp;#38;</code>"¤Ï¡¤Ê¸»ú¥Ç¡¼¥¿Æâ¤Ë½Ð¸½¤¹¤ë<code>&lt;</code>µÚ¤Ó<code>&amp;</code>¤ò&escape;¤¹¤ë¤¿¤á¤Ë»ÈÍѤǤ­¤ë¡£</termdef></p>
<p>¤¹¤Ù¤Æ¤ÎXML&processor;¤Ï¡¤Àë¸À¤µ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ë´Ø·¸¤Ê¤¯¡¤¤³¤ì¤é¤Î¼ÂÂΤòǧ¼±¤·¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£<termref def='dt-interop'>Áê¸ß±¿ÍÑÀ­¤Î¤¿¤á</termref>¡¤&valid;¤ÊXMLʸ½ñ¤Ï¡¤¤³¤ì¤é¤Î¼ÂÂΤò»ÈÍѤ¹¤ëÁ°¤Ë¡¤Â¾¤Î¼ÂÂΤÈƱÍͤˡ¤Àë¸À¤¹¤ë¤³¤È¤¬Ë¾¤Þ¤·¤¤¡£¼ÂÂΤòÀë¸À¤¹¤ë¾ì¹ç¤Ï¡¤&replacement-text;¤ò&escape;¤¹¤ë°ìʸ»ú¤È¤¹¤ëÆâÉô¼ÂÂΤȤ·¤Æ¡¤¼¡¤Î¤È¤ª¤ê¤ËÀë¸À¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
<eg><![CDATA[<!ENTITY lt "&#38;#60;">
<!ENTITY gt "&#62;">
<!ENTITY amp "&#38;#38;">
<!ENTITY apos "&#39;">
<!ENTITY quot "&#34;">
]]></eg>
"<code>lt</code>"µÚ¤Ó"<code>amp</code>"Àë¸ÀÆâ¤Î"<code>&lt;</code>"µÚ¤Ó"<code>&amp;</code>"ʸ»ú¤Ï¡¤¼ÂÂΤÎÃÖ´¹¥Æ¥­¥¹¥È¤¬¡¤&well-formed;¤È¤Ê¤ë¤è¤¦¤ËÆó½Å¤Ë&escape;¤µ¤ì¤ë¤³¤È¤ËÃí°Õ¡£
</p>
</div2>
<div2 id='Notations'>
<head>µ­Ë¡Àë¸À</head>
<p>
<termdef id="dt-notation" term="Notation">
<term>µ­Ë¡</term>¤Ï¡¤<termref def="dt-extent">&unparsed-entity;</termref>¤Î·Á¼°¤ò&identify;̾Á°¤«¡¤Ëô¤Ï<termref def="dt-pi">½èÍýÌ¿Îá</termref>¤ÎÂоݤȤ¹¤ë&application;¤ò&identify;̾Á°¤È¤¹¤ë¡£</termdef></p>
<p><termdef id="dt-notdecl" term="Notation Declaration">
<term>µ­Ë¡Àë¸À</term>¤Ï¡¤µ­Ë¡¤Î̾Á°µÚ¤Ó³°Éô&identifier;¤òÄ󶡤¹¤ë¡£¤³¤Î̾Á°¤Ï¡¤¼ÂÂεڤÓ°À­¥ê¥¹¥ÈÀë¸ÀʤӤË°À­»ØÄê¤ËÍѤ¤¤ë¡£³°Éô&identifier;¤Ï¡¤Í¿¤¨¤é¤ì¤¿µ­Ë¡¤Î¥Ç¡¼¥¿¤ò½èÍý¤Ç¤­¤ë¥Ø¥ë¥Ñ&application;¤ò¡¤XML&processor;Ëô¤Ï¥¯¥é¥¤¥¢¥ó¥È¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬Ãµ¤¹¤¿¤á¤Ë¡¤ÍøÍѤǤ­¤ë¡£
<scrap lang='ebnf'>
<head>µ­Ë¡Àë¸À</head>
<prod id='NT-NotationDecl'><lhs>NotationDecl</lhs>
<rhs>'&lt;!NOTATION' <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-PublicID'>PublicID</nt>)
<nt def='NT-S'>S</nt>? '>'</rhs></prod>
<prod id='NT-PublicID'><lhs>PublicID</lhs>
<rhs>'PUBLIC' <nt def='NT-S'>S</nt>
<nt def='NT-PubidLiteral'>PubidLiteral</nt>
</rhs></prod>
</scrap>
</termdef></p>
<p>Àë¸À¤·¡¤Â°À­ÃÍ¡¤Â°À­ÄêµÁËô¤Ï¼ÂÂÎÀë¸À¤Ç»²¾È¤¹¤ë¤¹¤Ù¤Æ¤Îµ­Ë¡¤Ë¤Ä¤¤¤Æ¡¤XML&processor;¤Ï¡¤µ­Ë¡¤Î̾Á°µÚ¤Ó³°Éô&identifier;¤ò&application;¤ËÄ󶡤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤µ¤é¤Ë¡¤³°Éô&identifier;¤ò¡¤<termref def="dt-sysid">¥·¥¹¥Æ¥à&identifier;</termref>¡¤¥Õ¥¡¥¤¥ë̾Ëô¤Ï¤½¤Î¾¤Î¾ðÊó¤ËŸ³«¤·¤Æ¤â¤è¤¯¡¤¤³¤ì¤é¤òÍѤ¤¤Æ¡¤&application;¤Ï¡¤¤½¤Îµ­Ë¡¤Î¥Ç¡¼¥¿¤ò½èÍý¤¹¤ë&processor;¤òµ¯Æ°¤¹¤ë¡£(¤·¤«¤·¡¤XML&processor;Ëô¤Ï&application;¤¬Æ°ºî¤¹¤ë¥·¥¹¥Æ¥à¤Ç¤ÏÍøÍѤǤ­¤Ê¤¤µ­Ë¡¤ò¡¤XMLʸ½ñ¤¬Àë¸À¤·»²¾È¤·¤Æ¤â¡¤¤³¤ì¤Ï¡¤&error;¤È¤Ï¤·¤Ê¤¤¡£¡Ë</p>
</div2>
<div2 id='sec-doc-entity'>
<head>ʸ½ñ¼ÂÂÎ</head>
<p><termdef id="dt-docent" term="Document Entity"><term>ʸ½ñ¼ÂÂÎ</term>¤Ï¡¤¼ÂÂΤηÁÀ®¤¹¤ëÌÚ¹½Â¤¤Î&root;¤Ç¤¢¤Ã¤Æ¡¤<termref def="dt-xml-proc">XML&processor;</termref>¤¬¡¤½èÍý¤ò³«»Ï¤¹¤ëÃÏÅÀ¤È¤¹¤ë¡£</termdef>¤³¤Î&TR-or-Rec;¤Ï¡¤XML&processor;¤¬¡¤Ê¸½ñ¼ÂÂΤθºß¤¹¤ë¾ì½ê¤ò¤É¤Î¤è¤¦¤Ë¸«¤Ä¤±¤ë¤«¤Ï¡¤µ¬Äꤷ¤Ê¤¤¡£Â¾¤Î¼ÂÂΤȰۤʤꡤʸ½ñ¼ÂÂΤÏ̾Á°¤ò¤â¤¿¤º¡¤¤¤¤«¤Ê¤ë¼±Ê̤â¤Ê¤·¤Ë&processor;¤Ø¤ÎÆþÎÏ&stream;¤Ë½Ð¸½¤·¤Æ¤â¤è¤¤¡£</p>
</div2>
</div1>
<!-- &Conformance; -->
<div1 id='sec-conformance'>
<head>Ŭ¹çÀ­</head>
<p>Ŭ¹ç¤¹¤ë<termref def="dt-xml-proc">XML&processor;</termref>¤Ï¡¤&validating;¤â¤ÎµÚ¤Ó&non-validating;¤â¤Î¤Î¡¤Æó¤Ä¤ËʬÎव¤ì¤ë¡£</p>
<p>&validating;¥·¥¹¥Æ¥àµÚ¤Ó&non-validating;¥·¥¹¥Æ¥à¤Ï¡¤¤³¤Î&TR-or-Rec;¤¬µ¬Äꤹ¤ë&well-formed;À©Ìó¤Ø¤Î°ãÈ¿¤òÊó¹ð¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
<p><termdef id="dt-validating" term="Validating Processor"><term>&validating;&processor;</term>¤Ï¡¤<termref def="dt-doctype">DTD</termref>Æâ¤ÎÀë¸À¤Ë¤è¤Ã¤Æ¼¨¤µ¤ì¤¿¡¤À©Ìó¤Ø¤Î°ãÈ¿¤òÊó¹ð¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤µ¤é¤Ë¡¤¤³¤Î&TR-or-Rec;¤¬µ¬Äꤹ¤ë&validity;À©Ìó¤Ø¤Î°ãÈ¿¤ò¡¤¤¹¤Ù¤ÆÊó¹ð¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
</termdef>
</p>
</div1>
<div1 id='sec-notation'>
<head>µ­Ë¡</head>
<p>XML¤Î·Á¼°Åª¤Êʸˡ¤Ï¡¤´Êñ¤Ê³ÈÄ¥Backus-Naur Form(EBNF)µ­Ë¡¤Ë¤è¤Ã¤ÆÍ¿¤¨¤ë¡£Ê¸Ë¡¤Î³Æµ¬Â§¤Ï¡¤¼¡¤Î·Á¼°¤Ç¡¤µ­¹æ¤ò°ì¤ÄÄêµÁ¤¹¤ë¡£
<eg>symbol ::= expression</eg></p>
<p>µ­¹æ¤Ï¡¤Àµµ¬É½¸½¤ÇÄêµÁ¤¹¤ë¤È¤­¤ÏÂçʸ»ú¤Ç»Ï¤á¡¤¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¤¾®Ê¸»ú¤Ç»Ï¤á¤ë¡£&string;&literal;¤Ï¡¤°úÍÑÉä¤Ç°Ï¤à¡£
<!--* The distinction between symbols which can and cannot be
recognized using simple regular expressions may be used to set the
boundary between an implementation's lexical scanner and its parser,
but this specification neither constrains the placement of that
boundary nor presupposes that all implementations will have one. *-->
</p>
<p>µ¬Â§¤Î±¦Â¦¤Î¼°Æâ¤Ç¤Ï¡¤°ì¤ÄËô¤ÏÊ£¿ô¤Îʸ»ú¤«¤é¤Ê¤ë&string;¤È&match;¤¹¤ë¤¿¤á¤Ë¡¤¼¡¤Î¼°¤ò»ÈÍѤ¹¤ë¡£
<glist>
<gitem>
<label><code>#xN</code></label>
<def><p>¤³¤³¤Ç¡¤<code>N</code>¤Ï16¿Ê¤ÎÀ°¿ô¤È¤¹¤ë¡£ISO/IEC 10646¤Îʸ»ú¤Ç¤¢¤Ã¤Æ¡¤Àµµ¬·Á(UCS-4)¤Î&code-value;¤òÉä¹æ¤Ê¤·2¿Ê¿ô¤È¤·¤Æ²ò¼á¤·¤¿¤È¤­¡¤»ØÄꤷ¤¿ÃͤÈÅù¤·¤¤¤â¤Î¤È&match;¤¹¤ë¡£<code>#xN</code>·Á¼°¤ÎÀèƬ¤Ë¥¼¥í¤¬¤¤¤¯¤Ä¤«¸½¤ì¤ë¤«¤Ï¡¤°ÕÌ£¤ò¤â¤¿¤Ê¤¤¡£&code-value;<!-- bit string -->¤Ë¤ª¤±¤ëÀèƬ¤Î¥¼¥í¤Î¿ô¤Ï¡¤Ê¸»ú¤ÎÉä¹æ²½¤Ë¤è¤Ã¤Æ·èÄꤵ¤ì¤ë¤Î¤Ç¡¤XML¤Ë¤È¤Ã¤Æ¤Ï°ÕÌ£¤¬¤Ê¤¤¡£
</p></def>
</gitem>
<gitem>
<label><code>[a-zA-Z]</code>, <code>[#xN-#xN]</code></label>
<def><p>»ØÄꤷ¤¿ÈϰϤÎÃÍ(ξü¤ÎÃͤò´Þ¤à¡£¡Ë¤ò¤â¤ÄǤ°Õ¤Î<termref def='dt-character'>ʸ»ú</termref>¤È&match;¤¹¤ë¡£</p></def>
</gitem>
<gitem>
<label><code>[^a-z]</code>, <code>[^#xN-#xN]</code></label>
<def><p>»ØÄꤷ¤¿ÈÏ°Ï<emph>³°</emph>¤ÎÃͤò¤â¤ÄǤ°Õ¤Î<termref def='dt-character'>ʸ»ú</termref>¤È&match;¤¹¤ë¡£</p></def>
</gitem>
<gitem>
<label><code>[^abc]</code>, <code>[^#xN#xN#xN]</code></label>
<def><p>»ØÄꤷ¤¿Ê¸»ú°Ê³°¤ÎÃͤò¤â¤ÄǤ°Õ¤Î<termref def='dt-character'>ʸ»ú</termref>¤È&match;¤¹¤ë¡£</p></def>
</gitem>
<gitem>
<label><code>"string"</code></label>
<def><p>&double-quote;¤Ç°Ï¤à&string;&literal;¤È<termref def="dt-match">&match;¤·¤Æ¤¤¤ë</termref>&string;&literal;¤È&match;¤¹¤ë¡£</p></def>
</gitem>
<gitem>
<label><code>'string'</code></label>
<def><p>&single-quote;¤Ç°Ï¤à&string;&literal;¤È<termref def="dt-match">&match;¤·¤Æ¤¤¤ë</termref>&string;&literal;¤È&match;¤¹¤ë¡£</p></def>
</gitem>
</glist>
¤³¤ì¤é¤Îµ­¹æ¤Ï¡¤¼¡¤Î·Á¼°¤ÎÁȹ礻¤Ç»ÈÍѤ¹¤ë¡£¤³¤³¤Ç¡¤<code>A</code>µÚ¤Ó<code>B</code>¤Ï¡¤Ã±½ã¤Ê¼°¤È¤¹¤ë¡£
<glist>
<gitem>
<label>(<code>expression</code>)</label>
<def><p><code>expression</code>¤Ï¡¤°ì¤Ä¤Î¤Þ¤È¤Þ¤ê¤È¤·¤Æ°·¤¤¡¤¤³¤³¤Ë¼¨¤¹Áȹ礻¤Ç»È¤Ã¤Æ¤â¤è¤¤¡£</p></def>
</gitem>
<gitem>
<label><code>A?</code></label>
<def><p><code>A</code>Ëô¤Ï²¿¤â¤Ê¤·¤È&match;¤¹¤ë(¥ª¥×¥·¥ç¥ó¤Î<code>A</code>)¡£</p></def>
</gitem>
<gitem>
<label><code>A B</code></label>
<def><p><code>A</code>¤Î¼¡¤Ë<code>B</code>¤¬½Ð¸½¤¹¤ë¤â¤Î¤È&match;¤¹¤ë¡£
</p></def>
</gitem>
<gitem>
<label><code>A | B</code></label>
<def><p><code>A</code>Ëô¤Ï<code>B</code>¡¤¤¿¤À¤·¡¤Î¾Êý¤Ç¤Ï¤Ê¤¤¡¤¤È&match;¤¹¤ë¡£
</p></def>
</gitem>
<gitem>
<label><code>A - B</code></label>
<def><p><code>A</code>¤È&match;¤¹¤ë¤¬¡¤<code>B</code>¤È¤Ï&match;¤·¤Ê¤¤¡¤Ç¤°Õ¤Î&string;¤È&match;¤¹¤ë¡£</p></def>
</gitem>
<gitem>
<label><code>A+</code></label>
<def><p><code>A</code>¤Î1²ó°Ê¾å¤Î·«ÊÖ¤·¤È&match;¤¹¤ë¡£</p></def>
</gitem>
<gitem>
<label><code>A*</code></label>
<def><p><code>A</code>¤Î0²ó°Ê¾å¤Î·«ÊÖ¤·¤È&match;¤¹¤ë¡£</p></def>
</gitem>
<!-- DEATH TO %'s
<gitem>
<label><code>%a</code></label>
<def><p>specifies that <emph>in the external DTD subset</emph> a
<termref def='dt-param-entity'>parameter entity</termref> may occur in the
text at the position where <code>a</code> may occur; if so, its
replacement text must match <code>S? a S?</code>. If
the expression <code>a</code> is governed by a suffix operator, then
the suffix operator determines both the maximum number of parameter-entity
references allowed and the number of occurrences of <code>a</code>
in the replacement text of the parameter entities: <code>%a*</code>
means that <code>a</code> must occur zero or more times, and
that some of its occurrences may be replaced by references to
parameter entities whose replacement text must contain zero or
more occurrences of <code>a</code>; it is thus a more compact way
of writing <code>%(a*)*</code>.
Similarly, <code>%a+</code> means that <code>a</code>
must occur one or more times, and may be replaced by
parameter entities with replacement text matching
<code>S? (a S?)+</code>.
The recognition of parameter entities in the internal subset is much more
highly constrained.
</p></def>
</gitem>
-->
</glist>
À¸À®µ¬Â§Æâ¤Ç»ÈÍѤ¹¤ë¾¤Îµ­Ë¡¤ò¡¤¼¡¤Ë¼¨¤¹¡£
<glist>
<gitem>
<label><code>/* ... */</code></label>
<def><p>¥³¥á¥ó¥È¡£</p></def>
</gitem>
<gitem>
<label><code>[ wfc: ... ]</code></label>
<def><p>&well-formed;À©Ìó¡£À¸À®µ¬Â§¤ËÉÕÍ¿¤·¤¿¡¤<termref def="dt-wellformed">&well-formed;</termref>¤Îʸ½ñ¤Ë´Ø¤¹¤ëÀ©Ìó¤ò¡¤Ì¾Á°¤Ë¤è¤Ã¤Æ&identify;¡£</p></def>
</gitem>
<gitem>
<label><code>[ vc: ... ]</code></label>
<def><p>&validity;À©Ìó¡£À¸À®µ¬Â§¤ËÉÕÍ¿¤·¤¿¡¤<termref def="dt-valid">&valid;</termref>¤Êʸ½ñ¤Ë´Ø¤¹¤ëÀ©Ìó¤ò¡¤Ì¾Á°¤Ë¤è¤Ã¤Æ&identify;¡£
</p></def>
</gitem>
</glist>
</p></div1>
</body>
<back>
<!-- &SGML; -->
<!-- &Biblio; -->
<div1 id='sec-bibliography'>
<head>»²¹Íʸ¸¥</head>
<div2 id='sec-existing-stds'>
<head>&normative;»²¹Íʸ¸¥</head>
<!--* <ulist><item>
<p>Unicode and ISO/IEC 10646. This specification depends on the
international standard ISO/IEC 10646 (with amendments AM 1 through AM 7)
and the Unicode Standard, Version 2.0 <bibref ref='Unicode'/>,
which define the encodings and meanings of
the <termref def="dt-character">characters</termref> which
make up XML <termref def="dt-text">text</termref>.
All the characters in ISO/IEC 10646 are present, at the same code points,
in Unicode.</p></item>
<item><p>XXX XXX defines the syntax and semantics of
Uniform Resource Identifiers, or URIs.</p></item>
<item><p>IETF RFC 1766, with ISO 639 and 3166,
describe the codes that may be used in the
special <titleref href='sec-lang-tag'>xml:lang</titleref> attribute.</p>
</item></ulist>
*-->
<blist>
<bibl id='RFC1766' key='IETF RFC 1766'>
IETF (Internet Engineering Task Force).
<emph>RFC 1766: Tags for the Identification of Languages</emph>,
ed. H. Alvestrand.
1995.
</bibl>
<bibl id='ISO639' key='ISO 639'>
(International Organization for Standardization).
<emph>ISO 8879:1988 (E).
Code for the representation of names of languages.</emph>
[Geneva]: International Organization for
Standardization, 1988.</bibl>
<bibl id='ISO3166' key='ISO 3166'>
(International Organization for Standardization).
<emph>ISO 3166-1:1997 (E).
Codes for the representation of names of countries and their subdivisions
&mdash; Part 1: Country codes</emph>
[Geneva]: International Organization for
Standardization, 1997.</bibl>
<bibl id='ISO10646' key='ISO/IEC 10646'>ISO
(International Organization for Standardization).
<emph>ISO/IEC 10646-1993 (E). Information technology &mdash; Universal
Multiple-Octet Coded Character Set (UCS) &mdash; Part 1:
Architecture and Basic Multilingual Plane.</emph>
[Geneva]: International Organization for
Standardization, 1993 (plus amendments AM 1 through AM 7).
</bibl>
<bibl id='Unicode' key='Unicode'>The Unicode Consortium.
<emph>The Unicode Standard, Version 2.0.</emph>
Reading, Mass.: Addison-Wesley Developers Press, 1996.</bibl>
</blist>
</div2>
<div2><head>¾¤Î»²¹Íʸ¸¥</head>
<blist>
<bibl id='Aho' key='Aho/Ullman'>Aho, Alfred V.,
Ravi Sethi, and Jeffrey D. Ullman.
<emph>Compilers: Principles, Techniques, and Tools</emph>.
Reading: Addison-Wesley, 1986, rpt. corr. 1988.</bibl>
<bibl id="Berners-Lee" xml-link="simple" key="Berners-Lee et al.">
Berners-Lee, T., R. Fielding, and L. Masinter.
<emph>Uniform Resource Identifiers (URI): Generic Syntax and
Semantics</emph>.
1997.
(Work in progress; see updates to RFC1738.)</bibl>
<bibl id='ABK' key='Br&#252;ggemann-Klein'>Br&#252;ggemann-Klein, Anne.
<emph>Regular Expressions into Finite Automata</emph>.
Extended abstract in I. Simon, Hrsg., LATIN 1992,
S. 97-98. Springer-Verlag, Berlin 1992.
Full Version in Theoretical Computer Science 120: 197-213, 1993.
<!--
Universitat Freiburg, Institut fur Informatik,
Bericht 33, Juli 1991.-->
</bibl>
<bibl id='ABKDW' key='Br&#252;ggemann-Klein and Wood'>Br&#252;ggemann-Klein, Anne,
and Derick Wood.
<emph>Deterministic Regular Languages</emph>.
Universit&#228;t Freiburg, Institut f&#252;r Informatik,
Bericht 38, Oktober 1991.
</bibl>
<bibl id="RFC1738" xml-link="simple" key="IETF RFC1738">
IETF (Internet Engineering Task Force).
<emph>RFC 1738: Uniform Resource Locators (URL)</emph>,
ed. T. Berners-Lee, L. Masinter, M. McCahill.
1994.
</bibl>
<bibl id="RFC1808" xml-link="simple" key="IETF RFC1808">
IETF (Internet Engineering Task Force).
<emph>RFC 1808: Relative Uniform Resource Locators</emph>,
ed. R. Fielding.
1995.
</bibl>
<bibl id="RFC2141" xml-link="simple" key="IETF RFC2141">
IETF (Internet Engineering Task Force).
<emph>RFC 2141: URN Syntax</emph>,
ed. R. Moats.
1997.
</bibl>
<bibl id='ISO8879' key='ISO/IEC 8879'>ISO
(International Organization for Standardization).
<emph>ISO/IEC 8879-1986 (E). Information processing &mdash; Text and Office
Systems &mdash; Standard Generalized Markup Language (SGML).</emph> First
edition &mdash; 1986-10-15. [Geneva]: International Organization for
Standardization, 1986.
</bibl>
<bibl id='ISO10744' key='ISO/IEC 10744'>ISO
(International Organization for Standardization).
<emph>ISO/IEC 10744-1992 (E). Information technology &mdash;
Hypermedia/Time-based Structuring Language (HyTime).
</emph>
[Geneva]: International Organization for
Standardization, 1992.
<emph>Extended Facilities Annexe.</emph>
[Geneva]: International Organization for
Standardization, 1996.
</bibl>
</blist>
</div2>
</div1>
<div1 id='CharClasses'>
<head>ʸ»ú¥¯¥é¥¹</head>
<p>Unicodeɸ½à¤ËÄêµÁ¤¹¤ë&property;¤Ë¤·¤¿¤¬¤Ã¤Æ¡¤Ê¸»ú¤Ï¡¤&base-character;(BaseChar)(¤³¤ì¤é¤Ï¡¤&diacritical-mark;¤ò½ü¤¯¥é¥Æ¥ó¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¤Î¥¢¥ë¥Õ¥¡¥Ù¥Ã¥Èʸ»ú¤ò´Þ¤à)¡¤&ideographic;(ideographic)µÚ¤Ó&combining-character;(CombiningChar)(¤³¤Î¥¯¥é¥¹¤Ï¡¤¤Û¤È¤ó¤É¤Î&diacritical-mark;¤ò´Þ¤à)¤Ë¥¯¥é¥¹Ê¬¤±¤¹¤ë¡£¤³¤ì¤é¤Î¥¯¥é¥¹¤Ï¡¤·ë¹ç¤·¡¤&letter;(Letter)¤Î¥¯¥é¥¹¤È¤Ê¤ë¡£10¿Ê¿ôÃÍ(Digit)µÚ¤Ó&extender;(Extender)¤â¶èÊ̤¹¤ë¡£
<scrap lang="ebnf" id="CHARACTERS">
<head>ʸ»ú</head>
<prodgroup pcw3="3" pcw4="15">
<prod id="NT-Letter"><lhs>Letter</lhs>
<rhs><nt def="NT-BaseChar">BaseChar</nt>
| <nt def="NT-Ideographic">Ideographic</nt></rhs> </prod>
<prod id='NT-BaseChar'><lhs>BaseChar</lhs>
<rhs>[#x0041-#x005A]
|&nbsp;[#x0061-#x007A]
|&nbsp;[#x00C0-#x00D6]
|&nbsp;[#x00D8-#x00F6]
|&nbsp;[#x00F8-#x00FF]
|&nbsp;[#x0100-#x0131]
|&nbsp;[#x0134-#x013E]
|&nbsp;[#x0141-#x0148]
|&nbsp;[#x014A-#x017E]
|&nbsp;[#x0180-#x01C3]
|&nbsp;[#x01CD-#x01F0]
|&nbsp;[#x01F4-#x01F5]
|&nbsp;[#x01FA-#x0217]
|&nbsp;[#x0250-#x02A8]
|&nbsp;[#x02BB-#x02C1]
|&nbsp;#x0386
|&nbsp;[#x0388-#x038A]
|&nbsp;#x038C
|&nbsp;[#x038E-#x03A1]
|&nbsp;[#x03A3-#x03CE]
|&nbsp;[#x03D0-#x03D6]
|&nbsp;#x03DA
|&nbsp;#x03DC
|&nbsp;#x03DE
|&nbsp;#x03E0
|&nbsp;[#x03E2-#x03F3]
|&nbsp;[#x0401-#x040C]
|&nbsp;[#x040E-#x044F]
|&nbsp;[#x0451-#x045C]
|&nbsp;[#x045E-#x0481]
|&nbsp;[#x0490-#x04C4]
|&nbsp;[#x04C7-#x04C8]
|&nbsp;[#x04CB-#x04CC]
|&nbsp;[#x04D0-#x04EB]
|&nbsp;[#x04EE-#x04F5]
|&nbsp;[#x04F8-#x04F9]
|&nbsp;[#x0531-#x0556]
|&nbsp;#x0559
|&nbsp;[#x0561-#x0586]
|&nbsp;[#x05D0-#x05EA]
|&nbsp;[#x05F0-#x05F2]
|&nbsp;[#x0621-#x063A]
|&nbsp;[#x0641-#x064A]
|&nbsp;[#x0671-#x06B7]
|&nbsp;[#x06BA-#x06BE]
|&nbsp;[#x06C0-#x06CE]
|&nbsp;[#x06D0-#x06D3]
|&nbsp;#x06D5
|&nbsp;[#x06E5-#x06E6]
|&nbsp;[#x0905-#x0939]
|&nbsp;#x093D
|&nbsp;[#x0958-#x0961]
|&nbsp;[#x0985-#x098C]
|&nbsp;[#x098F-#x0990]
|&nbsp;[#x0993-#x09A8]
|&nbsp;[#x09AA-#x09B0]
|&nbsp;#x09B2
|&nbsp;[#x09B6-#x09B9]
|&nbsp;[#x09DC-#x09DD]
|&nbsp;[#x09DF-#x09E1]
|&nbsp;[#x09F0-#x09F1]
|&nbsp;[#x0A05-#x0A0A]
|&nbsp;[#x0A0F-#x0A10]
|&nbsp;[#x0A13-#x0A28]
|&nbsp;[#x0A2A-#x0A30]
|&nbsp;[#x0A32-#x0A33]
|&nbsp;[#x0A35-#x0A36]
|&nbsp;[#x0A38-#x0A39]
|&nbsp;[#x0A59-#x0A5C]
|&nbsp;#x0A5E
|&nbsp;[#x0A72-#x0A74]
|&nbsp;[#x0A85-#x0A8B]
|&nbsp;#x0A8D
|&nbsp;[#x0A8F-#x0A91]
|&nbsp;[#x0A93-#x0AA8]
|&nbsp;[#x0AAA-#x0AB0]
|&nbsp;[#x0AB2-#x0AB3]
|&nbsp;[#x0AB5-#x0AB9]
|&nbsp;#x0ABD
|&nbsp;#x0AE0
|&nbsp;[#x0B05-#x0B0C]
|&nbsp;[#x0B0F-#x0B10]
|&nbsp;[#x0B13-#x0B28]
|&nbsp;[#x0B2A-#x0B30]
|&nbsp;[#x0B32-#x0B33]
|&nbsp;[#x0B36-#x0B39]
|&nbsp;#x0B3D
|&nbsp;[#x0B5C-#x0B5D]
|&nbsp;[#x0B5F-#x0B61]
|&nbsp;[#x0B85-#x0B8A]
|&nbsp;[#x0B8E-#x0B90]
|&nbsp;[#x0B92-#x0B95]
|&nbsp;[#x0B99-#x0B9A]
|&nbsp;#x0B9C
|&nbsp;[#x0B9E-#x0B9F]
|&nbsp;[#x0BA3-#x0BA4]
|&nbsp;[#x0BA8-#x0BAA]
|&nbsp;[#x0BAE-#x0BB5]
|&nbsp;[#x0BB7-#x0BB9]
|&nbsp;[#x0C05-#x0C0C]
|&nbsp;[#x0C0E-#x0C10]
|&nbsp;[#x0C12-#x0C28]
|&nbsp;[#x0C2A-#x0C33]
|&nbsp;[#x0C35-#x0C39]
|&nbsp;[#x0C60-#x0C61]
|&nbsp;[#x0C85-#x0C8C]
|&nbsp;[#x0C8E-#x0C90]
|&nbsp;[#x0C92-#x0CA8]
|&nbsp;[#x0CAA-#x0CB3]
|&nbsp;[#x0CB5-#x0CB9]
|&nbsp;#x0CDE
|&nbsp;[#x0CE0-#x0CE1]
|&nbsp;[#x0D05-#x0D0C]
|&nbsp;[#x0D0E-#x0D10]
|&nbsp;[#x0D12-#x0D28]
|&nbsp;[#x0D2A-#x0D39]
|&nbsp;[#x0D60-#x0D61]
|&nbsp;[#x0E01-#x0E2E]
|&nbsp;#x0E30
|&nbsp;[#x0E32-#x0E33]
|&nbsp;[#x0E40-#x0E45]
|&nbsp;[#x0E81-#x0E82]
|&nbsp;#x0E84
|&nbsp;[#x0E87-#x0E88]
|&nbsp;#x0E8A
|&nbsp;#x0E8D
|&nbsp;[#x0E94-#x0E97]
|&nbsp;[#x0E99-#x0E9F]
|&nbsp;[#x0EA1-#x0EA3]
|&nbsp;#x0EA5
|&nbsp;#x0EA7
|&nbsp;[#x0EAA-#x0EAB]
|&nbsp;[#x0EAD-#x0EAE]
|&nbsp;#x0EB0
|&nbsp;[#x0EB2-#x0EB3]
|&nbsp;#x0EBD
|&nbsp;[#x0EC0-#x0EC4]
|&nbsp;[#x0F40-#x0F47]
|&nbsp;[#x0F49-#x0F69]
|&nbsp;[#x10A0-#x10C5]
|&nbsp;[#x10D0-#x10F6]
|&nbsp;#x1100
|&nbsp;[#x1102-#x1103]
|&nbsp;[#x1105-#x1107]
|&nbsp;#x1109
|&nbsp;[#x110B-#x110C]
|&nbsp;[#x110E-#x1112]
|&nbsp;#x113C
|&nbsp;#x113E
|&nbsp;#x1140
|&nbsp;#x114C
|&nbsp;#x114E
|&nbsp;#x1150
|&nbsp;[#x1154-#x1155]
|&nbsp;#x1159
|&nbsp;[#x115F-#x1161]
|&nbsp;#x1163
|&nbsp;#x1165
|&nbsp;#x1167
|&nbsp;#x1169
|&nbsp;[#x116D-#x116E]
|&nbsp;[#x1172-#x1173]
|&nbsp;#x1175
|&nbsp;#x119E
|&nbsp;#x11A8
|&nbsp;#x11AB
|&nbsp;[#x11AE-#x11AF]
|&nbsp;[#x11B7-#x11B8]
|&nbsp;#x11BA
|&nbsp;[#x11BC-#x11C2]
|&nbsp;#x11EB
|&nbsp;#x11F0
|&nbsp;#x11F9
|&nbsp;[#x1E00-#x1E9B]
|&nbsp;[#x1EA0-#x1EF9]
|&nbsp;[#x1F00-#x1F15]
|&nbsp;[#x1F18-#x1F1D]
|&nbsp;[#x1F20-#x1F45]
|&nbsp;[#x1F48-#x1F4D]
|&nbsp;[#x1F50-#x1F57]
|&nbsp;#x1F59
|&nbsp;#x1F5B
|&nbsp;#x1F5D
|&nbsp;[#x1F5F-#x1F7D]
|&nbsp;[#x1F80-#x1FB4]
|&nbsp;[#x1FB6-#x1FBC]
|&nbsp;#x1FBE
|&nbsp;[#x1FC2-#x1FC4]
|&nbsp;[#x1FC6-#x1FCC]
|&nbsp;[#x1FD0-#x1FD3]
|&nbsp;[#x1FD6-#x1FDB]
|&nbsp;[#x1FE0-#x1FEC]
|&nbsp;[#x1FF2-#x1FF4]
|&nbsp;[#x1FF6-#x1FFC]
|&nbsp;#x2126
|&nbsp;[#x212A-#x212B]
|&nbsp;#x212E
|&nbsp;[#x2180-#x2182]
|&nbsp;[#x3041-#x3094]
|&nbsp;[#x30A1-#x30FA]
|&nbsp;[#x3105-#x312C]
|&nbsp;[#xAC00-#xD7A3]
</rhs></prod>
<prod id='NT-Ideographic'><lhs>Ideographic</lhs>
<rhs>[#x4E00-#x9FA5]
|&nbsp;#x3007
|&nbsp;[#x3021-#x3029]
</rhs></prod>
<prod id='NT-CombiningChar'><lhs>CombiningChar</lhs>
<rhs>[#x0300-#x0345]
|&nbsp;[#x0360-#x0361]
|&nbsp;[#x0483-#x0486]
|&nbsp;[#x0591-#x05A1]
|&nbsp;[#x05A3-#x05B9]
|&nbsp;#x05BB#x05BD
|&nbsp;#x05BF
|&nbsp;[#x05C1-#x05C2]
|&nbsp;#x05C4
|&nbsp;#x064B#x0652
|&nbsp;#x0670
|&nbsp;[#x06D6-#x06DC]
|&nbsp;#x06DD#x06DF
|&nbsp;[#x06E0-#x06E4]
|&nbsp;[#x06E7-#x06E8]
|&nbsp;[#x06EA-#x06ED]
|&nbsp;[#x0901-#x0903]
|&nbsp;#x093C
|&nbsp;[#x093E-#x094C]
|&nbsp;#x094D
|&nbsp;[#x0951-#x0954]
|&nbsp;[#x0962-#x0963]
|&nbsp;[#x0981-#x0983]
|&nbsp;#x09BC
|&nbsp;#x09BE
|&nbsp;#x09BF
|&nbsp;[#x09C0-#x09C4]
|&nbsp;[#x09C7-#x09C8]
|&nbsp;[#x09CB-#x09CD]
|&nbsp;#x09D7
|&nbsp;[#x09E2-#x09E3]
|&nbsp;#x0A02
|&nbsp;#x0A3C
|&nbsp;#x0A3E
|&nbsp;#x0A3F
|&nbsp;[#x0A40-#x0A42]
|&nbsp;[#x0A47-#x0A48]
|&nbsp;[#x0A4B-#x0A4D]
|&nbsp;[#x0A70-#x0A71]
|&nbsp;[#x0A81-#x0A83]
|&nbsp;#x0ABC
|&nbsp;[#x0ABE-#x0AC5]
|&nbsp;[#x0AC7-#x0AC9]
|&nbsp;[#x0ACB-#x0ACD]
|&nbsp;[#x0B01-#x0B03]
|&nbsp;#x0B3C
|&nbsp;[#x0B3E-#x0B43]
|&nbsp;[#x0B47-#x0B48]
|&nbsp;[#x0B4B-#x0B4D]
|&nbsp;[#x0B56-#x0B57]
|&nbsp;[#x0B82-#x0B83]
|&nbsp;[#x0BBE-#x0BC2]
|&nbsp;[#x0BC6-#x0BC8]
|&nbsp;[#x0BCA-#x0BCD]
|&nbsp;#x0BD7
|&nbsp;[#x0C01-#x0C03]
|&nbsp;[#x0C3E-#x0C44]
|&nbsp;[#x0C46-#x0C48]
|&nbsp;[#x0C4A-#x0C4D]
|&nbsp;[#x0C55-#x0C56]
|&nbsp;[#x0C82-#x0C83]
|&nbsp;[#x0CBE-#x0CC4]
|&nbsp;[#x0CC6-#x0CC8]
|&nbsp;[#x0CCA-#x0CCD]
|&nbsp;[#x0CD5-#x0CD6]
|&nbsp;[#x0D02-#x0D03]
|&nbsp;[#x0D3E-#x0D43]
|&nbsp;[#x0D46-#x0D48]
|&nbsp;[#x0D4A-#x0D4D]
|&nbsp;#x0D57
|&nbsp;#x0E31
|&nbsp;[#x0E34-#x0E3A]
|&nbsp;[#x0E47-#x0E4E]
|&nbsp;#x0EB1
|&nbsp;[#x0EB4-#x0EB9]
|&nbsp;[#x0EBB-#x0EBC]
|&nbsp;[#x0EC8-#x0ECD]
|&nbsp;[#x0F18-#x0F19]
|&nbsp;#x0F35
|&nbsp;#x0F37
|&nbsp;#x0F39
|&nbsp;#x0F3E
|&nbsp;#x0F3F
|&nbsp;[#x0F71-#x0F84]
|&nbsp;[#x0F86-#x0F8B]
|&nbsp;[#x0F90-#x0F95]
|&nbsp;#x0F97
|&nbsp;[#x0F99-#x0FAD]
|&nbsp;[#x0FB1-#x0FB7]
|&nbsp;#x0FB9
|&nbsp;[#x20D0-#x20DC]
|&nbsp;#x20E1
|&nbsp;[#x302A-#x302F]
|&nbsp;#x3099
|&nbsp;#x309A
</rhs></prod>
<prod id='NT-Digit'><lhs>Digit</lhs>
<rhs>[#x0030-#x0039]
|&nbsp;[#x0660-#x0669]
|&nbsp;[#x06F0-#x06F9]
|&nbsp;[#x0966-#x096F]
|&nbsp;[#x09E6-#x09EF]
|&nbsp;[#x0A66-#x0A6F]
|&nbsp;[#x0AE6-#x0AEF]
|&nbsp;[#x0B66-#x0B6F]
|&nbsp;[#x0BE7-#x0BEF]
|&nbsp;[#x0C66-#x0C6F]
|&nbsp;[#x0CE6-#x0CEF]
|&nbsp;[#x0D66-#x0D6F]
|&nbsp;[#x0E50-#x0E59]
|&nbsp;[#x0ED0-#x0ED9]
|&nbsp;[#x0F20-#x0F29]
</rhs></prod>
<prod id='NT-Extender'><lhs>Extender</lhs>
<rhs>#x00B7
|&nbsp;#x02D0
|&nbsp;#x02D1
|&nbsp;#x0387
|&nbsp;#x0640
|&nbsp;#x0E46
|&nbsp;#x0EC6
|&nbsp;#x3005
|&nbsp;[#x3031-#x3035]
|&nbsp;[#x309D-#x309E]
|&nbsp;[#x30FC-#x30FE]
</rhs></prod>
</prodgroup>
</scrap>
</p>
<p>¤³¤³¤ÇÄêµÁ¤¹¤ëʸ»ú¥¯¥é¥¹¤Ï¡¤Unicodeʸ»ú¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤é¡¤¼¡¤Î¤È¤ª¤ê¤ËÆÀ¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
<ulist>
<item>
<p>a) ̾Á°³«»Ïʸ»ú¤Ï¡¤Ll, Lu, Lo, Lt, Nl¥«¥Æ¥´¥êÆâ¤Î°ì¤Ä¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
</item>
<item>
<p>b) ̾Á°³«»Ïʸ»ú°Ê³°¤Î̾Á°Ê¸»ú¤Ï¡¤Mc, Me, Mn, Lm, Nd¥«¥Æ¥´¥êÆâ¤Î°ì¤Ä¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£</p>
</item>
<item>
<p>c) &compatibility-area;¤Ë¤¢¤ëʸ»ú(ʸ»úÉä¹æ¤Ç#xF900¤è¤êÂ礭¤¯#xFFFE¤è¤ê¾®¤µ¤¤Ê¸»ú)¤Ï¡¤XML¤Ë¤ª¤±¤ë̾Á°¤È¤·¤Æ¤Ï¡¤µö¤µ¤ì¤Ê¤¤¡£</p>
</item>
<item>
<p>d) &font-decomposition;¤«&compatibility-decomposition;¤ò¤â¤Äʸ»ú(¤Ä¤Þ¤ê¡¤¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤Î£µÈÖÌܤΥե£¡¼¥ë¥É¤Ë"compatibility formatting tag"¤¬¤¢¤ë¤â¤Î¡£¤³¤ì¤Ï¡¤£µÈÖÌܤΥե£¡¼¥ë¥É¤¬¡¤"&lt;"¤Ç»Ï¤Þ¤ë¤³¤È¤Ë¤è¤Ã¤Æ¥Þ¡¼¥¯ÉÕ¤±¤µ¤ì¤ë¡£)¤Ï¡¤µö¤µ¤ì¤Ê¤¤¡£</p>
</item>
<item>
<p>e) ¼¡¤Îʸ»ú¤Ï¡¤Ì¾Á°³«»Ïʸ»ú¤È¤·¤Æ°·¤¦¡£¤³¤ì¤Ï¡¤&property-file;¤¬¡¤¤³¤ì¤é¤Îʸ»ú¤ò¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¤ËÎà»÷¤¹¤ë¤È¸«¤Ê¤¹¤³¤È¤Ë¤è¤ë¡£¤½¤ì¤é¤Ï
[#x02BB-#x02C1], #x0559, #x06E5, #x06E6¤È¤¹¤ë¡£</p>
</item>
<item>
<p>f) ʸ»úÉä¹æ¤¬#x20DD-#x20E0¤Îʸ»ú¤Ï¡¤(Unicode ¤Î5.14¤Ë¤·¤¿¤¬¤Ã¤Æ)½ü³°¤¹¤ë¡£</p>
</item>
<item>
<p>g) ʸ»úÉä¹æ¤¬#x00B7¤Îʸ»ú¤Ï¡¤&property-list;¤Ë¤·¤¿¤¬¤Ã¤Æ¡¤&extender;(extender)¤ËʬÎह¤ë¡£</p>
</item>
<item>
<p>h) ʸ»ú#x0387¤Ï¡¤¤³¤ì¤ËÁêÅö¤¹¤ëÀµµ¬·Á¤¬#x00B7¤Ê¤Î¤Ç¡¤Ì¾Á°Ê¸»ú¤ËÄɲ乤롣</p>
</item>
<item>
<p>i) ʸ»ú':'µÚ¤Ó'_'¤Ï¡¤Ì¾Á°³«»Ïʸ»ú¤È¤·¤Æµö¤¹¡£</p>
</item>
<item>
<p>j) ʸ»ú'-'µÚ¤Ó'.'¤Ï¡¤Ì¾Á°Ê¸»ú¤È¤·¤Æµö¤¹¡£</p>
</item>
</ulist>
</p>
</div1>
<inform-div1 id="sec-xml-and-sgml">
<head>XMLµÚ¤ÓSGML</head>
<p>XML¤Ï¡¤SGML¤Î&subset;¤È¤·¤ÆÀ߷פµ¤ì¤Æ¤¤¤ë¡£¤¹¤Ê¤ï¤Á¡¤¤¹¤Ù¤Æ¤Î<termref def="dt-valid">&valid;</termref>¤ÊXMLʸ½ñ¤Ï¡¤µ¬³Ê¤ËŬ¹ç¤¹¤ëSGMLʸ½ñ¤Ë¤â¤Ê¤ë¡£SGML¤¬Ê¸½ñ¤Ë²Ý¤¹À©¸Â°Ê³°¤Ë¡¤XML¤¬¤¤¤«¤Ê¤ëÀ©¸Â¤ò²Ý¤¹¤«¤Ë´Ø¤¹¤ë¾ÜºÙ¤Ï¡¤Ê̤Î<loc href='http://www.w3.org/TR/NOTE-sgml-xml'>µ¬Äø</loc>¤ò»²¾È¤Î¤³¤È¡£¤³¤Îµ¬Äø¤Ï¡¤XML¤ÎÀ©Ìó¾ò·ï¤ò¼¨¤¹SGMLÀë¸À¤ò´Þ¤ß¡¤¤³¤ì¤Ï¡¤SGML&parser;¤Ë»ÈÍѤǤ­¤ë¡£
</p>
</inform-div1>
<inform-div1 id="sec-entexpand">
<head>¼ÂÂλ²¾ÈµÚ¤Óʸ»ú»²¾È¤ÎŸ³«</head>
<p>¤³¤ÎÉÕÏ¿¤Ï¡¤¼ÂÂλ²¾ÈµÚ¤Óʸ»ú»²¾È¤òǧ¼±¤·¡¤Å¸³«¤¹¤ë¡¤°ìÏ¢¤Îή¤ì¤ò¡¤Îã¤Ë»È¤Ã¤Æ¼¨¤¹¡£</p>
<p>
DTD¤¬¡¤¼¡¤ÎÀë¸À¤ò´Þ¤à¾ì¹ç¤ò¹Í¤¨¤ë¡£
<eg><![CDATA[<!ENTITY example "<p>An ampersand (&#38;#38;) may be escaped
numerically (&#38;#38;#38;) or with a general entity
(&amp;amp;).</p>" >
]]></eg>
XML&processor;¤Ï¡¤¼ÂÂΤÎÀë¸À¤ò¹½Ê¸²òÀϤ·¤¿»þÅÀ¤Çʸ»ú»²¾È¤òǧ¼±¤·¡¤¤³¤ì¤ò²ò·è¤¹¤ë¡£¼ÂÂÎ"<code>example</code>"¤ÎÃͤȤ·¤Æ¡¤¼¡¤Î&string;¤òÊݸ¤¹¤ë¡£
<eg><![CDATA[<p>An ampersand (&#38;) may be escaped
numerically (&#38;#38;) or with a general entity
(&amp;amp;).</p>
]]></eg>
ʸ½ñÆâ¤Ç"<code>&amp;example;</code>"¤ò»²¾È¤¹¤ë¤È¡¤¤³¤Î¥Æ¥­¥¹¥È¤Ï¡¤ºÆ¤Ó¹½Ê¸²òÀϤµ¤ì¤ë¡£¤³¤Î¤È¤­¡¤Í×ÁÇ"<code>p</code>"¤Î³«»Ï¥¿¥°µÚ¤Ó½ªÎ»¥¿¥°¤òǧ¼±¤·¡¤»°¤Ä¤Î»²¾È¤òǧ¼±¤·Å¸³«¤¹¤ë¡£¤½¤Î·ë²Ì¡¤Í×ÁÇ"<code>p</code>"¤Ï¡¤¼¡¤ÎÆâÍƤò¤â¤Ä(¤¹¤Ù¤Æ¥Ç¡¼¥¿¤È¤·¡¤¶èÀÚ¤ê»ÒËô¤Ï&markup;¤Ï¸ºß¤·¤Ê¤¤¡£)¡£
<eg><![CDATA[An ampersand (&) may be escaped
numerically (&#38;) or with a general entity
(&amp;).
]]></eg>
</p>
<p>µ¬Â§µÚ¤Ó¤½¤Î¸ú²Ì¤ò¤è¤ê¾ÜºÙ¤Ë¼¨¤¹¤¿¤á¡¤¤µ¤é¤ËÊ£»¨¤ÊÎã¤ò¼¨¤¹¡£¼¡¤ÎÎã¤Ç¡¤¹ÔÈÖ¹æ¤Ï¡¤»²¾È¤ÎÊص¹¤Î¤¿¤á¤À¤±¤ËÉÕ¤±¤ë¡£
<eg><![CDATA[1 <?xml version='1.0'?>
2 <!DOCTYPE test [
3 <!ELEMENT test (#PCDATA) >
4 <!ENTITY % xx '&#37;zz;'>
5 <!ENTITY % zz '&#60;!ENTITY tricky "error-prone" >' >
6 %xx;
7 ]>
8 <test>This sample shows a &tricky; method.</test>
]]></eg>
¤³¤ì¤ò½èÍý¤¹¤ë¤È¡¤¼¡¤Î¤È¤ª¤ê¤È¤Ê¤ë¡£
<ulist spacing="compact">
<item><p>a) 4¹ÔÌܤǡ¤37ÈÖÌܤÎʸ»ú¤Ø¤Î»²¾È¤òľ¤Á¤ËŸ³«¤·¡¤¥Ñ¥é¥á¥¿¼ÂÂÎ"<code>xx</code>"¤ò¡¤¥·¥ó¥Ü¥ë¥Æ¡¼¥Ö¥ë¤Ë"<code>%zz;</code>"¤È¤¤¤¦ÃͤȤȤâ¤ËÊݸ¤¹¤ë¡£&replacement-text;¤òºÆ¤ÓÁöºº¤¹¤ë¤³¤È¤Ï¤Ê¤¤¤Î¤Ç¡¤¥Ñ¥é¥á¥¿¼ÂÂÎ"<code>zz</code>"¤Ø¤Î»²¾È¤Ïǧ¼±¤·¤Ê¤¤("<code>zz</code>"¤Ï¡¤¤Þ¤ÀÀë¸À¤µ¤ì¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¤Áöºº¤µ¤ì¤ì¤Ð¡¤&error;¤È¤Ê¤ë¡£)¡£</p></item>
<item><p>b) 5¹ÔÌܤǡ¤Ê¸»ú»²¾È"<code>&amp;#60;</code>"¤òľ¤Á¤ËŸ³«¤·¡¤¥Ñ¥é¥á¥¿¼ÂÂÎ"<code>zz</code>"¤ò"<code>&lt;!ENTITY tricky "error-prone" ></code>"¤È¤¤¤¦&replacement-text;¤È¤È¤â¤ËÊݸ¤¹¤ë¡£¤³¤ì¤Ï¡¤&well-formed;¤Î¼ÂÂÎÀë¸À¤È¤¹¤ë¡£</p></item>
<item><p>c) 6¹ÔÌܤǡ¤"<code>xx</code>"¤Ø¤Î»²¾È¤òǧ¼±¤·¡¤"<code>xx</code>"¤Î&replacement-text;(¤¹¤Ê¤ï¤Á¡¤"<code>%zz;</code>")¤ò¹½Ê¸²òÀϤ¹¤ë¡£"<code>zz</code>"¤Ø¤Î»²¾È¤ò³¤¤¤Æǧ¼±¤·¡¤&replacement-text;("<code>&lt;!ENTITY tricky "error-prone" ></code>")¤ò¹½Ê¸²òÀϤ¹¤ë¡£°ìÈ̼ÂÂÎ"<code>tricky</code>"¤Ï¡¤¤³¤Î»þÅÀ¤Ç¤Ï¡¤Àë¸À¤µ¤ì¤Æ¤ª¤ê¡¤¤½¤Î&replacement-text;¤Ï¡¤"<code>error-prone</code>"¤È¤¹¤ë¡£ </p></item>
<item><p>d) 8¹ÔÌܤǡ¤°ìÈ̼ÂÂÎ"<code>tricky</code>"¤Ø¤Î»²¾È¤òǧ¼±¤·¡¤Å¸³«¤¹¤ë¡£Í×ÁÇ"<code>test</code>"¤Î´°Á´¤ÊÆâÍƤϡ¤¼¡¤Î(ÆâÍƤò¤½¤ì¼«ÂÎɽ¸½¤¹¤ë¡£)&string;¤È¤Ê¤ë¡£¤Ä¤Þ¤ê¡¤<emph>This sample shows a error-prone method.</emph>
</p></item>
</ulist>
</p>
</inform-div1>
<inform-div1 id="determinism">
<head>·èÄêŪÆâÍÆ¥â¥Ç¥ë</head>
<p><termref def='dt-compat'>¸ß´¹À­¤Î¤¿¤á</termref>¡¤Í×ÁÇÀë¸À¤Ë¤ª¤±¤ëÆâÍÆ¥â¥Ç¥ë¤Ï¡¤·èÄêŪ¤È¤¹¤ëɬÍפ¬¤¢¤ë¡£
</p>
<!-- FINAL EDIT: WebSGML allows ambiguity? -->
<p>SGML¤Ï¡¤·èÄêŪÆâÍÆ¥â¥Ç¥ë(SGML¤Ç¤Ï¡¤È󤢤¤¤Þ¤¤¤È¸Æ¤Ö¡£)¤òÍ׵᤹¤ë¡£SGML¥·¥¹¥Æ¥à¤òÍѤ¤¤ÆºîÀ®¤·¤¿XML&processor;¤Ï¡¤Èó·èÄêŪÆâÍÆ¥â¥Ç¥ë¤ò&error;¤È¤·¤Æ¤â¤è¤¤¡£</p>
<p>Î㤨¤Ð¡¤ÆâÍÆ¥â¥Ç¥ë<code>((b, c) | (b, d))</code>¤ÏÈó·èÄêŪ¤È¤Ê¤ë¡£¤³¤ì¤Ï¡¤ºÇ½é¤Ë<code>b</code>¤òÍ¿¤¨¤¿¤È¤­¡¤¥â¥Ç¥ëÆâ¤Î¤¤¤º¤ì¤Î<code>b</code>¤È&match;¤¹¤ë¤Î¤¬Ë¾¤Þ¤·¤¤¤«¡¤¤½¤Î¼¡¤ÎÍ×ÁǤòÀèÆɤߤ¹¤ë¤³¤È¤Ê¤·¤Ë¤Ï¡¤&parser;¤ÏÃΤ뤳¤È¤¬¤Ç¤­¤Ê¤¤¤³¤È¤Ë¤è¤ë¡£¤³¤Î¾ì¹ç¤Ï¡¤<code>b</code>¤Ø¤ÎÆó¤Ä¤Î»²¾È¤Ï¡¤°ì¤Ä¤Î»²¾È¤Ë¤Þ¤È¤á¤ë¤³¤È¤¬¤Ç¤­¡¤¥â¥Ç¥ë¤Ï¡¤<code>(b, (c | d))</code>¤È¤Ê¤ë¡£¤³¤ì¤Ç¡¤ºÇ½é¤Î<code>b</code>¤¬¡¤ÆâÍÆ¥â¥Ç¥ëÆâ¤Î°ì¤Ä¤Î̾Á°¤È¤À¤±&match;¤¹¤ë¤³¤È¤ÏÌÀ¤é¤«¤È¤Ê¤ë¡£&parser;¤Ï¡¤ÀèÆɤߤ·¤Æ¡¤¼¡¤ËÍè¤ë¤â¤Î¤òÃΤëɬÍפ¬¤Ê¤¤¡£<code>c</code>¤â<code>d</code>¤â¡¤¼õÍý¤µ¤ì¤ë¡£</p>
<p>·Á¼°Åª¤Ë¼¨¤¹¡£Aho, Sethi, and Ullman <bibref ref='Aho'/>¤Î3.9¤Î¥¢¥ë¥´¥ê¥º¥à3.5¤Îɸ½àŪ¤Ê¥¢¥ë¥´¥ê¥º¥à¤òÍѤ¤¤Æ¡¤ÆâÍÆ¥â¥Ç¥ë¤«¤éÍ­¸Â¥ª¡¼¥È¥Þ¥È¥ó¤ò¹½À®¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£¤³¤Î¼ï¤Î¿¤¯¤Î¥¢¥ë¥´¥ê¥º¥à¤Ç¤Ï¡¤Àµµ¬É½¸½¤Ë¤ª¤±¤ë³Æ¡¹¤Î°ÌÃÖ(¤Ä¤Þ¤ê¡¤Àµµ¬É½¸½¤Î¹½Ê¸Ìڤˤª¤±¤ë³Æ¡¹¤ÎËöü¥Î¡¼¥É)¤ËÂФ·¤Æ¡¤follow set(¼¡¤Ë¤É¤Î°ÌÃ֤˰ÜÆ°²Äǽ¤«¤òɽ¤¹¤â¤Î)¤ò¹½À®¤¹¤ë¡£¤¢¤ë°ÌÃÖ¤ËÂФ¹¤ëfollow set¤Ë¤ª¤¤¤Æ¡¤Ê£¿ô¤Î°ÌÃÖ¤¬Æ±¤¸Í×ÁÇ·¿Ì¾¤Ç¥é¥Ù¥ëÉÕ¤±¤µ¤ì¤Æ¤¤¤ì¤Ð¡¤¤½¤ÎÆâÍÆ¥â¥Ç¥ë¤Ï&error;¤È¤Ê¤ê¡¤&error;¤òÊÖ¤¹¾ì¹ç¤â¤¢¤ë¡£
</p>
<p>¤¹¤Ù¤Æ¤ÎÈó·èÄêŪÆâÍÆ¥â¥Ç¥ë¤òÅù²Á¤Ê·èÄêŪÆâÍÆ¥â¥Ç¥ë¤ËÊÑ´¹¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Ê¤¤¤¬¡¤Â¿¤¯¤ÎÈó·èÄêŪÆâÍÆ¥â¥Ç¥ë¤òÊÑ´¹¤¹¤ë¥¢¥ë¥´¥ê¥º¥à¤¬Â¸ºß¤¹¤ë¡£Br&#252;ggemann-Klein 1991 <bibref ref='ABK'/>¤ò»²¾È¤Î¤³¤È¡£</p>
</inform-div1>
<inform-div1 id="sec-guessing">
<head>ʸ»úÉä¹æ²½¤Î¼«Æ°¸¡½Ð</head>
<p>
XML¤ÎÉä¹æ²½Àë¸À¤Ï¡¤³Æ¼ÂÂΤÎÆâÉô¥é¥Ù¥ë¤È¤·¤Æµ¡Ç½¤·¡¤¤É¤Îʸ»úÉä¹æ²½¤ò»ÈÍѤ¹¤ë¤«¤ò¼¨¤¹¡£¤·¤«¤·¡¤XML&processor;¤Ï¡¤ÆâÉô¥é¥Ù¥ë¤òÆɤàÁ°¤Ë¡¤¤É¤Îʸ»úÉä¹æ²½¤ò»ÈÍѤ¹¤ë¤«¤òÃΤëɬÍפ¬¤¢¤ê¡¤¤³¤ì¤¬¡¤ÆâÉô¥é¥Ù¥ë¤¬¼¨¤½¤¦¤È¤¹¤ë¤³¤È¤Ë¤Ê¤ë¡£°ìÈÌŪ¤Ë¤Ï¡¤¤³¤ì¤Ï¡¤Àä˾Ū¤Ê¾õÂ֤Ȥʤ롣¤·¤«¤·¡¤XML¤Ë¤ª¤¤¤Æ¤Ï¡¤´°Á´¤Ë¤ÏÀä˾Ū¤Ç¤Ï¤Ê¤¤¡£¤³¤ì¤Ï¡¤XML¤¬¡¤¼¡¤ÎÆó¤Ä¤ÎÅÀ¤Ç°ìÈÌŪ¤Ê¾ì¹ç¤ËÂФ¹¤ëÀ©¸Â¤ò²Ã¤¨¤ë¤³¤È¤Ë¤è¤ë¡£°ì¤Ä¤ÎÀ©¸Â¤Ï¡¤¤É¤Î¼ÂÁõ¤âÍ­¸Â¸Ä¤Îʸ»úÉä¹æ²½¤À¤±¤Î¥µ¥Ý¡¼¥È¤òÁÛÄꤹ¤ë¤³¤È¤È¤¹¤ë¡£Â¾¤Î°ì¤Ä¤ÎÀ©¸Â¤Ï¡¤³Æ¼ÂÂΤǻÈÍѤ¹¤ëʸ»úÉä¹æ²½¤ò¼«Æ°¸¡½Ð²Äǽ¤È¤¹¤ë¡¤XML¤ÎÉä¹æ²½Àë¸À¤Î°ÌÃÖµÚ¤ÓÆâÍƤ˴ؤ¹¤ëÀ©¸Â¤È¤¹¤ë¡£Â¿¤¯¤Î¾ì¹ç¤Ë¡¤XML¤Î¥Ç¡¼¥¿¥¹¥È¥ê¡¼¥à¤Ë²Ã¤¨¡¤Â¾¤Î¾ðÊó¤¬ÍøÍѤǤ­¤ë¡£¤³¤³¤Ç¤Ï¡¤XML¤Î¼ÂÂΤ¬&processor;¤ËÅϤµ¤ì¤ë¤È¤­¡¤(³°Éô)¾ðÊó¤òȼ¤¦¤«¤É¤¦¤«¤Ë¤è¤Ã¤Æ¡¤Æó¤Ä¤Î¾ì¹ç¤Ëʬ¤±¤ë¡£¤Þ¤ººÇ½é¤Î¾ì¹ç¤ò¼¨¤¹¡£</p>
<p>
UTF-8·Á¼°Ëô¤ÏUTF-16·Á¼°¤Ç¤Ï¤Ê¤¤XML¼ÂÂΤϡ¤ºÇ½é¤Îʸ»ú¤ò¡Æ<code>&lt;?xml</code>'¤È¤¹¤ëXMLÉä¹æ²½Àë¸À¤Ç»Ï¤Þ¤é<emph>¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤</emph>¤Î¤Ç¡¤¤É¤ÎŬ¹ç¤·¤¿&processor;¤â¡¤ÆþÎϤˤ¢¤ë2¥ª¥¯¥Æ¥Ã¥ÈËô¤Ï4¥ª¥¯¥Æ¥Ã¥È¤òÄ´¤Ù¤ì¤Ð¡¤¼¡¤Î¤É¤Î¾ì¹ç¤¬¤¢¤Æ¤Ï¤Þ¤ë¤«¤ò¸¡½Ð¤Ç¤­¤ë¡£¤³¤Î¥ê¥¹¥È¤òÆɤàºÝ¤Ë¤Ï¡¤UCS-4¤Î'&lt;'¤¬"<code>#x0000003C</code>"¡¤'?'¤¬"<code>#x0000003F</code>"¡¤µÚ¤ÓUTF-16¤Î¥Ç¡¼¥¿&stream;¤ÎɬÍפȤ¹¤ë&byte-order-mark;¤¬"<code>#xFEFF</code>"¤È¤¤¤¦¤³¤È¤òÃΤäƤª¤¯¤ÈÌòΩ¤Ä¤«¤â¤·¤ì¤Ê¤¤¡£</p>
<p>
<ulist>
<item>
<p>a) <code>00 00 00 3C</code>: UCS-4, big-endian ¥Þ¥·¥ó (1234½ç)</p>
</item>
<item>
<p>b) <code>3C 00 00 00</code>: UCS-4, little-endian ¥Þ¥·¥ó (4321½ç)</p>
</item>
<item>
<p>c) <code>00 00 3C 00</code>: UCS-4, ÉáÄ̤ǤϤʤ¤¥ª¥¯¥Æ¥Ã¥È½ç (2143)</p>
</item>
<item>
<p>d) <code>00 3C 00 00</code>: UCS-4, ÉáÄ̤ǤϤʤ¤¥ª¥¯¥Æ¥Ã¥È½ç (3412)</p>
</item>
<item>
<p>e) <code>FE FF</code>: UTF-16, big-endian</p>
</item>
<item>
<p>f) <code>FF FE</code>: UTF-16, little-endian</p>
</item>
<item>
<p>g) <code>00 3C 00 3F</code>: UTF-16, big-endian, &byte-order-mark;¤Ê¤·(¤·¤¿¤¬¤Ã¤Æ¡¤¸·Ì©¤Ë¤¤¤¨¤Ð¡¤&error;¤È¤¹¤ë¡£)¡£</p>
</item>
<item>
<p>h) <code>3C 00 3F 00</code>: UTF-16, little-endian, &byte-order-mark;¤Ê¤·(¤·¤¿¤¬¤Ã¤Æ¡¤¸·Ì©¤Ë¤¤¤¨¤Ð¡¤&error;¤È¤¹¤ë¡£)¡£</p>
</item>
<item>
<p>i) <code>3C 3F 78 6D</code>: UTF-8, ISO 646, ASCII, ISO 8859¤Î³Æ¥Ñ¡¼¥È¡¤Shift-JIS¡¤EUC¡¤Ê¤ӤËǤ°Õ¤Î¾¤Î7¥Ó¥Ã¥È¡¤8¥Ó¥Ã¥ÈËô¤Ïº®ºßÉý¤ÎÉä¹æ²½¤Ç¤¢¤Ã¤Æ¡¤ASCIIʸ»ú¤òÄ̾ï¤Î°ÌÃÖ¡¤ÉýµÚ¤ÓÃͤȤ¹¤ë¤³¤È¤òÊݾڤ¹¤ë¤â¤Î¡£¤³¤ì¤é¤Î¤É¤ì¤ËÂбþ¤¹¤ë¤«¤ò¸¡½Ð¤¹¤ë¤¿¤á¤Ë¤Ï¡¤¼ÂºÝ¤ÎÉä¹æ²½Àë¸À¤òÆɤ߹þ¤Þ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤·¤«¤·¡¤¤³¤ì¤é¤¹¤Ù¤Æ¤ÎÉä¹æ²½¤Ï¡¤ASCIIʸ»ú¤ËÂФ·¤ÆƱ¤¸¥Ó¥Ã¥È¥Ñ¥¿¡¼¥ó¤ò»ÈÍѤ¹¤ë¤Î¤Ç¡¤Éä¹æ²½Àë¸À¼«ÂΤϡ¤Àµ³Î¤ËÆɹþ¤ß²Äǽ¤È¤¹¤ë¡£
</p>
</item>
<item>
<p>j) <code>4C 6F A7 94</code>: EBCDIC (Ëô¤Ï¤½¤ÎÊѼ¤É¤Î¥³¡¼¥É¥Ú¡¼¥¸¤ò»ÈÍѤ¹¤ë¤«¤òÃΤ뤿¤á¤Ë¤Ï¡¤Éä¹æ²½Àë¸ÀÁ´ÂΤòÆɤ߹þ¤Þ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£)</p>
</item>
<item>
<p>k) ¤½¤Î¾: Éä¹æ²½Àë¸À¤Ê¤·¤ÎUTF-8¡£¤½¤¦¤Ç¤Ê¤¤¤È¤­¤Ë¤Ï¡¤¥Ç¡¼¥¿&stream;¤¬²õ¤ì¤Æ¤¤¤ë¤«¡¤ÃÇÊÒŪ¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤«¡¤²¿¤é¤«¤Î·Á¼°¤Ë¤·¤¿¤¬¤Ã¤ÆËä¤á¹þ¤Þ¤ì¤Æ¤¤¤ë¡£</p>
</item>
</ulist>
</p>
<p>
¤³¤ÎÄøÅ٤μ«Æ°È½Ê̤Ǥ⡤XML¤ÎÉä¹æ²½Àë¸À¤òÆɤ߹þ¤ß¡¤Ê¸»úÉä¹æ²½¤Î&identifier;¤ò²òÀϤ¹¤ë¤Ë¤Ï½½Ê¬¤È¤¹¤ë¡£&identifier;¤Î²òÀϤϡ¤Îà»÷¤¹¤ë³Æ¡¹¤ÎÉä¹æ²½¤Î°ì¤Ä°ì¤Ä¤ò¶èÊ̤¹¤ë¤¿¤á¤ËɬÍפȤ¹¤ë(Î㤨¤Ð¡¤UTF-8µÚ¤Ó8859¤ò¶èÊ̤¹¤ë¤¿¤á¡¤8859¤Î³Æ¥Ñ¡¼¥È¤ò¶èÊ̤¹¤ë¤¿¤á¡¤»ÈÍѤ·¤Æ¤¤¤ëÆÃÄê¤ÎEBCDIC¥³¡¼¥É¥Ú¡¼¥¸¤ò¶èÊ̤¹¤ë¤¿¤á¡¤¤Ê¤É¡£)¡£
</p>
<p>
Éä¹æ²½Àë¸À¤ÎÆâÍƤòASCIIʸ»ú¤Ë¸ÂÄꤷ¤Æ¤¤¤ë¤Î¤Ç¡¤¤É¤ÎʬÎà¤ÎÉä¹æ²½¤ò»ÈÍѤ¹¤ë¤«¤ò¸¡½Ð¤¹¤ì¤Ð¡¤&processor;¤Ï¡¤Éä¹æ²½Àë¸ÀÁ´ÂΤòÀµ³Î¤ËÆɤ߹þ¤à¤³¤È¤¬¤Ç¤­¤ë¡£¸½¼ÂÌäÂê¤È¤·¤Æ¡¤¹­¤¯»ÈÍѤµ¤ì¤Æ¤¤¤ëʸ»úÉä¹æ²½¤Ï¡¤¾å¤ÎʬÎà¤Î¤¤¤º¤ì¤«¤Ë¤¢¤Æ¤Ï¤Þ¤ë¤Î¤Ç¡¤¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥àËô¤ÏÅÁÁ÷¥×¥í¥È¥³¥ë¤¬Í¿¤¨¤ë³°Éô¾ðÊó¤ò¿®ÍêÉÔ²Äǽ¤Ê¤È¤­¤Ç¤µ¤¨¤â¡¤ÆâÉô¥é¥Ù¥ë¤Çʸ»úÉä¹æ²½¤ò¤«¤Ê¤êÀµ³Î¤Ë¼¨¤¹¤³¤È¤¬¡¤XMLÉä¹æ²½Àë¸À¤Ë¤è¤Ã¤Æ²Äǽ¤È¤Ê¤ë¡£
</p>
<p>
&processor;¤¬»ÈÍѤ¹¤ëʸ»úÉä¹æ²½¤ò¸¡½Ð¤·¤µ¤¨¤¹¤ì¤Ð¡¤¤½¤ì¤¾¤ì¤Î¾ì¹ç¤ËÂФ·¤ÆÊ̸ĤÎÆþÎϥ롼¥Á¥ó¤ò¸Æ¤Ó½Ð¤¹¡¤Ëô¤ÏÆþÎϤ¹¤ë³Æʸ»ú¤ËÂФ·Å¬ÀÚ¤ÊÊÑ´¹´Ø¿ô¤ò¸Æ¤Ó½Ð¤¹¤³¤È¤Ë¤è¤Ã¤Æ¡¤Å¬ÀÚ¤ÊÆ°ºî¤¬²Äǽ¤È¤Ê¤ë¡£</p>
<p>
¼«Ê¬¼«ÂΤ˥é¥Ù¥ëÉÕ¤±¤ò¤¹¤ë¤¤¤«¤Ê¤ë¥·¥¹¥Æ¥à¤Ç¤âƱÍͤÀ¤¬¡¤¥½¥Õ¥È¥¦¥§¥¢¤¬¡¤Éä¹æ²½Àë¸À¤ò¹¹¿·¤»¤º¤Ë¼ÂÂΤÎʸ»ú½¸¹çËô¤ÏÉä¹æ²½¤òÊѤ¨¤¿¤Ê¤é¤Ð¡¤XML¤ÎÉä¹æ²½Àë¸À¤Ï¡¤µ¡Ç½¤·¤Ê¤¤¡£Ê¸»úÉä¹æ²½¥ë¡¼¥Á¥ó¤Î¼ÂÁõ¼Ô¤Ï¡¤¼ÂÂΤΥé¥Ù¥ëÉÕ¤±¤Ë»ÈÍѤ¹¤ëÆâÉôµÚ¤Ó³°Éô¤Î¾ðÊó¤ÎÀµ³Î¤µ¤ÎÊݾڤËÃí°Õ¤¹¤ë¤Î¤¬Ë¾¤Þ¤·¤¤¡£
</p>
<p>£²ÈÖÌܤξì¹ç¤Ï¡¤XML¤Î¼ÂÂΤξ¤Ë¡¤Éä¹æ²½¾ðÊó¤¬Â¸ºß¤¹¤ë¤È¤­¤Ç¤¢¤Ã¤Æ¡¤¤¤¤¯¤Ä¤«¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥àµÚ¤Ó¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥È¥³¥ë¤Ç¤Ï¡¤¤½¤ÎÉä¹æ²½¾ðÊó¤¬Â¸ºß¤¹¤ë¡£Ê£¿ô¤Î¾ðÊó¤¬ÍøÍѤǤ­¤ë¤È¤­¡¤<!-- (e.g. both the
internal encoding declaration and an external label), -->¤½¤ì¤é¤ÎÁêÂÐŪ¤ÊÍ¥ÀèÅÙµÚ¤Ó¤½¤ì¤é¤¬Ì·½â¤·¤¿¤È¤­¤Î˾¤Þ¤·¤¤½èÍýÊýË¡¤Ï¡¤XML¤ÎÇÛÁ÷¤Ë»ÈÍѤ¹¤ë¡¤¤è¤ê¹â¿å½à¤Î¥×¥í¥È¥³¥ë¤Î°ìÉô¤È¤·¤Æµ¬Äø¤¹¤ë¤Î¤¬¤è¤¤¡£Î㤨¤Ð¡¤ÆâÉô¥é¥Ù¥ëµÚ¤Ó³°Éô&header;¤Ë¸ºß¤¹¤ëMIME·Á¼°¤Î¥é¥Ù¥ë¤ÎÁêÂÐŪ¤ÊÍ¥ÀèÅÙ¤ËÂФ¹¤ëµ¬Â§¤Ï¡¤text/xmlµÚ¤Óapplication/xml¤ÎMIME·¿¤òÄêµÁ¤¹¤ëRFCʸ½ñ¤Î°ìÉô¤È¤Ê¤ëÊý¤¬¤è¤¤¡£¤·¤«¤·¡¤Áê¸ß±¿ÍÑÀ­¤Î¤¿¤á¤Ë¡¤¼¡¤Îµ¬Â§¤Ë½¾¤¦¤³¤È¤¬Ë¾¤Þ¤·¤¤¡£
<ulist>
<item><p>a) XML¤Î¼ÂÂΤ¬¥Õ¥¡¥¤¥ë¤Ë¸ºß¤¹¤ì¤Ð¡¤&byte-order-mark;µÚ¤ÓÉä¹æ²½Àë¸ÀPI¤Ï¡¤(¸ºß¤¹¤ì¤Ð)ʸ»úÉä¹æ²½¤ò·èÄꤹ¤ë¤¿¤á¤Ë»ÈÍѤ¹¤ë¡£Â¾¤Î¤¹¤Ù¤Æ¤Î&hueristics;µÚ¤Ó¾ðÊó¤Ï¡¤&error;²óÉü¤Î¤¿¤á¤À¤±¤ËÍѤ¤¤ë¡£
</p></item>
<item><p>b) XML¤Î¼ÂÂΤòMIME·¿text/xml¤ÇÇÛÁ÷¤¹¤ë¤È¤­¤Ï¡¤¤³¤ÎMIME·¿¤Î¤â¤Ächarset¥Ñ¥é¥á¥¿¤¬Ê¸»úÉä¹æ²½ÊýË¡¤ò·èÄꤹ¤ë¡£Â¾¤Î¤¹¤Ù¤Æ¤Î&hueristics;µÚ¤Ó¾ðÊó¤Ï¡¤&error;²óÉü¤Î¤¿¤á¤À¤±¤ËÍѤ¤¤ë¡£
</p></item>
<item><p>c) XML¤Î¼ÂÂΤò <!-- via the HTTP protocol -->MIME·¿application/xml¤ÇÇÛÁ÷¤¹¤ë¤È¤­¤Ï¡¤&byte-order-mark;µÚ¤ÓÉä¹æ²½Àë¸ÀPI¤ò(¸ºß¤¹¤ì¤Ð)ʸ»úÉä¹æ²½¤Î·èÄê¤Î¤¿¤á¤Ë»ÈÍѤ¹¤ë¡£Â¾¤Î¤¹¤Ù¤Æ¤Î&hueristics;µÚ¤Ó¾ðÊó¤Ï&error;²óÉü¤Î¤¿¤á¤À¤±¤ËÍѤ¤¤ë¡£
</p></item>
</ulist>
¤³¤ì¤é¤Îµ¬Â§¤Ï¡¤¥×¥í¥È¥³¥ë¤Ë¤Ä¤¤¤Æ¤Î»ñÎÁ¤¬¤Ê¤¤¤È¤­¤Ë¤À¤±ÍѤ¤¤ë¡£Æäˡ¤MIME·¿text/xmlµÚ¤Óapplication/xml¤òÄêµÁ¤·¤¿¤é¡¤¤³¤ì¤é¤òµ¬Äꤹ¤ëRFC¤Ë¸ºß¤¹¤ëµ¬Ä꤬¡¤¤³¤ì¤é¤Îµ¬Â§¤Ë¼è¤Ã¤ÆÂå¤ï¤ë¡£
</p>
</inform-div1>
<!--
<div1 id='sec-trival-grammar'>
<head>A Trivial Grammar for XML Documents</head>
<p>The grammar given in the body of this specification is relatively
simple, but for some purposes it is convenient to have an even simpler
one.
A very simple, though non-conforming, <termref def="dt-xml-proc">XML
processor</termref> could parse a <termref
def="dt-wellformed">well-formed</termref> XML document using the
following simplified grammar, recognizing all element boundaries
correctly, though not expanding entity references and not detecting
all errors:
<scrap lang="ebnf">
<head>Trivial text grammar</head>
<prodgroup pcw2="5.5" pcw4="17" pcw5="10">
<prod id='NT-simpleDoc'><lhs>simpleDoc</lhs>
<rhs>(<nt def='NT-SimpleData'>SimpleData</nt>
| <nt def='NT-Markup'>Markup</nt>)*</rhs></prod>
<prod id="NT-SimpleData"><lhs>SimpleData</lhs>
<rhs>[^&lt;&amp;]*</rhs>
<com>cf. PCData</com>
</prod>
<prod id="NT-SimpleLit"><lhs>SimpleLit</lhs>
<rhs>('"' [^"]* '"')</rhs>
<rhs>|&nbsp;("'" [^']* "'")</rhs>
<com>cf. SkipLit</com>
</prod>
<prod id='NT-Markup'><lhs>Markup</lhs>
<rhs>'&lt;' <nt def='NT-Name'>Name</nt>
(<nt def='NT-S'>S</nt>
<nt def='NT-Name'>Name</nt>
<nt def='NT-S'>S</nt>? '=' <nt def='NT-S'>S</nt>?
<nt def='NT-SimpleLit'>SimpleLit</nt>)*
<nt def='NT-S'>S</nt>? '&gt;'</rhs><com>start-tags </com>
<rhs>| '&lt;' <nt def='NT-Name'>Name</nt>
(<nt def='NT-S'>S</nt>
<nt def='NT-Name'>Name</nt>
<nt def='NT-S'>S</nt>? '=' <nt def='NT-S'>S</nt>?
<nt def='NT-SimpleLit'>SimpleLit</nt>)*
<nt def='NT-S'>S</nt>? '/&gt;'</rhs><com>empty elements</com>
<rhs>| '&lt;/'
<nt def='NT-Name'>Name</nt>
<nt def='NT-S'>S</nt>? '&gt;'</rhs>
<com>end-tags </com>
<rhs>| '&amp;' <nt def='NT-Name'>Name</nt> ';'</rhs>
<com>entity references </com>
<rhs>| '&amp;#' [0-9]+ ';'</rhs>
<com>decimal character references </com>
<rhs>| '&hcro;' [0-9a-fA-F]+ ';'</rhs>
<com>hexadecimal character references </com>
<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>
<com>comments </com>
<rhs>| '&lt;?'
(<nt def='NT-Char'>Char</nt>* -
(<nt def='NT-Char'>Char</nt>* &pic; <nt def='NT-Char'>Char</nt>*))
'&pic;'</rhs>
<com>processing instructions </com>
<rhs>| '&lt;![CDATA['
(<nt def='NT-Char'>Char</nt>* -
(<nt def='NT-Char'>Char</nt>* ']]&gt;' <nt def='NT-Char'>Char</nt>*))
']]&gt;'</rhs>
<com>CDATA sections</com>
<rhs>| '&lt;!DOCTYPE'
(<nt def="NT-Char">Char</nt> - ('[' | ']'))+
('['
<nt def="NT-simpleDTD">simpleDTD</nt>*
']')? '&gt;'</rhs>
<com>doc type declaration</com>
</prod>
<prod id="NT-simpleDTD"><lhs>simpleDTD</lhs>
<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>
<com>comment </com>
<rhs>| '&lt;?'
(<nt def='NT-Char'>Char</nt>* -
(<nt def='NT-Char'>Char</nt>* &pic; <nt def='NT-Char'>Char</nt>*))
'&pic;'</rhs>
<com>processing instruction </com>
<rhs><nt def="NT-SimpleLit">SimpleLit</nt></rhs>
<rhs>(<nt def="NT-Char">Char</nt> - (']' | '&lt;' | '"' | "'"))+
</rhs>
<rhs>'&lt;!' (<nt def="NT-Char">Char</nt> - ('-'))+</rhs>
<com>declarations other than comment</com>
</prod>
</prodgroup>
</scrap>
Most processors will require the more complex
grammar given in the body of this specification.
</p>
</div1>
-->
<inform-div1 id="sec-xml-wg">
<head>&informative;W3C XML ¥ï¡¼¥­¥ó¥°¥°¥ë¡¼¥×</head>
<p>¤³¤Î&TR-or-Rec;¤Ï¡¤W3C XML ¥ï¡¼¥­¥ó¥°¥°¥ë¡¼¥×(WG)¤¬½àÈ÷¤·¡¤¸ø³«¤ò¾µÇ§¤·¤¿¡£WG¤¬¤³¤Î&TR-or-Rec;¤ò¾µÇ§¤¹¤ë¤È¤¤¤¦¤³¤È¤Ï¡¤WG¤Î¤¹¤Ù¤Æ¤Î°Ñ°÷¤¬¾µÇ§Åêɼ¤ò¹Ô¤Ã¤¿¤È¤¤¤¦¤³¤È¤òɬ¤º¤·¤â°ÕÌ£¤·¤Ê¤¤¡£XML WG¤Î¸½ºß¤Î°Ñ°÷µÚ¤Ó°ÊÁ°¤Î°Ñ°÷¤ò¼¡¤Ë¼¨¤¹¡£</p>
<!-- parens and spaces removed from role elements by bosak 1997.11.07 -->
<orglist>
<member><name>Jon Bosak, Sun</name><role>Chair</role></member>
<member><name>James Clark</name><role>Technical Lead</role></member>
<member><name>Tim Bray, Textuality and Netscape</name><role>XML Co-editor</role></member>
<member><name>Jean Paoli, Microsoft</name><role>XML Co-editor</role></member>
<member><name>C. M. Sperberg-McQueen, U. of Ill.</name><role>XML Co-editor</role></member>
<member><name>Dan Connolly, W3C</name></member>
<member><name>Steve DeRose, INSO</name></member>
<member><name>Dave Hollander, HP</name></member>
<member><name>Eliot Kimber, Highland</name></member>
<member><name>Eve Maler, ArborText</name></member>
<member><name>Tom Magliery, NCSA</name></member>
<member><name>Murray Maloney, Muzmo and Grif</name></member>
<member><name>¼ÅÄ¡¡¿¿¡¤ÉٻΥ¼¥í¥Ã¥¯¥¹¾ðÊó¥·¥¹¥Æ¥à(³ô)</name></member>
<member><name>Joel Nava, Adobe</name></member>
<member><name>Peter Sharpe, SoftQuad</name></member>
<member><name>John Tigue, DataChannel</name></member>
</orglist>
</inform-div1>
</back>
</spec>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
End:
-->