File: types.conf

package info (click to toggle)
w3c-markup-validator 0.7.4-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,708 kB
  • ctags: 117
  • sloc: perl: 1,938; sh: 94; makefile: 53; xml: 8
file content (568 lines) | stat: -rw-r--r-- 15,987 bytes parent folder | download | duplicates (2)
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
#
# Main Document Type Database for the W3C Markup Validation Service.
#
# $Id: types.conf,v 1.14.2.6 2006/10/11 06:30:52 ot Exp $
#
# Maintains all information for each of the document types we support.
# See 'perldoc Config::General' for the syntax, and be aware that the
# 'SplitPolicy' is 'equalsign', ie. keys and values are separated by '\s*=\s*'.
#
# The meaning of the parameters are mostly obvious and all are documented
# in docs/devel.html. Of particular note, the names of each section is
# arbitrary and the "datastructure" is turned inside out in the code so
# that it is indexed by the PubID. This means you can not have multiple
# entries with identical PubID!
#

#
# The five different ways to refer to HTML 2.0:
# "HTML 2.0", "HTML 2.0 Level 2", "HTML 2.0 Level 1",
# "HTML 2.0 Strict", "HTML 2.0 Strict Level 1".
<HTML_2_0>
  Name       = html
  Display    = HTML 2.0
  Info URL   = http://www.w3.org/MarkUp/html-spec/
  PubID      = -//IETF//DTD HTML 2.0//EN
  Parse Mode = SGML
  <Types>
    Allowed   = text/html
    Forbidden = application/xhtml+xml
    Preferred = text/html
  </Types>
  <Badge>
#    URI    = http://validator.w3.org/images/vh20
    URI    = HOMEPAGE/images/vh20
  </Badge>
</HTML_2_0>

<HTML_2_0_Level_2>
  Name       = html
  Display    = HTML 2.0 Level 2
  Info URL   = http://www.w3.org/MarkUp/html-spec/
  PubID      = -//IETF//DTD HTML 2.0 Level 2//EN
  Parse Mode = SGML
  <Types>
    Allowed   = text/html
    Forbidden = application/xhtml+xml
    Preferred = text/html
  </Types>
  <Badge>
#    URI    = http://validator.w3.org/images/vh20
    URI    = HOMEPAGE/images/vh20
  </Badge>
</HTML_2_0_Level_2>

<HTML_2_0_Strict>
  Name       = html
  Display    = HTML 2.0 Strict
  Info URL   = http://www.w3.org/MarkUp/html-spec/
  PubID      = -//IETF//DTD HTML 2.0 Strict//EN
  Parse Mode = SGML
  <Types>
    Allowed   = text/html
    Forbidden = application/xhtml+xml
    Preferred = text/html
  </Types>
  <Badge>
#    URI    = http://validator.w3.org/images/vh20
      URI    = HOMEPAGE/images/vh20
  </Badge>  
</HTML_2_0_Strict>

<HTML_2_0_Level_1>
  Name       = html
  Display    = HTML 2.0 Level 1
  Info URL   = http://www.w3.org/MarkUp/html-spec/
  PubID      = -//IETF//DTD HTML 2.0 Level 1//EN
  Parse Mode = SGML
  <Types>
    Allowed   = text/html
    Forbidden = application/xhtml+xml
    Preferred = text/html
  </Types>
  <Badge>
#    URI    = http://validator.w3.org/images/vh20
    URI    = HOMEPAGE/images/vh20
  </Badge>
</HTML_2_0_Level_1>

<HTML_2_0_Strict_Level_1>
  Name       = html
  Display    = HTML 2.0 Strict Level 1
  Info URL   = http://www.w3.org/MarkUp/html-spec/
  PubID      = -//IETF//DTD HTML 2.0 Strict Level 1//EN
  Parse Mode = SGML
  <Types>
    Allowed   = text/html
    Forbidden = application/xhtml+xml
    Preferred = text/html
  </Types>
  <Badge>
#    URI    = http://validator.w3.org/images/vh20
    URI    = HOMEPAGE/images/vh20
  </Badge>
</HTML_2_0_Strict_Level_1>


