/[suikacvs]/markup/html/whatpm/t/xml/eldecls-1.dat
Suika

Contents of /markup/html/whatpm/t/xml/eldecls-1.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sun Oct 19 13:43:56 2008 UTC (16 years ago) by wakaba
Branch: MAIN
Changes since 1.1: +12 -0 lines
++ whatpm/t/xml/ChangeLog	19 Oct 2008 13:43:45 -0000
	* attlists-1.dat: Test results updated.  New tests on empty
	attlist declaration and duplications are added.

	* doctypes-2.dat: Test results updated.

	* eldecls-1.dat, entities-2.dat, notations-1.dat: New tests on
	duplications are added.

	* entities-1.dat: New tests on duplications and predefined
	entities are added.

2008-10-19  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/HTML/ChangeLog	19 Oct 2008 13:40:35 -0000
	* Tokenizer.pm.src: Column number counting fixed.

2008-10-19  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/XML/ChangeLog	19 Oct 2008 13:41:50 -0000
	* Parser.pm.src: Raise a parse error or warning for
	declaration/definition duplications.  Raise a warning for an empty
	attlist declaration.  Raise a error for an ill-declared predefined
	entity.

2008-10-19  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.1 #data
2     <!DOCTYPE a[
3     <!ELEMENT b ANY>
4     ]><a/>
5     #errors
6     #document
7     | <!DOCTYPE a>
8     | <!ELEMENT b ANY>
9     | <{} a>
10    
11     #data
12     <!DOCTYPE a[
13     <!ELEMENT b EMPTY>
14     ]><a/>
15     #errors
16     #document
17     | <!DOCTYPE a>
18     | <!ELEMENT b EMPTY>
19     | <{} a>
20    
21     #data
22     <!DOCTYPE a[
23     <!ELEMENT b amny>
24     ]><a/>
25     #errors
26     #document
27     | <!DOCTYPE a>
28     | <!ELEMENT b amny>
29     | <{} a>
30    
31     #data
32     <!DOCTYPE a[
33     <!ELEMENT b em>
34     ]><a/>
35     #errors
36     #document
37     | <!DOCTYPE a>
38     | <!ELEMENT b em>
39     | <{} a>
40    
41     #data
42     <!DOCTYPE a[
43     <!ELEMENT b ANY >
44     ]><a/>
45     #errors
46     #document
47     | <!DOCTYPE a>
48     | <!ELEMENT b ANY>
49     | <{} a>
50    
51     #data
52     <!DOCTYPE a[
53     <!ELEMENT b ANY*>
54     ]><a/>
55     #errors
56     #document
57     | <!DOCTYPE a>
58     | <!ELEMENT b ANY*>
59     | <{} a>
60    
61     #data
62     <!DOCTYPE a[
63     <!ELEMENT b ()>
64     ]><a/>
65     #errors
66     2;14;empty element name;;;m
67     #document
68     | <!DOCTYPE a>
69     | <!ELEMENT b ()>
70     | <{} a>
71    
72     #data
73     <!DOCTYPE a[
74     <!ELEMENT b ()+>
75     ]><a/>
76     #errors
77     2;14;empty element name;;;m
78     #document
79     | <!DOCTYPE a>
80     | <!ELEMENT b ()+>
81     | <{} a>
82    
83     #data
84     <!DOCTYPE a[
85     <!ELEMENT b ()*>
86     ]><a/>
87     #errors
88     2;14;empty element name;;;m
89     #document
90     | <!DOCTYPE a>
91     | <!ELEMENT b ()*>
92     | <{} a>
93    
94     #data
95     <!DOCTYPE a[
96     <!ELEMENT b ()?>
97     ]><a/>
98     #errors
99     2;14;empty element name;;;m
100     #document
101     | <!DOCTYPE a>
102     | <!ELEMENT b ()?>
103     | <{} a>
104    
105     #data
106     <!DOCTYPE a[
107     <!ELEMENT b (x)>
108     ]><a/>
109     #errors
110     #document
111     | <!DOCTYPE a>
112     | <!ELEMENT b (x)>
113     | <{} a>
114    
115     #data
116     <!DOCTYPE a[
117     <!ELEMENT b (x,y ) >
118     ]><a/>
119     #errors
120     #document
121     | <!DOCTYPE a>
122     | <!ELEMENT b (x, y)>
123     | <{} a>
124    
125     #data
126     <!DOCTYPE a[
127     <!ELEMENT b ( zzz | rrr )>
128     ]><a/>
129     #errors
130     #document
131     | <!DOCTYPE a>
132     | <!ELEMENT b (zzz | rrr)>
133     | <{} a>
134    
135     #data
136     <!DOCTYPE a[
137     <!ELEMENT b (x)y>
138     ]><a/>
139     #errors
140     2;16;string after md def;;;m
141     #document
142     | <!DOCTYPE a>
143     | <!ELEMENT b (x)>
144     | <{} a>
145    
146     #data
147     <!DOCTYPE a[
148     <!ELEMENT b (x))>
149     ]><a/>
150     #errors
151     2;16;string after md def;;;m
152     #document
153     | <!DOCTYPE a>
154     | <!ELEMENT b (x)>
155     | <{} a>
156    
157     #data
158     <!DOCTYPE a[
159     <!ELEMENT b (x) )>
160     ]><a/>
161     #errors
162     2;17;string after md def;;;m
163     #document
164     | <!DOCTYPE a>
165     | <!ELEMENT b (x)>
166     | <{} a>
167    
168     #data
169     <!DOCTYPE a[
170     <!ELEMENT b (x)+y>
171     ]><a/>
172     #errors
173     2;17;string after md def;;;m
174     #document
175     | <!DOCTYPE a>
176     | <!ELEMENT b (x)+>
177     | <{} a>
178    
179     #data
180     <!DOCTYPE a[
181     <!ELEMENT b ((x))>
182     ]><a/>
183     #errors
184     #document
185     | <!DOCTYPE a>
186     | <!ELEMENT b ((x))>
187     | <{} a>
188    
189     #data
190     <!DOCTYPE a[
191     <!ELEMENT b ( (x) )>
192     ]><a/>
193     #errors
194     #document
195     | <!DOCTYPE a>
196     | <!ELEMENT b ((x))>
197     | <{} a>
198    
199     #data
200     <!DOCTYPE a[
201     <!ELEMENT b (x+)>
202     ]><a/>
203     #errors
204     #document
205     | <!DOCTYPE a>
206     | <!ELEMENT b (x+)>
207     | <{} a>
208    
209     #data
210     <!DOCTYPE a[
211     <!ELEMENT b (x?,x*)>
212     ]><a/>
213     #errors
214     #document
215     | <!DOCTYPE a>
216     | <!ELEMENT b (x?, x*)>
217     | <{} a>
218    
219     #data
220     <!DOCTYPE a[
221     <!ELEMENT b (x, (y)*)>
222     ]><a/>
223     #errors
224     #document
225     | <!DOCTYPE a>
226     | <!ELEMENT b (x, (y)*)>
227     | <{} a>
228    
229     #data
230     <!DOCTYPE a[
231     <!ELEMENT b (#PCDATA | zz | aa)>
232     ]><a/>
233     #errors
234     #document
235     | <!DOCTYPE a>
236     | <!ELEMENT b (#PCDATA | zz | aa)>
237     | <{} a>
238    
239     #data
240     <!DOCTYPE a[
241     <!ELEMENT b (#PCDATA | #PCDATA , a)>
242     ]><a/>
243     #errors
244     #document
245     | <!DOCTYPE a>
246     | <!ELEMENT b (#PCDATA | #PCDATA, a)>
247     | <{} a>
248    
249     #data
250     <!DOCTYPE a[
251     <!ELEMENT b (#PCDATA)*>
252     ]><a/>
253     #errors
254     #document
255     | <!DOCTYPE a>
256     | <!ELEMENT b (#PCDATA)*>
257     | <{} a>
258    
259     #data
260     <!DOCTYPE a[
261     <!ELEMENT b ((((a,b>
262     ]><a/>
263     #errors
264     2;20;unclosed cm group;;;m
265     #document
266     | <!DOCTYPE a>
267     | <!ELEMENT b ((((a, b))))>
268     | <{} a>
269    
270     #data
271     <!DOCTYPE a[
272     <!ELEMENT b (x y)*>
273     ]><a/>
274     #errors
275     2;16;after element name;;;m
276     #document
277     | <!DOCTYPE a>
278     | <!ELEMENT b (x)>
279     | <{} a>
280 wakaba 1.2
281     #data
282     <!DOCTYPE a[
283     <!ELEMENT b EMPTY>
284     <!ELEMENT b ANY>
285     ]><a/>
286     #errors
287     3;1;duplicate element decl;;b;m
288     #document
289     | <!DOCTYPE a>
290     | <!ELEMENT b EMPTY>
291     | <{} a>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24