/[suikacvs]/markup/xml/xmlcc/xmlcc-work.en.html
Suika

Diff of /markup/xml/xmlcc/xmlcc-work.en.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by wakaba, Tue Nov 13 01:12:26 2007 UTC revision 1.11 by wakaba, Tue Nov 13 13:00:14 2007 UTC
# Line 222  is that of the <code>Document</code> nod Line 222  is that of the <code>Document</code> nod
222  validate an <abbr>XML</abbr> character data  validate an <abbr>XML</abbr> character data
223  (<dfn id=var-s><var>s</var></dfn>)</dfn> is defined as following:</p>  (<dfn id=var-s><var>s</var></dfn>)</dfn> is defined as following:</p>
224  <ol>  <ol>
225  <li class=ed>@@</li>  <li>If <var>s</var> contains a character that is <em>not</em> in
226    the character class <a href="#class-Char10"><code>Char10</code></a>,
227    then raise an
228    <a href="#xml-well-formedness-error" id=wfe-illegal-char><code>xml-well-formedness-error</code></a>.</li>
229    <li>If <var>s</var> contains a character that is in the character
230    class <a href="#class-CompatChar10"><code>CompatChar10</code></a>,
231    then raise an
232    <a href="#xml-misc-warning" id=xmw-compat-char><code>xml-misc-warning</code></a>.</li>
233    <li>If <var>s</var> contains a character that is in the character
234    class <a href="#class-ControlChar10"><code>ControlChar10</code></a>,
235    then raise an
236    <a href="#xml-misc-warning" id=xmw-control-char><code>xml-misc-warning</code></a>.</li>
237    <li class=ed>@@ XML 1.1 support</li>
238    <li class=ed>@@ If U+000D, round-trip-error</li>
239  </ol>  </ol>
240    
241  <p>The algorithm  <p>The algorithm
# Line 569  following:</p> Line 582  following:</p>
582  </div>  </div>
583    
584  </div>  </div>
585    
586    <div id=classes class=section>
587    <h2>Character Classes</h2>
588    
589    <p>This section defines a couple of character classes.
590    These classes are referred to by algorithms specified above.</p>
591    
592    <p>Character class <dfn id=class-Char10><code>Char10</code></dfn>
593    contains the following characters:</p>
594    <ul>
595    <li><code class=char>U+0009</code> <code class=charname>CHARACTER
596    TABULATION</code></li>
597    <li><code class=char>U+000A</code> <code class=charname>LINE FEED</code></li>
598    <li><code class=char>U+000D</code> <code class=charname>CARRIAGE
599    RETURN</code></li>
600    <li><code class=char>U+0020</code> <code class=charname>SPACE</code>
601    .. <code class=char>U+D7FF</code></li>
602    <li><code class=char>U+E000</code> .. <code class=char>U+FFFD</code>
603    <code class=charname>REPLACEMENT CHARACTER</code></li>
604    <li><code class=char>U+10000</code> .. <code class=char>U+10FFFF</code></li>
605    </ul>
606    <div class="note memo">
607    <p>This character class contains all characters allowed in the production rule
608    <a href="http://www.w3.org/TR/2006/REC-xml-20060816/#NT-Char"><code>Char</code></a>
609    of <abbr>XML</abbr> 1.0
610    <cite class="bibref normative">[<a href="#ref-XML10">XML10</a>]</cite>.</p>
611    </div>
612    
613    <p>Character class <dfn id=class-CompatChar10><code>CompatChar10</code></dfn>
614    contains the following characters:</p>
615    <ul>
616    <li class=ed>@@ <q>Document authors are encouraged to avoid "compatibility characters", as defined in section 6.8 of [Unicode @@ Unicode 2.0 @@] (see also D21 in section 3.6 of [Unicode3]).</q></li>
617    </ul>
618    
619    <p>Character class <dfn id=class-ControlChar10><code>ControlChar10</code></dfn>
620    contains the following characters:</p>
621    <ul>
622    <li><code class=char>U+007F</code> <code class=charname>DELETE</code> ..
623    <code class=char>U+0084</code> <code class=charname>INDEX</code></li>
624    <li><code class=char>U+0086</code> <code class=charname>START OF SELECTED
625    AREA</code> .. <code class=char>U+009F</code> <code class=charname>APPLICATION
626    PROGRAM COMMAND</code></li>
627    <li><code class=char>U+FDD0</code> .. <code class=char>U+FDEF</code></li>
628    <li><code class=char>U+1FFFE</code> .. <code class=char>U+1FFFF</code></li>
629    <li><code class=char>U+2FFFE</code> .. <code class=char>U+2FFFF</code></li>
630    <li><code class=char>U+3FFFE</code> .. <code class=char>U+3FFFF</code></li>
631    <li><code class=char>U+4FFFE</code> .. <code class=char>U+4FFFF</code></li>
632    <li><code class=char>U+5FFFE</code> .. <code class=char>U+5FFFF</code></li>
633    <li><code class=char>U+6FFFE</code> .. <code class=char>U+6FFFF</code></li>
634    <li><code class=char>U+7FFFE</code> .. <code class=char>U+7FFFF</code></li>
635    <li><code class=char>U+8FFFE</code> .. <code class=char>U+8FFFF</code></li>
636    <li><code class=char>U+9FFFE</code> .. <code class=char>U+9FFFF</code></li>
637    <li><code class=char>U+AFFFE</code> .. <code class=char>U+AFFFF</code></li>
638    <li><code class=char>U+BFFFE</code> .. <code class=char>U+BFFFF</code></li>
639    <li><code class=char>U+CFFFE</code> .. <code class=char>U+CFFFF</code></li>
640    <li><code class=char>U+DFFFE</code> .. <code class=char>U+DFFFF</code></li>
641    <li><code class=char>U+EFFFE</code> .. <code class=char>U+EFFFF</code></li>
642    <li><code class=char>U+FFFFE</code> .. <code class=char>U+FFFFF</code></li>
643    <li><code class=char>U+10FFFE</code> .. <code class=char>U+10FFFF</code></li>
644    </ul>
645    <div class="note memo">
646    <p>This character class contains the characters listed in the Note in
647    <a href="http://www.w3.org/TR/2006/REC-xml-20060816/#charsets">Section 2.2</a>
648    of <abbr>XML</abbr> 1.0
649    <cite class="bibref normative">[<a href="#ref-XML10">XML10</a>]</cite>,
650    as amended by
651    <a href="http://www.w3.org/XML/xml-V10-4e-errata#E02">errata</a>.</p>
652    </div>
653    
654    </div>
655    
656  <div id="references" class="section reference">  <div id="references" class="section reference">
657  <h2>References</h2>  <h2>References</h2>

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24