/[suikacvs]/test/html-webhacc/error-description.en.html.u8
Suika

Diff of /test/html-webhacc/error-description.en.html.u8

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

revision 1.20 by wakaba, Sun May 18 07:24:04 2008 UTC revision 1.21 by wakaba, Mon Jul 21 12:56:34 2008 UTC
# Line 53  Web Document Conformance Checker (BETA)< Line 53  Web Document Conformance Checker (BETA)<
53      encoding declaration.  The document is non‐conforming.</p>      encoding declaration.  The document is non‐conforming.</p>
54    
55      <p>The long character encoding declaration syntax      <p>The long character encoding declaration syntax
56      <code class="html bad example">&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=<var>charset-name</var>&quot;&gt;</code>      <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"&gt;</code>
57      is obsolete.  The new syntax is:</p>      is obsolete.  The new syntax is:</p>
58      <pre class="html example">      <pre class="html example">
59  <code>&lt;meta charset=&quot;<var>charset-name</var>&quot;&gt;</code></pre>  <code>&lt;meta charset="<var>charset-name</var>"&gt;</code></pre>
60    
61      <p>Note that the <code>encoding</code> declaration in <abbr>XML</abbr>      <p>Note that the <code>encoding</code> declaration in <abbr>XML</abbr>
62      declaration has no effect for <abbr>HTML</abbr> document.</p>      declaration has no effect for <abbr>HTML</abbr> document.</p>
# Line 79  Web Document Conformance Checker (BETA)< Line 79  Web Document Conformance Checker (BETA)<
79  <code>Content-Type: text/html; charset=<var>charset-name</var></code></pre>  <code>Content-Type: text/html; charset=<var>charset-name</var></code></pre>
80    
81      <p>Existence of <abbr>HTML</abbr> character encoding declaration, i.e.      <p>Existence of <abbr>HTML</abbr> character encoding declaration, i.e.
82      <code class="html example">&lt;meta charset=&quot;<var>charset-name</var>&quot;&gt;</code>,      <code class="html example">&lt;meta charset="<var>charset-name</var>"&gt;</code>,
83      does not allow to omit <code>charset</code> parameter      does not allow to omit <code>charset</code> parameter
84      for <abbr>HTML</abbr> document encoded in non‐<abbr>ASCII</abbr>      for <abbr>HTML</abbr> document encoded in non‐<abbr>ASCII</abbr>
85      compatible encoding.</p>      compatible encoding.</p>
# Line 109  Web Document Conformance Checker (BETA)< Line 109  Web Document Conformance Checker (BETA)<
109      <li>Specify <code>charset</code> parameter in the <code>Content-Type</code>      <li>Specify <code>charset</code> parameter in the <code>Content-Type</code>
110      field in the <abbr>HTTP</abbr> header, as:      field in the <abbr>HTTP</abbr> header, as:
111      <pre class="HTTP example">      <pre class="HTTP example">
112  <code>Content-Type: text/html; charset=&quot;<var>charset-name</var>&quot;</code></pre></li>  <code>Content-Type: text/html; charset="<var>charset-name</var>"</code></pre></li>
113      <li>Put the character encoding declaration      <li>Put the character encoding declaration
114      (<code class="html example">&lt;meta charset=&quot;<var>charset-name</var>&quot;&gt;</code>)      (<code class="html example">&lt;meta charset="<var>charset-name</var>"&gt;</code>)
115      just after <code class="html example">&lt;head&gt;</code> start tag.</li>      just after <code class="html example">&lt;head&gt;</code> start tag.</li>
116      <li>Use <code>UTF-8</code>.</li>      <li>Use <code>UTF-8</code>.</li>
117      </ul>      </ul>
# Line 410  p { Line 410  p {
410          <code>alternate stylesheet</code> for an alternate style          <code>alternate stylesheet</code> for an alternate style
411          sheet).          sheet).
412            <pre class="example html">            <pre class="example html">
413  <code>&lt;link rel=stylesheet href=&quot;path/to/stylesheet.css&quot;&gt;</code></pre>  <code>&lt;link rel=stylesheet href="path/to/stylesheet.css"&gt;</code></pre>
414          </dd>          </dd>
415      <dt><code>&lt;?php?&gt;</code> or      <dt><code>&lt;?php?&gt;</code> or
416      <code>&lt;? <var>... <abbr>PHP</abbr> code ...</var> ?&gt;</code>      <code>&lt;? <var>... <abbr>PHP</abbr> code ...</var> ?&gt;</code>
# Line 738  p { Line 738  p {
738          <dd><p>In <abbr>XHTML</abbr> document, the root <code>html</code>          <dd><p>In <abbr>XHTML</abbr> document, the root <code>html</code>
739          element must have an <code>xmlns</code> attribute as:          element must have an <code>xmlns</code> attribute as:
740            <pre class="xml example">            <pre class="xml example">
741  <code>&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;</code></pre></p></dd>  <code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;</code></pre></p></dd>
742      <dt><code>rss</code> element</dt>      <dt><code>rss</code> element</dt>
743          <dd><p>The document is written in some version of RSS.</p>          <dd><p>The document is written in some version of RSS.</p>
744          <p>The conformance checker does not support any version          <p>The conformance checker does not support any version
# Line 748  p { Line 748  p {
748          in the <code>http://www.w3.org/2005/Atom</code>          in the <code>http://www.w3.org/2005/Atom</code>
749          namespace as:          namespace as:
750            <pre class="xml example">            <pre class="xml example">
751  <code>&lt;feed xmlns=&quot;http://www.w3.org/2005/Atom&quot;&gt;</code></pre>  <code>&lt;feed xmlns="http://www.w3.org/2005/Atom"&gt;</code></pre>
752          </p>          </p>
753          <p>The conformance checker does not support Atom 0.3.          <p>The conformance checker does not support Atom 0.3.
754          Use Atom 1.0 for feed documents.</p></dd>          Use Atom 1.0 for feed documents.</p></dd>
# Line 833  p { Line 833  p {
833      <p>To specify the character encoding used for serialization,      <p>To specify the character encoding used for serialization,
834      if necessary, use XML declaration instead:      if necessary, use XML declaration instead:
835        <pre class="xml example">        <pre class="xml example">
836  <code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;<var>encoding-name</var>&quot;?&gt;</code></pre>  <code>&lt;?xml version="1.0" encoding="<var>encoding-name</var>"?&gt;</code></pre>
837      </p>      </p>
838    </div>    </div>
839    
# Line 948  p { Line 948  p {
948          <p>Value <code>Content-Type</code> is obsolete; for charset          <p>Value <code>Content-Type</code> is obsolete; for charset
949          declaration, the <code>charset</code> attribute can be used as:          declaration, the <code>charset</code> attribute can be used as:
950          <pre class="html example">          <pre class="html example">
951  <code>&lt;meta charset=&quot;<var>charset-name</var>&quot;&gt;</code></pre>  <code>&lt;meta charset="<var>charset-name</var>"&gt;</code></pre>
952          ... where <var>charset-name</var> is a name of the character encoding          ... where <var>charset-name</var> is a name of the character encoding
953          of the document, such as <code>utf-8</code>.</p>          of the document, such as <code>utf-8</code>.</p>
954          <p>Values <code>Content-Style-Type</code> and          <p>Values <code>Content-Style-Type</code> and
# Line 963  p { Line 963  p {
963    </div>    </div>
964    
965  <div class="section attribute-value-error" id="enumerated:invalid:http-equiv:content-type"><h3>Character encoding declaration syntax  <div class="section attribute-value-error" id="enumerated:invalid:http-equiv:content-type"><h3>Character encoding declaration syntax
966    <code class="html bad example">&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=<var>charset-name</var>&quot;&gt;</code>    <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"&gt;</code>
967    is obsolete.</h3>    is obsolete.</h3>
968      <p>Old long character encoding declaration syntax      <p>Old long character encoding declaration syntax
969      <code class="html bad example">&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=<var>charset-name</var>&quot;&gt;</code>      <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"&gt;</code>
970      is in use.  The document is non‐conforming.</p>      is in use.  The document is non‐conforming.</p>
971    
972      <p>The new character encoding declaration syntax is:      <p>The new character encoding declaration syntax is:
973        <pre class="html example">        <pre class="html example">
974  <code>&lt;meta charset=&quot;<var>charset-name</var>&quot;&gt;</code></pre>  <code>&lt;meta charset="<var>charset-name</var>"&gt;</code></pre>
975      </p>      </p>
976    </div>    </div>
977    
# Line 1299  p { Line 1299  p {
1299    
1300    
1301    
1302    
1303    
1304    
1305    
1306    
1307    
1308    
1309    
1310    
1311    
1312    
1313    
1314    
1315    
1316    
1317    
1318    
1319    
1320    
1321    
1322    
1323    
1324    
1325    
1326    
1327    
1328    
1329    
1330    
1331    
1332    
1333    
1334    
1335    
1336    
1337    
1338    
1339    
1340    
1341    
1342    
1343    
1344    
1345    
1346    
1347    
1348    
1349    
1350    
1351    
1352    
1353    
1354    
1355    
1356    
1357    
1358    
1359    
1360    
1361    
1362    
1363    
1364    
1365    
1366    
1367    
1368    
1369    
1370    
1371    
1372    
1373    
1374    
1375    
1376    
1377    
1378    
1379    
1380    
1381    
1382    
1383    
1384    
1385    
1386    
1387    
1388    
1389    
1390    
1391    
1392    
1393    
1394    
1395    
1396    
1397    
1398    
1399    
1400    
1401    
1402    
1403    
1404  <section id="levels">  <section id="levels">
1405  <h2>Error Levels</h2>  <h2>Error Levels</h2>
1406    

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24