swc_html_parser/parser/
doctypes.rs1pub static LIMITED_QUIRKY_PUBLIC_PREFIXES: &[&str] = &[
2 "-//w3c//dtd xhtml 1.0 frameset//",
3 "-//w3c//dtd xhtml 1.0 transitional//",
4];
5
6pub static HTML4_PUBLIC_PREFIXES: &[&str] = &[
7 "-//w3c//dtd html 4.01 frameset//",
8 "-//w3c//dtd html 4.01 transitional//",
9];
10
11pub static QUIRKY_PUBLIC_PREFIXES: &[&str] = &[
12 "-//advasoft ltd//dtd html 3.0 aswedit + extensions//",
13 "-//as//dtd html 3.0 aswedit + extensions//",
14 "-//ietf//dtd html 2.0 level 1//",
15 "-//ietf//dtd html 2.0 level 2//",
16 "-//ietf//dtd html 2.0 strict level 1//",
17 "-//ietf//dtd html 2.0 strict level 2//",
18 "-//ietf//dtd html 2.0 strict//",
19 "-//ietf//dtd html 2.0//",
20 "-//ietf//dtd html 2.1e//",
21 "-//ietf//dtd html 3.0//",
22 "-//ietf//dtd html 3.2 final//",
23 "-//ietf//dtd html 3.2//",
24 "-//ietf//dtd html 3//",
25 "-//ietf//dtd html level 0//",
26 "-//ietf//dtd html level 1//",
27 "-//ietf//dtd html level 2//",
28 "-//ietf//dtd html level 3//",
29 "-//ietf//dtd html strict level 0//",
30 "-//ietf//dtd html strict level 1//",
31 "-//ietf//dtd html strict level 2//",
32 "-//ietf//dtd html strict level 3//",
33 "-//ietf//dtd html strict//",
34 "-//ietf//dtd html//",
35 "-//metrius//dtd metrius presentational//",
36 "-//microsoft//dtd internet explorer 2.0 html strict//",
37 "-//microsoft//dtd internet explorer 2.0 html//",
38 "-//microsoft//dtd internet explorer 2.0 tables//",
39 "-//microsoft//dtd internet explorer 3.0 html strict//",
40 "-//microsoft//dtd internet explorer 3.0 html//",
41 "-//microsoft//dtd internet explorer 3.0 tables//",
42 "-//netscape comm. corp.//dtd html//",
43 "-//netscape comm. corp.//dtd strict html//",
44 "-//o'reilly and associates//dtd html 2.0//",
45 "-//o'reilly and associates//dtd html extended 1.0//",
46 "-//o'reilly and associates//dtd html extended relaxed 1.0//",
47 "-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//",
48 "-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//",
49 "-//spyglass//dtd html 2.0 extended//",
50 "-//sq//dtd html 2.0 hotmetal + extensions//",
51 "-//sun microsystems corp.//dtd hotjava html//",
52 "-//sun microsystems corp.//dtd hotjava strict html//",
53 "-//w3c//dtd html 3 1995-03-24//",
54 "-//w3c//dtd html 3.2 draft//",
55 "-//w3c//dtd html 3.2 final//",
56 "-//w3c//dtd html 3.2//",
57 "-//w3c//dtd html 3.2s draft//",
58 "-//w3c//dtd html 4.0 frameset//",
59 "-//w3c//dtd html 4.0 transitional//",
60 "-//w3c//dtd html experimental 19960712//",
61 "-//w3c//dtd html experimental 970421//",
62 "-//w3c//dtd w3 html//",
63 "-//w3o//dtd w3 html 3.0//",
64 "-//webtechs//dtd mozilla html 2.0//",
65 "-//webtechs//dtd mozilla html//",
66];
67
68pub static QUIRKY_PUBLIC_MATCHES: &[&str] = &[
69 "-//w3o//dtd w3 html strict 3.0//en//",
70 "-/w3c/dtd html 4.0 transitional/en",
71 "html",
72];
73
74pub static QUIRKY_SYSTEM_MATCHES: &[&str] =
75 &["http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"];