#
# HTML 3.2.
<HTML_3_2>
  Name       = html
  Display    = HTML 3.2
  Info URL   = http://www.w3.org/TR/REC-html32
  PubID      = -//W3C//DTD HTML 3.2 Final//EN
  Parse Mode = SGML
  <Types>
    Allowed   = text/html
    Forbidden = application/xhtml+xml
    Preferred = text/html
  </Types>
  <Badge>
#    URI    = http://www.w3.org/Icons/valid-html32
    URI    = HOMEPAGE/images/vh32
    Height = 31
    Width  = 88
  </Badge>
</HTML_3_2>

#
# More "current" document types:
# HTML 4.0, HTML 4.01, XHTML 1.0, XHTML 1.1, XHTML Basic.
# (The three first in "Strict", "Transitional", and "Frameset" variants)
<HTML_4_0_Strict>
  Name       = html
  Display    = HTML 4.0 Strict
  Info URL   = http://www.w3.org/TR/1998/REC-html40-19980424/
  PubID      = -//W3C//DTD HTML 4.0//EN
  SysID      = http://www.w3.org/TR/1998/REC-html40-19980424/strict.dtd
  Parse Mode = SGML
  <Types>
    Allowed   = text/html
    Forbidden = application/xhtml+xml
    Preferred = text/html
  </Types>
  <Badge>
#    URI    = http://www.w3.org/Icons/valid-html40
    URI    = HOMEPAGE/images/vh40
    Height = 31
    Width  = 88
    Alt    = Valid HTML 4.0 Strict
  </Badge>
</HTML_4_0_Strict>

<HTML_4_0_Transitional>
  Name       = html
  Display    = HTML 4.0 Transitional
  Info URL   = http://www.w3.org/TR/1998/REC-html40-19980424/
  PubID      = -//W3C//DTD HTML 4.0 Transitional//EN
  SysID      = http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd
  Parse Mode = SGML
  <Types>
    Allowed   = text/html
    Forbidden = application/xhtml+xml
    Preferred = text/html
  </Types>
  <Badge>
#    URI    = http://www.w3.org/Icons/valid-html40
    URI    = HOMEPAGE/images/vh40
    Height = 31
    Width  = 88
    Alt    = Valid HTML 4.0 Transitional
  </Badge>
</HTML_4_0_Transitional>

<HTML_4_0_Frameset>
  Name       = html
  Display    = HTML 4.0 Frameset
  Info URL   = http://www.w3.org/TR/1998/REC-html40-19980424/
  PubID      = -//W3C//DTD HTML 4.0 Frameset//EN
  SysID      = http://www.w3.org/TR/1998/REC-html40-19980424/frameset.dtd
  Parse Mode = SGML
  <Types>
    Allowed   = text/html
    Forbidden = application/xhtml+xml
    Preferred = text/html
  </Types>
  <Badge>
#    URI    = http://www.w3.org/Icons/valid-html40
    URI    = HOMEPAGE/images/vh40
    Height = 31
    Width  = 88
    Alt    = Valid HTML 4.0 Frameset
  </Badge>
</HTML_4_0_Frameset>

<HTML_4_01_Strict>
  Name       = html
  Display    = HTML 4.01 Strict
  Info URL   = http://www.w3.org/TR/1999/REC-html401-19991224/
  PubID      = -//W3C//DTD HTML 4.01//EN
  SysID      = http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd
  Parse Mode = SGML
  <Types>
    Allowed   = text/html
    Forbidden = application/xhtml+xml
    Preferred = text/html
  </Types>
  <Badge>
#    URI    = http://www.w3.org/Icons/valid-html401
    URI    = HOMEPAGE/images/vh401
    Height = 31
    Width  = 88
    Alt    = Valid HTML 4.01 Strict
  </Badge>
</HTML_4_01_Strict>

<HTML_4_01_Transitional>
  Name       = html
  Display    = HTML 4.01 Transitional
  Info URL   = http://www.w3.org/TR/1999/REC-html401-19991224/
  PubID      = -//W3C//DTD HTML 4.01 Transitional//EN
  SysID      = http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd
  Parse Mode = SGML
  <Types>
    Allowed   = text/html
    Forbidden = application/xhtml+xml
    Preferred = text/html
  </Types>
  <Badge>
