/[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.11 by wakaba, Tue Nov 13 13:00:14 2007 UTC revision 1.12 by wakaba, Wed Nov 14 11:40:48 2007 UTC
# Line 17  Line 17 
17  <body class="has-abstract">  <body class="has-abstract">
18    
19  <div class="header">  <div class="header">
20  <h1>manakai's XML Conformance Checking</h1>  <h1>manakai's <abbr>XML</abbr> Conformance Checking</h1>
21  <h2>Working Draft <time datetime=2007-11-13>13 November 2007</time></h2>  <h2>Working Draft <time datetime=2007-11-14>14 November 2007</time></h2>
22    
23  <dl class="versions-uri">  <dl class="versions-uri">
24  <dt>This Version</dt>  <dt>This Version</dt>
# Line 120  In addition, the order in which <a href= Line 120  In addition, the order in which <a href=
120  raised is undefined.</p>  raised is undefined.</p>
121  </div>  </div>
122    
123    <div class=section id=parsing-xml>
124    <h2>Parsing <abbr>XML</abbr> Document</h2>
125    
126    <ul>
127    <li>If the replacement text of an entity declaration is
128    <code>&lt;</code>, then raise an
129    <a href="#xml-misc-warning" id=xmw-entity-value-lt><code>xml-misc-warning</code></a>.<!--
130    "strongly advised to avoid" in a Note in Section 2.3 of [XML10], [XML11].
131    --></li>
132    </ul>
133    </div>
134    
135  <div class="section" id=checking-dom>  <div class="section" id=checking-dom>
136  <h2>Checking <abbr>DOM</abbr></h2>  <h2>Checking <abbr>DOM</abbr></h2>
137    
# Line 159  can be easily serialized into a valid XM Line 171  can be easily serialized into a valid XM
171    </dd>    </dd>
172  <dt><dfn id=round-trip-error><code>round-trip-error</code></dfn></dt>  <dt><dfn id=round-trip-error><code>round-trip-error</code></dfn></dt>
173    <dd class=ed>@@</dd>    <dd class=ed>@@</dd>
174    <dt><dfn id=round-trip-warning><code>round-trip-warning</code></dfn></dt>
175      <dd>
176        <p>A <a href="#round-trip-warning"><code>round-trip-warning</code></a>
177        will be raised when a construct, which might not be restored to the same
178        construct when it is serialized and then re-parsed by a conforming
179        processor, is encountered.</p>
180        <div class="example memo">
181          <p>For a <code>Comment</code> node a
182          <a href="#round-trip-warning"><code>round-trip-warning</code></a> will
183          be raised, since <abbr>XML</abbr> processors are not required to
184          report texts of comments for applications.</p>
185        </div>
186      </dd>
187  <dt class=ed><dfn id=unknown-error><code>unknown-error</code></dfn>?</dt>  <dt class=ed><dfn id=unknown-error><code>unknown-error</code></dfn>?</dt>
188    <dd class=ed>@@</dd>    <dd class=ed>@@</dd>
189  <dt><dfn id=xml-misc-error><code>xml-misc-error</code></dt>  <dt><dfn id=xml-misc-error><code>xml-misc-error</code></dt>
# Line 240  then raise an Line 265  then raise an
265    
266  <p>The algorithm  <p>The algorithm
267  <dfn id=algorithm-to-validate-a-name title="to validate a Name">to validate a  <dfn id=algorithm-to-validate-a-name title="to validate a Name">to validate a
268  <code>Name</code> (<dfn id=var-name><var>name</var></dfn>)</dfn> is defined  <code>Name</code> (<dfn id=var-name-s><var>s</var></dfn>)</dfn> is defined
269  as following:</p>  as following:</p>
270  <ol>  <ol>
271    <li>If <var>s</var> begins with the string <code>xml</code> (in any
272    case combination), then raise an
273    <a href="#xml-misc-warning" id=xmw-reserved-name><code>xml-misc-warning</code></a>.
274    <span class=ed>@@ except for attribute names <code>xml:lang</code>,
275    <code>xml:space</code>, <code>xml:base</code>, <code>xml:id</code>,
276    <code>xmlns</code>, <code>xmlns:<var>*</var></code>,
277    pi name <code>xml-stylesheet</code>.</span></li>
278    <!-- COLON in Name is a lowercase "should not" in a Note of [XML10],
279    [XML11]. -->
280  <li class=ed>@@</li>  <li class=ed>@@</li>
281  </ol>  </ol>
282    
# Line 338  following:</p> Line 372  following:</p>
372      <code>data</code> attribute value as an <abbr>XML</abbr> character      <code>data</code> attribute value as an <abbr>XML</abbr> character
373      data</a>.</li>      data</a>.</li>
374      <li>If the <code>data</code> attribute value contains      <li>If the <code>data</code> attribute value contains
375      a string <code>]]></code>, then it is an      a string <code>]]></code>, then raise an
376      <a href="#xml-well-formedness-error" id=wfe-cs-mse><code>xml-well-formedness-error</code></a>.</li>      <a href="#xml-well-formedness-error" id=wfe-cs-mse><code>xml-well-formedness-error</code></a>.<!-- "for compatibility" --></li>
377      <li>If the <code>childNodes</code> list of <var>n</var> contains      <li>If the <code>childNodes</code> list of <var>n</var> contains
378      any nodes, they are in      any nodes, they are in
379      <a href="#xml-well-formedness-error" id=wfe-cs-child><code>xml-well-formedness-error</code></a>.</li>      <a href="#xml-well-formedness-error" id=wfe-cs-child><code>xml-well-formedness-error</code></a>.</li>
# Line 348  following:</p> Line 382  following:</p>
382  <dt>If <var>n</var> is a <code>Comment</code> node</dt>  <dt>If <var>n</var> is a <code>Comment</code> node</dt>
383    <dd>    <dd>
384      <ol>      <ol>
385        <li>Raise an
386        <a href="#round-trip-warning" id=rtw-comment><code>round-trip-warning</code></a>.</li>
387      <li><a href="#algorithm-to-validate-an-xml-character-data">Validate the      <li><a href="#algorithm-to-validate-an-xml-character-data">Validate the
388      <code>data</code> attribute value as an <abbr>XML</abbr> character      <code>data</code> attribute value as an <abbr>XML</abbr> character
389      data</a>.</li>      data</a>.</li>
390      <li>If the <code>data</code> attribute value contains      <li>If the <code>data</code> attribute value contains
391      a string <code>--</code>, or if it ends with a character      a string <code>--</code>, or if it ends with a character
392      <code>-</code>, then it is an      <code>-</code>, then raise an
393      <a href="#xml-well-formedness-error" id=wfe-comment-com><code>xml-well-formedness-error</code></a>.</li>      <a href="#xml-well-formedness-error" id=wfe-comment-com><code>xml-well-formedness-error</code></a>.<!--
394        "for compatibility" --></li>
395      <li>If the <code>childNodes</code> list of <var>n</var> contains      <li>If the <code>childNodes</code> list of <var>n</var> contains
396      any nodes, they are in      any nodes, they are in
397      <a href="#xml-well-formedness-error" id=wfe-comment-child><code>xml-well-formedness-error</code></a>.</li>      <a href="#xml-well-formedness-error" id=wfe-comment-child><code>xml-well-formedness-error</code></a>.</li>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24