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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sun Nov 25 08:04:21 2007 UTC (18 years, 9 months ago) by wakaba
Branch: MAIN
++ 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 wakaba 1.1 #data
2     <p xmlns="http://www.w3.org/1999/xhtml"></p>
3     #errors
4     /p;no significant content;s
5    
6     #data
7     <p xmlns="http://www.w3.org/1999/xhtml"> </p>
8     #errors
9     /p;no significant content;s
10    
11     #data
12     <p xmlns="http://www.w3.org/1999/xhtml">&#x09;</p>
13     #errors
14     /p;no significant content;s
15    
16     #data
17     <p xmlns="http://www.w3.org/1999/xhtml"><![CDATA[]]></p>
18     #errors
19     /p;no significant content;s
20    
21     #data
22     <p xmlns="http://www.w3.org/1999/xhtml"><![CDATA[ ]]></p>
23     #errors
24     /p;no significant content;s
25    
26     #data
27     <p xmlns="http://www.w3.org/1999/xhtml"> a</p>
28     #errors
29    
30     #data
31     <p xmlns="http://www.w3.org/1999/xhtml">bb</p>
32     #errors
33    
34     #data
35     <p xmlns="http://www.w3.org/1999/xhtml"><!---->a</p>
36     #errors
37    
38     #data
39     <p xmlns="http://www.w3.org/1999/xhtml"><i>a</i></p>
40     #errors
41    
42     #data
43     <p xmlns="http://www.w3.org/1999/xhtml"><?a?>b</p>
44     #errors
45    
46     #data
47     <p xmlns="http://www.w3.org/1999/xhtml"><img src="" alt="a"/></p>
48     #errors
49    
50     #data
51     <p xmlns="http://www.w3.org/1999/xhtml"><del>a</del></p>
52     #errors
53     /p;no significant content;s
54    
55     #data
56     <p xmlns="http://www.w3.org/1999/xhtml">b<del>a</del></p>
57     #errors
58    
59     #data
60     <p xmlns="http://www.w3.org/1999/xhtml"><del>a</del>a</p>
61     #errors
62    
63     #data
64     <p xmlns="http://www.w3.org/1999/xhtml"><ins>a</ins></p>
65     #errors
66    
67     #data
68     <del xmlns="http://www.w3.org/1999/xhtml"></del>
69     #errors
70     /del;no significant content;s
71    
72     #data
73     <del xmlns="http://www.w3.org/1999/xhtml">a</del>
74     #errors
75    
76     #data
77     <title xmlns="http://www.w3.org/1999/xhtml"></title>
78     #errors
79     /title;no significant content;s
80    
81     #data
82     <title xmlns="http://www.w3.org/1999/xhtml">a</title>
83     #errors
84    
85     #data
86     <body xmlns="http://www.w3.org/1999/xhtml"></body>
87     #errors
88     /body;no significant content;s
89    
90     #data
91     <body xmlns="http://www.w3.org/1999/xhtml">a</body>
92     #errors
93     /body/"a";character not allowed
94    
95     #data
96     <div xmlns="http://www.w3.org/1999/xhtml"><p>a</p></div>
97     #errors
98    
99     #data
100     <div xmlns="http://www.w3.org/1999/xhtml">a<p></p></div>
101     #errors
102     /div/p;element not allowed
103     /div/p;no significant content;s
104    
105     #data
106     <div xmlns="http://www.w3.org/1999/xhtml"><p></p>a</div>
107     #errors
108     /div/p;element not allowed
109     /div/p;no significant content;s
110    
111     #data
112     <li xmlns="http://www.w3.org/1999/xhtml"><p>a</p></li>
113     #errors
114    
115     #data
116     <li xmlns="http://www.w3.org/1999/xhtml">a<p></p></li>
117     #errors
118     /li/p;element not allowed
119     /li/p;no significant content;s
120    
121     #data
122     <li xmlns="http://www.w3.org/1999/xhtml"><p></p>a</li>
123     #errors
124     /li/p;element not allowed
125     /li/p;no significant content;s
126    

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24