#    URI    = http://www.w3.org/Icons/valid-html401
    URI    = HOMEPAGE/images/vh401
    Height = 31
    Width  = 88
    Alt    = Valid HTML 4.01 Transitional
  </Badge>
</HTML_4_01_Transitional>

<HTML_4_01_Frameset>
  Name       = html
  Display    = HTML 4.01 Frameset
  Info URL   = http://www.w3.org/TR/1999/REC-html401-19991224/
  PubID      = -//W3C//DTD HTML 4.01 Frameset//EN
  SysID      = http://www.w3.org/TR/1999/REC-html401-19991224/frameset.dtd
  Parse Mode = SGML
  <Types>
    Allowed   = text/html
    Forbidden = application/xhtml+xml
    Preferred = text/html
  </Types>
  <Badge>
#    URI    = http://www.w3.org/Icons/valid-html401
    URI    = HOMEPAGE/images/vh401
    Height = 31
    Width  = 88
    Alt    = Valid HTML 4.01 Frameset
  </Badge>
</HTML_4_01_Frameset>

<XHTML_1_0_Strict>
  Name       = html
  Display    = XHTML 1.0 Strict
  Info URL   = http://www.w3.org/TR/xhtml1/
  PubID      = -//W3C//DTD XHTML 1.0 Strict//EN
  SysID      = http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-strict.dtd
  Namespace  = http://www.w3.org/1999/xhtml
  Parse Mode = XML
  <Types>
    Allowed   = text/html
    Allowed   = application/xhtml+xml
    Preferred = application/xhtml+xml
  </Types>
  <Badge>
#    URI    = http://www.w3.org/Icons/valid-xhtml10
    URI    = HOMEPAGE/images/vxhtml10
    Height = 31
    Width  = 88
    Alt    = Valid XHTML 1.0 Strict
  </Badge>
</XHTML_1_0_Strict>

<XHTML_1_0_Transitional>
  Name       = html
  Display    = XHTML 1.0 Transitional
  Info URL   = http://www.w3.org/TR/xhtml1/
  PubID      = -//W3C//DTD XHTML 1.0 Transitional//EN
  SysID      = http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-transitional.dtd
  Namespace  = http://www.w3.org/1999/xhtml
  Parse Mode = XML
  <Types>
    Allowed   = text/html
    Allowed   = application/xhtml+xml
    Preferred = application/xhtml+xml
  </Types>
  <Badge>
#    URI    = http://www.w3.org/Icons/valid-xhtml10
    URI    = HOMEPAGE/images/vxhtml10
    Height = 31
    Width  = 88
    Alt    = Valid XHTML 1.0 Transitional
  </Badge>
</XHTML_1_0_Transitional>

<XHTML_1_0_Frameset>
  Name       = html
  Display    = XHTML 1.0 Frameset
  Info URL   = http://www.w3.org/TR/xhtml1/
  PubID      = -//W3C//DTD XHTML 1.0 Frameset//EN
  SysID      = http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-frameset.dtd
  Namespace  = http://www.w3.org/1999/xhtml
  Parse Mode = XML
  <Types>
    Allowed   = text/html
    Allowed   = application/xhtml+xml
    Preferred = application/xhtml+xml
  </Types>
  <Badge>
#    URI    = http://www.w3.org/Icons/valid-xhtml10
    URI    = HOMEPAGE/images/vxhtml10
    Height = 31
    Width  = 88
    Alt    = Valid XHTML 1.0 Frameset
  </Badge>
</XHTML_1_0_Frameset>

<XHTML_Basic_1_0>
  Name       = html
  Display    = XHTML Basic 1.0
  Info URL   = http://www.w3.org/TR/xhtml-basic/
  PubID      = -//W3C//DTD XHTML Basic 1.0//EN
  SysID      = http://www.w3.org/TR/2000/REC-xhtml-basic-20001219/xhtml-basic10.dtd
  Namespace  = http://www.w3.org/1999/xhtml
  Parse Mode = XML
  <Types>
    Allowed   = text/html
    Allowed   = application/xhtml+xml
    Preferred = application/xhtml+xml
  </Types>
  <Badge>
