/[suikacvs]/markup/html/whatpm/t/content-model-3.dat
Suika

Contents of /markup/html/whatpm/t/content-model-3.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Nov 25 08:04:21 2007 UTC (18 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.4: +19 -19 lines
++ whatpm/t/ChangeLog	25 Nov 2007 07:57:28 -0000
2007-11-25  Wakaba  <wakaba@suika.fam.cx>

	* content-model-1.dat, content-model-2.dat, content-model-3.dat,
	content-model-4.dat, table-1.dat: Test data are updated
	for the significant content check.

	* content-model-5.dat: New test data.

	* ContentChecker.t: New test data file is added.

++ whatpm/Whatpm/ChangeLog	25 Nov 2007 07:59:33 -0000
	* ContentChecker.pm ($AnyChecker): Old way to add child elements
	for checking had been used.

2007-11-25  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ContentChecker/ChangeLog	25 Nov 2007 08:00:46 -0000
	* HTML.pm: Support for checking for significant content (HTML5
	revision 1114).  Note that the current implementation has
	an issue on treatment for transparent or semi-transparent
	elements.

	* Atom.pm: Support for significant content checking (for composed
	HTML-Atom documents).

2007-11-25  Wakaba  <wakaba@suika.fam.cx>

1 #data
2 <p xml:space="default" xmlns="http://www.w3.org/1999/xhtml">x</p>
3 #errors
4
5 #data
6 <p xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">x</p>
7 #errors
8
9 #data
10 <p xml:space=" default" xmlns="http://www.w3.org/1999/xhtml">x</p>
11 #errors
12 /p/@space;invalid attribute value;error
13
14 #data
15 <p xml:space="DEfault" xmlns="http://www.w3.org/1999/xhtml">x</p>
16 #errors
17 /p/@space;invalid attribute value;error
18
19 #data
20 <p xml:space="normal" xmlns="http://www.w3.org/1999/xhtml">x</p>
21 #errors
22 /p/@space;invalid attribute value;error
23
24 #data
25 <p xml:lang="" xmlns="http://www.w3.org/1999/xhtml">x</p>
26 #errors
27
28 #data
29 <p xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">x</p>
30 #errors
31
32 #data
33 <p xml:lang="ja-JP" xmlns="http://www.w3.org/1999/xhtml">x</p>
34 #errors
35
36 #data
37 <p xmlns:xml="http://www.w3.org/XML/1998/namespace"
38 xmlns="http://www.w3.org/1999/xhtml">x</p>
39 #errors
40
41 #data
42 <p xmlns:a="http://www.example.org/"
43 xmlns="http://www.w3.org/1999/xhtml">x</p>
44 #errors
45
46 #data
47 <xmlns:a/>
48 #errors
49 /a;Reserved Prefixes and Namespace Names:<xmlns:>;NC
50 /a;element;unsupported
51
52 #data
53 <xmlns/>
54 #errors
55 /xmlns;element;unsupported
56
57 #data
58 <p xmlns="http://www.w3.org/1999/xhtml" xml:base="">x</p>
59 #errors
60
61 #data
62 <p xmlns="http://www.w3.org/1999/xhtml" xml:base="http://test/">x</p>
63 #errors
64
65 #data
66 <p xmlns="http://www.w3.org/1999/xhtml" xml:base="test">x</p>
67 #errors
68
69 #data
70 <p xmlns="http://www.w3.org/1999/xhtml" xml:base="&#x4E00;">x</p>
71 #errors
72
73 #data
74 <p xmlns="http://www.w3.org/1999/xhtml" xml:id="aa">x</p>
75 #errors
76
77 #data
78 <p xmlns="http://www.w3.org/1999/xhtml" xml:id="aa" id="bb">x</p>
79 #errors
80
81 #data
82 <p xmlns="http://www.w3.org/1999/xhtml" xml:id="aa">
83 <span id="bb">x</span>
84 </p>
85 #errors
86
87 #data
88 <p xmlns="http://www.w3.org/1999/xhtml" xml:id="aa">
89 <span id="aa">x</span>
90 </p>
91 #errors
92 /p/span/@id;duplicate ID
93
94 #data
95 <p xmlns="http://www.w3.org/1999/xhtml" id="aa">
96 <span xml:id="aa">x</span>
97 </p>
98 #errors
99 /p/span/@id;duplicate ID;error
100

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24