File: ucn_warnings.tmpl

package info (click to toggle)
w3c-markup-validator 1.3%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,048 kB
  • sloc: javascript: 3,362; perl: 2,888; xml: 1,331; python: 427; sh: 216; makefile: 75
file content (601 lines) | stat: -rw-r--r-- 28,796 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
<TMPL_IF NAME="W00">
	<message type="info" id="W00">
		<title>Using experimental feature: <TMPL_VAR NAME="W00_experimental_name" ESCAPE="HTML"></title>
    	<description>
    		<p>
    		The validator checked your document with an experimental feature: 
    		<em><TMPL_VAR NAME="W00_experimental_name" ESCAPE="HTML"></em>. This feature has been 
        	made available for your convenience, but be aware that it may be unreliable, or not perfectly
        	up to date with the latest development of some cutting-edge technologies. If you find any issues
        	with this feature, please <a href="<TMPL_VAR NAME="W00_experimental_URI" ESCAPE="HTML">">report them</a>. Thank you.
        	</p>
        </description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W01">
	<message type="warning" id="W01">
		<title>Missing "charset" attribute for "<TMPL_VAR NAME="W01_ct" ESCAPE="HTML">" document.</title>
		<description>
		    <p>
		      The HTTP <code>Content-Type</code> header
		      (<code><TMPL_VAR NAME="W01_ct" ESCAPE="HTML"></code>) sent by your web
		      <TMPL_IF NAME="W01_upload">browser<TMPL_ELSE>server</TMPL_IF>
		      (<code><TMPL_VAR NAME="W01_agent" ESCAPE="HTML"></code>) did not contain
		      a "<code>charset</code>" parameter, but the Content-Type was one of
		      the XML <code>text/*</code> sub-types.
		    </p>
		    <p>
		      The relevant specification
		      (<a href="http://www.ietf.org/rfc/rfc3023.txt">RFC 3023</a>)
		      specifies a strong default of "<code>us-ascii</code>" for
		      such documents so we will use this value regardless of any encoding you
		      may have indicated elsewhere.
		    <p>
		      If you would like to use a different encoding, you should arrange to have
		      your <TMPL_IF NAME="W01_upload">browser<TMPL_ELSE>server</TMPL_IF> send
		      this new encoding information.
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W02">
	<message type="warning" id="W02">
		<title>No Character Encoding Found!</title>
		<description>
		    <p>
		      Falling back to
		      "<code><TMPL_VAR NAME="W02_charset" ESCAPE="HTML"></code>"
		      (<a href="docs/users.html#option-fbc">explain...</a>).
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W03">
	<message type="warning" id="W03">
		<title>Character Encoding Override in effect!</title>
		<description>
		    <p>
		      The detected character encoding
		      "<code><TMPL_VAR NAME="W03_use" ESCAPE="HTML"></code>"
		      has been suppressed and
		      "<code><TMPL_VAR NAME="W03_opt" ESCAPE="HTML"></code>" used instead.
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W04">
	<message type="warning" id="W04">
		<title>No Character Encoding Found! <TMPL_IF NAME="W04_override">Using<TMPL_ELSE>Falling back to</TMPL_IF> <TMPL_IF NAME="W04_charset"><TMPL_VAR NAME="W04_charset" ESCAPE="HTML"><TMPL_ELSE>UTF-8</TMPL_IF>.</title>
		<description>
			<TMPL_IF NAME="W04_override">
			    <p>None of the standards sources gave any information on the character encoding labeling for this document. The character 
			      encoding <code><TMPL_IF NAME="W04_charset"><TMPL_VAR NAME="W04_charset" ESCAPE="HTML"><TMPL_ELSE>UTF-8</TMPL_IF></code>,
			      which you have chosen via the <code>Encoding</code> override option, will be used for tentative validation. 
			    </p>
			<TMPL_ELSE>
			    <p>
			      None of the standards sources gave any information on the character encoding
			      labeling for this document. Without encoding information
			      it is impossible to reliably validate the document. As a fallback
			      solution, the "<code><TMPL_IF NAME="W04_charset"><TMPL_VAR NAME="W04_charset" ESCAPE="HTML"><TMPL_ELSE>UTF-8</TMPL_IF></code>" 
			      encoding was used to read the content and attempt to perform the validation,
			      but this is likely to fail for all non-trivial documents.
			    </p>
			    <TMPL_IF NAME="W04_also_tried">
				<p>Before defaulting to <code><TMPL_IF NAME="W04_charset"><TMPL_VAR NAME="W04_charset" ESCAPE="HTML"><TMPL_ELSE>UTF-8</TMPL_IF></code>
					the validator also tried to read the content with the following encoding(s), without success: 
					<code><TMPL_VAR NAME="W04_also_tried" ESCAPE="HTML"></code>.</p>
			    </TMPL_IF>
			 </TMPL_IF>
			 <TMPL_IF NAME="opt_verbose">
			    <p>The sources used to find encoding information include:</p>
			    <ul>
			      <li>The HTTP Content-Type header.</li>
			      <li>The XML Declaration.</li>
			      <li>The HTML "META" element.</li>
			    </ul>
			    <p>
			      The algorithm defined in
			      <a href="http://www.w3.org/TR/REC-xml#sec-guessing">Appendix F of
			        the XML 1.0 Recommendation</a> was also used, without success.
			    </p>
			    <p>
			      Since none of these sources yielded any usable information, reliable
			      validation of this document is not possible. Sorry. Please make sure you
			      specify the character encoding in use.
			    </p>
			      <p>Specifying a character encoding is typically done by the web server
				configuration, by the scripts that put together pages, or inside the
				document itself. <a href="http://www.iana.org/"><abbr title="Internet Assigned Numbers Authority">IANA</abbr></a> 
			    maintains the list of
				<a href="http://www.iana.org/assignments/character-sets">official names for character
				encodings</a> (called charsets in this context). You can choose from a number
				of encodings, though we recommend UTF-8 as particularly useful.</p>
			
				<p>The W3C <abbr title="Internationalization">I18N</abbr> Activity has collected a 
					<a href="http://www.w3.org/International/O-charset">few tips on
				how to declare the encoding of a Web document</a>.</p>
				<p>
			      To quickly check whether the document would validate after addressing
			      the missing character encoding information, you can use the "Encoding"
			      form control earlier in the page to force an encoding
			      override to take effect. "iso-8859-1" (Western Europe and North America)
			      and "utf-8" (Universal, but not commonly used in legacy documents) are
			      common encodings if you are not sure what encoding to choose.
			    </p>
			<TMPL_ELSE>
			    <p>Read the <a href="docs/help.html#faq-charset"><acronym title="Frequently Asked Questions">FAQ</acronym> 
			    entry on character encoding</a> for more details and pointers on how to fix this problem with your document.</p>
			</TMPL_IF>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W05">
	<message type="warning" id="W05">
		<title>DOCTYPE Override in effect!</title>
		<description>
		    <p>
		      Any DOCTYPE Declaration in the document has been suppressed and the
		      DOCTYPE for "<code><TMPL_VAR NAME="W05_dtd" ESCAPE="HTML"></code>"
		      inserted instead. The document will not be Valid until you alter the
		      source file to reflect this new DOCTYPE.
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W06">
	<message type="warning" id="W06">
		<title>Unable to Determine Parse Mode!</title>
		<description>
		    <p>The validator can process documents either as XML (for document types such as XHTML, SVG, etc.) or SGML (for HTML 4.01 and prior versions). For this document, the information available was not sufficient to determine the parsing mode unambiguously, because:</p>
		    <ul>
		    	<TMPL_IF NAME="W06_mime"><li>
		    	the MIME Media Type (<code><TMPL_VAR NAME="W06_mime" ESCAPE="HTML"></code>)  can be used for XML or SGML document types</li><TMPL_ELSE><li>in <em>Direct Input</em> mode, no MIME Media Type is served to the validator</li></TMPL_IF>
		    	<TMPL_IF NAME="w06_doctype"><li>the Document Type (<code><TMPL_VAR NAME="w06_doctype" ESCAPE="HTML"></code>) is not in the validator's catalog</li><TMPL_ELSE><li>No known Document Type could be detected</li></TMPL_IF>
		    	<li>No XML declaration (<abbr>e.g</abbr> <code>&lt;?xml version="1.0"?&gt;</code>) could be found at the beginning of the document.</li>
		    	<li>No XML namespace (<abbr>e.g</abbr> <code>&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"&gt;</code>) could be found at the root of the document.</li>
		    </ul>
		    <p>As a default, the validator is falling back to SGML mode.</p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W07">
	<message type="warning" id="W07">
		<title>Contradictory Parse Modes Detected!</title>
		<description>
			<p>The validator can process documents either as XML (for document types such as XHTML, SVG, etc.) or SGML (for HTML 4.01 and prior versions).</p>
		    <p>
		      This document was served with HTTP headers declaring it as MIME Media Type
		      (<code><TMPL_VAR NAME="W07_mime" ESCAPE="HTML"></code>), for which the parsing
		       mode should be <TMPL_VAR NAME="W07_ct" ESCAPE="HTML">. However, the document's
		       <code>DOCTYPE</code> Declaration indicates
		       <TMPL_VAR NAME="W07_dtd" ESCAPE="HTML"> mode.
		    <p>
		    <p>Following the rules of <a href="http://www.w3.org/TR/webarch/#metadata-inconsistencies" title="Architecture of the World Wide Web, Volume One - Inconsistencies between Representation Data and Metadata">Web Architecture</a>, validation proceeded using the <TMPL_VAR NAME="W07_ct" ESCAPE="HTML"> mode based on the <code>Content-Type</code> header.
		    </p>
		    <p>Fixing this conflict involves either <a href="http://www.w3.org/QA/2007/10/http-media-type.html" title="Setting media type headers on your Web site - W3C Q&amp;A Weblog">setting the Content-Type header</a>, <a
		      href="http://www.w3.org/QA/2002/04/valid-dtd-list.html">using a known document type</a> or adding an XML declaration (in the case of XML-based documents).</p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W08">
	<message type="warning" id="W08">
		<title>No Content-Type Found!</title>
		<description>
		    <p>
		      This document was served with an empty or missing
		      <code>Content-Type</code> header.  This is likely to confuse the validator
		      and other user agents.
		    </p>
		    <p>
		      HTTP messages <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7.2.1">SHOULD</a>
		      contain the <code>Content-Type</code> HTTP header.
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W09">
	<message type="warning" id="W09">
		<title>No DOCTYPE found! Attempting validation with <TMPL_VAR NAME="W09_dtd" ESCAPE="HTML">.</title>
		<description>
		    <p>
		      No DOCTYPE Declaration could be found or recognized in this document. This
		      generally means that the document is not declaring its Document Type at the top. 
		      It can also mean that the DOCTYPE declaration contains a spelling error, 
		      or that it is not using the correct syntax.
		    </p>
		    <p> 
		      The document was checked using a default "fallback" Document Type Definition
		      that closely resembles “<TMPL_VAR NAME="W09_dtd" ESCAPE="HTML">”.
		    </p>
		    <TMPL_IF NAME="opt_verbose">
		    <p>
		      It is recommended to use a DOCTYPE declaration as the very first thing in your
		      HTML document, to identify the precise language being used. For example, for a typical <a
		      href="http://www.w3.org/TR/xhtml1/">XHTML 1.0</a> document:
		    </p>
		    <pre>
		      &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
		        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
		      &lt;html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"&gt;
		        &lt;head&gt;
		          &lt;title&gt;Title&lt;/title&gt;
		        &lt;/head&gt;
		
		        &lt;body&gt;
		          &lt;!-- ... body of document ... --&gt;
		        &lt;/body&gt;
		      &lt;/html&gt;
		    </pre>
		    <p>
		      For XML documents, you may also wish to include an "XML Declaration"
		      even before the DOCTYPE Declaration, but this is not well supported
		      in older browsers. More information about this can be found in the
		      <a href="http://www.w3.org/TR/xhtml1/">XHTML 1.0</a> Recommendation.
		    </p>
		      <p>
		        The W3C QA Activity maintains a <a
		          href="http://www.w3.org/QA/2002/04/valid-dtd-list.html">List of
		            Valid Doctypes</a> that you can choose from, and the <acronym
		          title="Web Design Group">WDG</acronym> maintains a document on
		        "<a href="http://htmlhelp.com/tools/validator/doctype.html">Choosing
		           a DOCTYPE</a>".
		      </p>
		  <TMPL_ELSE>
		    <p>Learn <a href="docs/help.html#faq-doctype">how to add a doctype to your document</a> 
		    from our <acronym title="Frequently Asked Questions">FAQ</acronym>.</p>
		  </TMPL_IF>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W09nohtml">
	<message type="warning" id="W09nohtml">
		<title>No DOCTYPE found, and unknown root element. Aborting validation.</title>
		<description>
		    <p>
		      The DOCTYPE Declaration was not recognized or is missing. This
		      probably means that the Formal Public Identifier contains a spelling
		      error, or that the Declaration is not using correct syntax, or that 
		      your document is not using a DOCTYPE Declaration.
		    </p>
		    <p>
		      Without a DOCTYPE Declaration it is not possible to check the validity of your document. Since the document does not start with the root &lt;html&gt; element, automatic fallback to an HTML document type was not performed, and most of the validation process was aborted: only basic markup syntax was checked.
		    </p>
		    <p>Learn <a href="docs/help.html#faq-doctype">how to add a doctype to your document</a> 
		    from our <acronym title="Frequently Asked Questions">FAQ</acronym>, or use the validator's
		    <code>Document Type</code> option to validate your document against a specific Document Type.</p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W09xml">
	<message type="warning" id="W09xml">
		<title>No DOCTYPE found! Checking XML syntax only.</title>
		<description>
			<p>
		      The DOCTYPE Declaration was not recognized or is missing. This
		      probably means that the Formal Public Identifier contains a spelling
		      error, or that the Declaration is not using correct syntax, or that 
		      your XML document is not using a DOCTYPE Declaration.
		    </p>
		    <p>
		      Validation of the document has been skipped, and a simple check of the well-formedness
		      of the XML syntax has been performed instead.
		    </p>
		    <p>Learn <a href="docs/help.html#faq-doctype">how to add a doctype to your document</a> 
		    from our <acronym title="Frequently Asked Questions">FAQ</acronym>, or use the validator's
		    option to validate your XML document against a specific Document Type</p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W10">
	<message type="warning" id="W10">
		<title>Unknown Namespace Found</title>
		<description>
		    <p>
		      Unknown namespace "<code><TMPL_VAR NAME="W10_ns" ESCAPE="HTML"></code>"
		      for <TMPL_VAR NAME="W10_type" ESCAPE="HTML"> document!
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W11">
	<message type="warning" id="W11">
		<title>Namespace Found in non-XML Document</title>
		<description>
		    <p>
		      Namespace "<code><TMPL_VAR NAME="W11_ns" ESCAPE="HTML"></code>" found,
		      but the <TMPL_IF NAME="w11_doctype"><code><TMPL_VAR NAME="w11_doctype" ESCAPE="HTML"></code></TMPL_IF> document type is not an XML document type!
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W12">
	<message type="warning" id="W12">
		<title>No Namespace Found</title>
		<description>
		    <p>
		      No Namespace was found, but document type requires one to be present!
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W13">
	<message type="warning" id="W13">
		<title>DOCTYPE Override in effect!</title>
		<description>
		    <p>
		      The detected DOCTYPE Declaration
		      "<code><TMPL_VAR NAME="W13_org"></code>" has been
		      suppressed and the DOCTYPE for
		      "<code><TMPL_VAR NAME="W13_new" ESCAPE="HTML"></code>" inserted instead,
		      but even if no errors are shown below the document will not be Valid
		      until you update it to reflect this new DOCTYPE.
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W14">
	<message type="warning" id="W14">
		<title>No DOCTYPE Found!</title>
		<description>
		    <p>
		      Falling back to HTML 4.01 Transitional.
		      (<a href="docs/users.html#option-fbd">explain...</a>)
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W15">
	<message type="warning" id="W15">
		<title>DOCTYPE Override in effect!</title>
		<description>
		    <p>
		      The DOCTYPE Declaration for "<TMPL_VAR NAME="W15_dtd" ESCAPE="HTML">"
		      has been inserted at the start of the document, but even if no errors
		      are shown below the document will not be Valid until you add the new
		      DOCTYPE Declaration.
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W16">
	<message type="warning" id="W16">
		<title>No DOCTYPE Found! Falling Back to <TMPL_VAR NAME="W16_dtd" ESCAPE="HTML">.</title>
		<description>
			    <p>
			      A DOCTYPE Declaration is mandatory for most current markup languages
			      and without one it is impossible to reliably validate this document.
			      I am falling back to "<TMPL_VAR NAME="W16_dtd" ESCAPE="HTML">" and will
			      attempt to validate the document anyway, but this is very likely to
			      produce spurious error messages for most non-trivial documents.
			    </p>
			  <TMPL_IF NAME="opt_verbose">
			    <TMPL_INCLUDE NAME="doctype_spiel.tmpl">
			    <p>
			      The W3C QA Activity maintains a <a
			        href="http://www.w3.org/QA/2002/04/valid-dtd-list.html">List of
			          Valid Doctypes</a> that you can choose from, and the <acronym
			        title="Web Design Group">WDG</acronym> maintains a document on
			      "<a href="http://htmlhelp.com/tools/validator/doctype.html">Choosing
			         a DOCTYPE</a>".
			    </p>
			  <TMPL_ELSE>
			    <p>
			      So what should I do?
			      <a href="docs/help.html#faq-doctype">Tell me more...</a>
			    </p>
			  </TMPL_IF>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W17">
	<message type="warning" id="W17">
		<title>No Character Encoding detected!</title>
		<description>
		    <p>
		      To ensure correct validation, processing, and display, it is important
		      that the character encoding is properly labeled.
		      <a href="http://www.w3.org/International/O-charset.html">More
		      information...</a>
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W18">
	<message type="warning" id="W18">
		<title>Character Encoding mismatch!</title>
		<description>
		    <p>
		      The character encoding specified in the HTTP header
		        (<code><TMPL_VAR NAME="W18_http" ESCAPE="HTML"></code>)
		      is different from the value in the XML declaration
		        (<code><TMPL_VAR NAME="W18_xml" ESCAPE="HTML"></code>).
		      I will use the value from the HTTP header
		        (<code><TMPL_VAR NAME="W18_use" ESCAPE="HTML"></code>).
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W19">
	<message type="warning" id="W19">
		<title>Character Encoding mismatch!</title>
		<description>
		    <p>
		      The character encoding specified in the HTTP header
		        (<code><TMPL_VAR NAME="W19_http" ESCAPE="HTML"></code>)
		      is different from the value in the <code>&lt;meta&gt;</code> element
		      (<code><TMPL_VAR NAME="W19_meta" ESCAPE="HTML"></code>). I will use the
		      value from the HTTP header
		      (<code><TMPL_VAR NAME="W19_use" ESCAPE="HTML"></code>) for this
		      validation.
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W20">
	<message type="warning" id="W20">
		<title>Character Encoding mismatch!</title>
		<description>
		    <p>
		      The character encoding specified in the XML declaration
		      (<code><TMPL_VAR NAME="W20_xml" ESCAPE="HTML"></code>)
		      is different from the value in the <code>&lt;meta&gt;</code> element
		      (<code><TMPL_VAR NAME="W20_meta" ESCAPE="HTML"></code>). I will use the
		      value from the XML declaration
		      (<code><TMPL_VAR NAME="W20_xml" ESCAPE="HTML"></code>) for this
		      validation.
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W21">
	<message type="warning" id="W21">
		<title>Byte-Order Mark found in UTF-8 File.</title>
		<description>
		    <p>
		      The Unicode Byte-Order Mark (BOM) in UTF-8 encoded files is known to
		      cause problems for some text editors and older browsers. You may want
		      to consider avoiding its use until it is better supported.
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W22">
	<message type="warning" id="W22">
		<title>Character Encoding suggestion: use <TMPL_VAR NAME="W22_suggested" ESCAPE="HTML"> instead of <TMPL_VAR NAME="W22_declared" ESCAPE="HTML"></title>
		<description>
		    <p>
		      The character encoding declared for this document 
		      (<code><TMPL_VAR NAME="W22_declared" ESCAPE="HTML"></code>) may not be widely supported.
		      This encoding is equivalent to <code><TMPL_VAR NAME="W22_suggested" ESCAPE="HTML"></code>
		      which may be better supported across platforms.
		    </p> 
		    <p>
		      More information on <a href="http://www.w3.org/International/O-charset.html">declaring a character encoding on your Web server or in your document</a> can be found on the W3C Internationalization site.
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W23">
	<message type="warning" id="W23">
		<title>Conflict between Mime Type and Document Type</title>
		<description>
		   <p>The document is being served with the  <code><TMPL_VAR NAME="W23_type" ESCAPE="HTML"></code> Mime Type
		      which is not a registered media type for the 
		      <code><TMPL_VAR NAME="W23_doctype" ESCAPE="HTML"></code> Document Type. The recommended media type 
		      for this document is: <code><TMPL_VAR NAME="W23_type_pref" ESCAPE="HTML"></code></p>
		           
		   <p>Using a wrong media type for a certain document type may
		      confuse the validator and other user agents with respect to the 
		      nature of the document, and you may get some erroneous validation
		      errors. How to fix this problem? One of the following techniques should help:</p>
		   <ul>     
		     <li>
		        If you are serving a static file on a Web server, changing its extension should help. 
		        Use e.g <code>.xhtml</code> for XHTML or <code>.mml</code> for MathML.
		     </li>
		     <li>You may need to reconfigure your Web server. This <a  href="http://www.developershome.com/wap/wapServerSetup/tutorial.asp?page=settingUpMIME">Setting up MIME Types tutorial</a> has instructions for Apache, Tomcat and IIS.</li>
		     <li>If the document is generated dynamically, the scripting language should allow you to set up the mime type: 
		         this <a href="http://juicystudio.com/article/content-negotiation.php">article on MIME Types and Content Negotiation</a> has examples in PHP, Perl, and ASP.</li>
		   </ul>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W24">
	<message type="warning" id="W24">
		<title>Rare or unregistered Character Encoding detected</title>
		<description>
		    <p>
		      The character encoding declared for this document 
		      (<code><TMPL_VAR NAME="W24_declared" ESCAPE="HTML"></code>) 
		      is supported by the validator, but may not be widely supported across platforms.
		      For the sake of interoperability, it is best to use a unicode character encoding 
		      such as <code>UTF-8</code>, or one of the 
		      <a href="http://www.iana.org/assignments/character-sets">registered character
		  	encodings</a>.
		    </p> 
		    <p>
		      More information on <a href="http://www.w3.org/International/O-charset.html">declaring a character encoding on your Web server or in your document</a> can be found on the W3C Internationalization site.
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W25">
	<message type="warning" id="W25">
		<title><TMPL_VAR NAME="W25_dtd" ESCAPE="HTML"> document without DOCTYPE detected</title>
		<description>
		    <p>This document does not declare any DOCTYPE. A Doctype declaration is generally 
		       needed for validation, but the checked document uses markup specific to <TMPL_VAR NAME="W25_dtd" ESCAPE="HTML">, which may be used without DOCTYPE. </p>
		    <p>Validation was performed as if the DOCTYPE for <TMPL_VAR NAME="W25_dtd" ESCAPE="HTML"> was present. If this automatic detection is not correct, <a href="http://www.w3.org/QA/2002/04/valid-dtd-list.html" title="W3C QA - Recommended list of DTDs you can use in your Web document">adding a DOCTYPE declaration</a> will help validate without ambiguity.</p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W26">
	<message type="warning" id="W26">
		<title>Mismatch between Public and System identifiers in the DOCTYPE declaration</title>
		<description>
		    <p>This document uses an inconsistent DOCTYPE declaration. 
		    <TMPL_IF NAME="W26_dtd_sys_recommend">
		    The Public Identifier  
			<code><TMPL_VAR NAME="W26_dtd_pub" ESCAPE="HTML"></code> declares the 
			<code><TMPL_VAR NAME="W26_dtd_pub_display" ESCAPE="HTML"></code> document type, but the associated System Identifier
			<code><TMPL_VAR NAME="W26_dtd_sys" ESCAPE="HTML"></code> does not match this document type.</p>
			<p>The recommended System Identifier 
			for <code><TMPL_VAR NAME="W26_dtd_pub_display" ESCAPE="HTML"></code> is <code><TMPL_VAR NAME="W26_dtd_sys_recommend" ESCAPE="HTML"></code>.
		    </TMPL_IF>
		    <TMPL_IF NAME="W26_dtd_pub_recommend">
		    The System Identifier  
			<code><TMPL_VAR NAME="W26_dtd_sys" ESCAPE="HTML"></code> declares the 
			<code><TMPL_VAR NAME="W26_dtd_pub_display" ESCAPE="HTML"></code> document type, but the associated Public Identifier
			<code><TMPL_VAR NAME="W26_dtd_pub" ESCAPE="HTML"></code> does not match this document type.</p>
			<p>The recommended Public Identifier 
			for <code><TMPL_VAR NAME="W26_dtd_sys" ESCAPE="HTML"></code> is <code><TMPL_VAR NAME="W26_dtd_pub_recommend" ESCAPE="HTML"></code>.
		    </TMPL_IF>	
			
			</p>
			<p>The safest way to use a correct DOCTYPE declaration is to copy and paste one from the 
			<a href="http://www.w3.org/QA/2002/04/valid-dtd-list.html" 
			title="W3C QA - Recommended list of DTDs you can use in your Web document">recommended list</a> 
			and avoid editing that part of your markup by hand.</p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W27">
	<message type="info" id="W27">
		<title>No Character encoding declared at document level</title>
		<description>
		    <p>No character encoding information was found within the document, either in an HTML <code>meta</code> element or an XML declaration. It is often recommended to declare the character encoding in the document itself, especially if there is a chance that the document will be read from or saved to disk, CD, etc.</p>
		    <p>See <a href="http://www.w3.org/International/tutorials/tutorial-char-enc/#Slide0250">this tutorial on character encoding</a> for techniques and explanations.</p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W28">
	<message type="info" id="W28">
		<title>Using Direct Input mode: UTF-8 character encoding assumed</title>
		<description>
		    <p>Unlike the “by URI” and “by File Upload” modes, the “Direct Input” mode of the validator provides validated content in the form of characters pasted or typed in the validator's form field. This will automatically make the data UTF-8, and therefore the validator does not need to determine the character encoding of your document, and will ignore any charset information specified.</p>
		    <p>If you notice a discrepancy in detected character encoding between the “Direct Input” mode and other validator modes, this is likely to be the reason. It is neither a bug in the validator, nor in your document.</p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W29">
	<message type="warning" id="W29">
		<title>Error cleaning up markup with HTML-Tidy.</title>
		<description>
		    <p>
		      An error occurred while cleaning up markup with HTML-Tidy.  The reported
		      error was:<br />
		      <TMPL_VAR NAME="W29_msg" ESCAPE="HTML">
		    </p>
		    <p>
		      It is unlikely that this is a problem with the checked document, but
		      rather a software or configuration issue with the validator.
		    </p>
		</description>
	</message>
</TMPL_IF>
<TMPL_IF NAME="W@@">
	<message type="warning">
		<title>W@@</title>
	</message>
</TMPL_IF>