#    URI    = http://validator.w3.org/images/vxhtml-basic10
    URI    = HOMEPAGE/images/vxhtml-basic10
    Height = 31
    Width  = 88
    Alt    = Valid XHTML Basic 1.0
  </Badge>
</XHTML_Basic_1_0>


<XHTML-Print_1_0>
  Name       = html
  Display    = XHTML-Print 1.0
  Info URL   = http://www.w3.org/TR/xhtml-print/
  PubID      = -//W3C//DTD XHTML-Print 1.0//EN
  SysID      = http://www.w3.org/MarkUp/DTD/xhtml-print10.dtd
  Namespace  = http://www.w3.org/1999/xhtml
  Parse Mode = XML
  <Types>
    Allowed   = application/xhtml+xml
  </Types>
</XHTML-Print_1_0>

<XHTML_1_1>
  Name       = html
  Display    = XHTML 1.1
  Info URL   = http://www.w3.org/TR/xhtml11/
  PubID      = -//W3C//DTD XHTML 1.1//EN
  SysID      = http://www.w3.org/TR/2001/REC-xhtml11-20010531/DTD/xhtml11-flat.dtd
  Namespace  = http://www.w3.org/1999/xhtml
  Parse Mode = XML
  <Types>
    Allowed   = application/xhtml+xml
    Forbidden = text/html
    Preferred = application/xhtml+xml
  </Types>
  <Badge>
#    URI    = http://www.w3.org/Icons/valid-xhtml11
    URI    = HOMEPAGE/images/vxhtml11
    Height = 31
    Width  = 88
    Alt    = Valid XHTML 1.1
  </Badge>
</XHTML_1_1>

<ISO_IEC_15445_2000>
  Name       = html
  Display    = ISO/IEC 15445:2000 ("ISO HTML")
  Info URL   = http://purl.org/NET/ISO+IEC.15445/15445.html
  PubID      = ISO/IEC 15445:2000//DTD HTML//EN
  Parse Mode = SGML
  <Types>
    Allowed   = text/html
    Forbidden = application/xhtml+xml
    Preferred = text/html
  </Types>
  <Badge>
#    URI    = http://validator.w3.org/images/v15445
    URI    = HOMEPAGE/images/v15445
    Alt    = Valid ISO/IEC 15445:2000
  </Badge>
</ISO_IEC_15445_2000>

<ISO_IEC_15445_2000_MARKUP>
  Name       = html
  Display    = ISO/IEC 15445:2000 ("ISO HTML")
  Info URL   = http://purl.org/NET/ISO+IEC.15445/15445.html
  PubID      = ISO/IEC 15445:2000//DTD HyperText Markup Language//EN
  Parse Mode = SGML
  <Types>
    Allowed   = text/html
    Forbidden = application/xhtml+xml
    Preferred = text/html
  </Types>
  <Badge>
#    URI    = http://validator.w3.org/images/v15445
    URI    = HOMEPAGE/images/v15445
    Alt    = Valid ISO/IEC 15445:2000
  </Badge>
</ISO_IEC_15445_2000_MARKUP>

# MathML 2 and other MathML-friendly XHTML Host languages

<MathML_2>
  Name       = math
  Display    = MathML 2.0
  Info URL   = http://www.w3.org/TR/MathML2/
  PubID      = -//W3C//DTD MathML 2.0//EN
  SysID      = http://www.w3.org/Math/DTD/mathml2/mathml2.dtd
  Namespace  = http://www.w3.org/1998/Math/MathML
  Parse Mode = XML
  <Types>
    Allowed   = application/mathml+xml
    Forbidden = application/xhtml+xml
    Forbidden = text/html
    Preferred = application/mathml+xml
  </Types>
</MathML_2>

<XHTML_1.1_MathML_2>
  Name       = html
  Display    = XHTML 1.1 plus MathML 2.0
  Info URL   = http://www.w3.org/TR/MathML2/
  PubID      = -//W3C//DTD XHTML 1.1 plus MathML 2.0//EN
  SysID      = http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd
  Namespace  = http://www.w3.org/1999/xhtml
  Parse Mode = XML
  <Types>
    Allowed   = application/xhtml+xml
    Allowed   = application/xml
    Allowed   = text/xml
    Forbidden = text/html
    Preferred = application/xhtml+xml
  </Types>
</XHTML_1.1_MathML_2>

<XHTML_1.1_MathML_2_SVG_1.1>
  Name       = html
  Display    = XHTML 1.1 plus MathML 2.0 plus SVG 1.1
  Info URL   = http://www.w3.org/TR/XHTMLplusMathMLplusSVG/
  PubID      = -//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN
  SysID      = http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd
  Namespace  = http://www.w3.org/1999/xhtml
  Parse Mode = XML
  <Types>
    Allowed   = application/xhtml+xml
    Allowed   = application/xml
    Allowed   = text/xml
    Forbidden = text/html
    Preferred = application/xhtml+xml
  </Types>
</XHTML_1.1_MathML_2_SVG_1.1>

<SVG_1_0>
  Name       = svg
  Display    = SVG 1.0
  Info URL   = http://www.w3.org/TR/2001/REC-SVG-20010904/
  PubID      = -//W3C//DTD SVG 1.0//EN
  SysID      = http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd
  Namespace  = http://www.w3.org/2000/svg
  Parse Mode = XML
  <Types>
    Allowed   = image/svg+xml
    Forbidden = text/html
    Preferred = image/svg+xml
  </Types>
  <Badge>
    URI    = http://www.w3.org/Icons/valid-svg10
    Alt    = Valid SVG 1.0
  </Badge>
</SVG_1_0>

<SVG_1_1>
  Name       = svg
  Display    = SVG 1.1
  Info URL   = http://www.w3.org/TR/2003/REC-SVG11-20030114/
  PubID      = -//W3C//DTD SVG 1.1//EN
  SysID      = http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd
  Namespace  = http://www.w3.org/2000/svg
  Parse Mode = XML
  <Types>
    Allowed   = image/svg+xml
    Forbidden = text/html
    Preferred = image/svg+xml
  </Types>
  <Badge>
    URI    = http://www.w3.org/Icons/valid-svg11
    Alt    = Valid SVG 1.1
  </Badge>
</SVG_1_1>

<SVG_1_1_Tiny>
  Name       = svg
  Display    = SVG 1.1 Tiny
  Info URL   = http://www.w3.org/TR/2003/REC-SVGMobile-20030114/
  PubID      = -//W3C//DTD SVG 1.1 Tiny//EN
  SysID      = http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd
  Namespace  = http://www.w3.org/2000/svg
  Parse Mode = XML
  <Types>
    Allowed   = image/svg+xml
    Forbidden = text/html
    Preferred = image/svg+xml
  </Types>
  <Badge>
    URI    = http://www.w3.org/Icons/valid-svgtiny11
    Alt    = Valid SVG 1.1 Tiny
  </Badge>
</SVG_1_1_Tiny>

<SVG_1_1_Basic>
  Name       = svg
  Display    = SVG 1.1 Basic
  Info URL   = http://www.w3.org/TR/2003/REC-SVGMobile-20030114/
  PubID      = -//W3C//DTD SVG 1.1 Basic//EN
  SysID      = http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd
  Namespace  = http://www.w3.org/2000/svg
  Parse Mode = XML
  <Types>
    Allowed   = image/svg+xml
    Forbidden = text/html
    Preferred = image/svg+xml
  </Types>
</SVG_1_1_Basic>

<SMIL_1_0>
  Name       = smil
  Display    = SMIL 1.0
  Info URL   = http://www.w3.org/TR/REC-smil/
  PubID      = -//W3C//DTD SMIL 1.0//EN
  SysID      = http://www.w3.org/TR/REC-smil/SMIL10.dtd
  Parse Mode = XML
  <Types>
    Allowed   = application/smil+xml
    Forbidden = text/html
    Preferred = application/smil+xml
  </Types>
</SMIL_1_0>

<SMIL_2_0>
  Name       = smil
  Display    = SMIL 2.0
  Info URL   = http://www.w3.org/TR/2005/REC-SMIL2-20050107/
  PubID      = -//W3C//DTD SMIL 2.0//EN
  SysID      = http://www.w3.org/2001/SMIL20/SMIL20.dtd
  Parse Mode = XML
  <Types>
    Allowed   = application/smil+xml
    Forbidden = text/html
    Preferred = application/smil+xml
  </Types>
</SMIL_2_0>