24
|
1 |
#
|
|
2 |
# Dictionary for XHTML/WML2.0
|
|
3 |
#
|
|
4 |
######################################################
|
|
5 |
#
|
|
6 |
# dictionary name
|
|
7 |
#
|
|
8 |
XHTML_1_0
|
|
9 |
#
|
|
10 |
# Public id for XHTML/WML 2.0 - ref: WAP-192-WBXML-20010725-a Section 7.2
|
|
11 |
# use 1 for "Unknown or missing public identifier"
|
|
12 |
# Note: this should probably be 0 for "String table index follows; public
|
|
13 |
# identifier is encoded as a literal in the string table" but dict_creator.c
|
|
14 |
# probably doesn't have this functionality
|
|
15 |
#
|
|
16 |
4
|
|
17 |
#
|
|
18 |
# Doc type for WML 2.0
|
|
19 |
#
|
|
20 |
-//WAPFORUM//DTD WML 2.0//EN
|
|
21 |
#
|
|
22 |
# Element Tags , code page 0
|
|
23 |
#
|
|
24 |
TAGS_FOR_CODE_PAGE 0
|
|
25 |
|
|
26 |
# Structural: HTML Elements Tags
|
|
27 |
|
|
28 |
0x05 body
|
|
29 |
0x06 head
|
|
30 |
0x07 html
|
|
31 |
0x08 title
|
|
32 |
0x09 frameset
|
|
33 |
0x0a noframes
|
|
34 |
0x0b noembed
|
|
35 |
0x0c script
|
|
36 |
0x0d noscript
|
|
37 |
|
|
38 |
|
|
39 |
#Table: HTML Element Tags
|
|
40 |
|
|
41 |
0x0e caption
|
|
42 |
0x0f table
|
|
43 |
0x10 td
|
|
44 |
0x11 th
|
|
45 |
0x12 tr
|
|
46 |
0x13 tbody
|
|
47 |
0x14 thead
|
|
48 |
0x15 tfoot
|
|
49 |
|
|
50 |
#Form: HTML Element Tags
|
|
51 |
|
|
52 |
0x16 form
|
|
53 |
0x17 input
|
|
54 |
0x18 label
|
|
55 |
0x19 select
|
|
56 |
0x1a option
|
|
57 |
0x1b optgroup
|
|
58 |
0x1c button
|
|
59 |
0x1d textarea
|
|
60 |
|
|
61 |
#Frame: HTML Element Tags
|
|
62 |
|
|
63 |
0x1e frame
|
|
64 |
|
|
65 |
#Style: HTML Element Tags
|
|
66 |
|
|
67 |
0x1f style
|
|
68 |
|
|
69 |
#Object: HTML Element Tags
|
|
70 |
|
|
71 |
0x20 object
|
|
72 |
0x21 embed
|
|
73 |
0x22 bgsound
|
|
74 |
|
|
75 |
#Meta: HTML Element Tags
|
|
76 |
|
|
77 |
0x23 meta
|
|
78 |
|
|
79 |
#Link: HTML Element Tags
|
|
80 |
|
|
81 |
0x24 link
|
|
82 |
|
|
83 |
#Image: HTML Element Tags
|
|
84 |
|
|
85 |
0x25 img
|
|
86 |
0x26 map
|
|
87 |
0x27 area
|
|
88 |
|
|
89 |
#HyperText: HTML Element Tags
|
|
90 |
|
|
91 |
0x28 a
|
|
92 |
|
|
93 |
#
|
|
94 |
|
|
95 |
#Text: HTML Element Tags Part-1
|
|
96 |
#As per WBXML spec. the max token number cab be
|
|
97 |
# 0x3F so additional token goes to code page -2
|
|
98 |
|
|
99 |
0x29 div
|
|
100 |
0x2a font
|
|
101 |
0x2b h1
|
|
102 |
0x2c h2
|
|
103 |
0x2d h3
|
|
104 |
0x2e h4
|
|
105 |
0x2f h5
|
|
106 |
0x30 hr
|
|
107 |
0x31 b
|
|
108 |
0x32 big
|
|
109 |
0x33 i
|
|
110 |
0x34 menu
|
|
111 |
0x35 span
|
|
112 |
0x36 p
|
|
113 |
0x37 center
|
|
114 |
0x38 dl
|
|
115 |
0x39 dt
|
|
116 |
0x3a dd
|
|
117 |
0x3b ul
|
|
118 |
0x3c ol
|
|
119 |
0x3d li
|
|
120 |
0x3e br
|
|
121 |
0x3f nobr
|
|
122 |
|
|
123 |
#
|
|
124 |
# Element Tags, code page 1
|
|
125 |
#
|
|
126 |
TAGS_FOR_CODE_PAGE 1
|
|
127 |
#Text: HTML Element Tags Part-2
|
|
128 |
|
|
129 |
|
|
130 |
0x05 h6
|
|
131 |
0x06 em
|
|
132 |
0x07 fieldset
|
|
133 |
0x08 marquee
|
|
134 |
0x09 dir
|
|
135 |
0x0a small
|
|
136 |
0x0b plaintext
|
|
137 |
0x0c pre
|
|
138 |
0x0d abbr
|
|
139 |
0x0e acronym
|
|
140 |
0x0f address
|
|
141 |
0x10 blockquote
|
|
142 |
0x11 blink
|
|
143 |
0x12 cite
|
|
144 |
0x13 code
|
|
145 |
0x14 dfn
|
|
146 |
0x15 u
|
|
147 |
0x16 kbd
|
|
148 |
0x17 q
|
|
149 |
0x18 samp
|
|
150 |
0x19 strong
|
|
151 |
0x1a var
|
|
152 |
0x1b tt
|
|
153 |
0x1c sub
|
|
154 |
0x1d sup
|
|
155 |
0x1e ins
|
|
156 |
0x1f del
|
|
157 |
0x20 strike
|
|
158 |
0x21 s
|
|
159 |
|
|
160 |
#Misc Tokens
|
|
161 |
|
|
162 |
0x22 param
|
|
163 |
|
|
164 |
#Base: HTML Element Tags
|
|
165 |
|
|
166 |
0x23 base
|
|
167 |
|
|
168 |
#Unknown Tag: Make this Last always
|
|
169 |
0x24 zzzunknown
|
|
170 |
|
|
171 |
|
|
172 |
#
|
|
173 |
# Attribute table, code page 0
|
|
174 |
#
|
|
175 |
ATTRIBUTES_FOR_CODE_PAGE 0
|
|
176 |
0x05 abbr
|
|
177 |
0x06 accept-charset
|
|
178 |
0x07 accept
|
|
179 |
0x08 accesskey
|
|
180 |
0x09 action
|
|
181 |
0x0a align
|
|
182 |
0x0b alink
|
|
183 |
0x0c alt
|
|
184 |
0x0d archive
|
|
185 |
0x0e axis
|
|
186 |
0x0f background
|
|
187 |
0x10 bgcolor
|
|
188 |
0x11 border
|
|
189 |
0x12 cellpadding
|
|
190 |
0x13 char
|
|
191 |
0x14 charoff
|
|
192 |
0x15 charset
|
|
193 |
0x16 checked
|
|
194 |
0x17 cite
|
|
195 |
0x18 class
|
|
196 |
0x19 classid
|
|
197 |
0x1a clear
|
|
198 |
0x1b code
|
|
199 |
0x1c codebase
|
|
200 |
0x1d codetype
|
|
201 |
0x1e color
|
|
202 |
0x1f cols
|
|
203 |
0x20 colspan
|
|
204 |
#0x21 compact
|
|
205 |
0x22 content
|
|
206 |
0x23 coords
|
|
207 |
0x24 data
|
|
208 |
#0x25 datetime
|
|
209 |
0x26 declare
|
|
210 |
#0x27 defer
|
|
211 |
0x28 dir
|
|
212 |
0x29 disabled
|
|
213 |
0x2a enctype
|
|
214 |
0x2b encoding
|
|
215 |
#0x2c for
|
|
216 |
#0x2d frame
|
|
217 |
0x2e frameborder
|
|
218 |
#0x2f headers
|
|
219 |
0x30 height
|
|
220 |
0x31 href
|
|
221 |
#0x32 hreflang
|
|
222 |
0x33 hspace
|
|
223 |
0x34 http-equiv
|
|
224 |
0x35 id
|
|
225 |
0x36 ismap
|
|
226 |
0x37 label
|
|
227 |
#0x38 lang
|
|
228 |
0x39 language
|
|
229 |
0x3a link
|
|
230 |
#0x3b longdesc
|
|
231 |
0x3c marginheight
|
|
232 |
0x3d marginwidth
|
|
233 |
0x3e maxlength
|
|
234 |
0x3f media
|
|
235 |
# must skip 0x40 - 0x44 - used for global tokens
|
|
236 |
0x45 method
|
|
237 |
0x46 multiple
|
|
238 |
0x47 name
|
|
239 |
0x48 nohref
|
|
240 |
0x49 noresize
|
|
241 |
0x4a noshade
|
|
242 |
0x4b nowrap
|
|
243 |
#0x4c object
|
|
244 |
0x4d onblur
|
|
245 |
0x4e onchange
|
|
246 |
0x4f onclick
|
|
247 |
#0x50 ondblclick
|
|
248 |
0x51 onfocus
|
|
249 |
#0x52 onkeydown
|
|
250 |
#0x53 onkeypress
|
|
251 |
#0x54 onkeyup
|
|
252 |
0x55 onload
|
|
253 |
#0x56 onmousedown
|
|
254 |
#0x57 onmousemove
|
|
255 |
#0x58 onmouseout
|
|
256 |
#0x59 onmouseover
|
|
257 |
#0x5a onmouseup
|
|
258 |
0x5b onreset
|
|
259 |
#0x5c onselect
|
|
260 |
0x5d onsubmit
|
|
261 |
0x5e onunload
|
|
262 |
#0x5f profile
|
|
263 |
#0x60 prompt
|
|
264 |
0x61 readonly
|
|
265 |
0x62 rel
|
|
266 |
0x63 rev
|
|
267 |
0x64 rows
|
|
268 |
0x65 rowspan
|
|
269 |
#0x66 rules
|
|
270 |
0x67 scheme
|
|
271 |
#0x68 scope
|
|
272 |
0x69 scrolling
|
|
273 |
0x6a selected
|
|
274 |
0x6b shape
|
|
275 |
0x6c size
|
|
276 |
#0x?? span
|
|
277 |
# Vodafone proprietary attribute: soundstart
|
|
278 |
0x6d soundstart
|
|
279 |
0x6e src
|
|
280 |
0x6f standby
|
|
281 |
0x70 start
|
|
282 |
0x71 style
|
|
283 |
#0x72 summary
|
|
284 |
0x73 tabindex
|
|
285 |
0x74 target
|
|
286 |
#0x75 text
|
|
287 |
0x76 title
|
|
288 |
0x77 type
|
|
289 |
0x78 usemap
|
|
290 |
0x79 valign
|
|
291 |
0x7a value
|
|
292 |
#0x7b valuetype
|
|
293 |
0x7c version
|
|
294 |
#0x?? vlink
|
|
295 |
# Vodafone proprietary attribute: volume
|
|
296 |
0x7d volume
|
|
297 |
0x7e vspace
|
|
298 |
0x7f width
|
|
299 |
#
|
|
300 |
# The attribute value tokens are treated just like the
|
|
301 |
# attribute start tokens
|
|
302 |
#
|
|
303 |
0x85 none
|
|
304 |
0x86 left
|
|
305 |
0x87 right
|
|
306 |
0x88 normal
|
|
307 |
0x89 italic
|
|
308 |
0x8a bold
|
|
309 |
0x8b circle
|
|
310 |
0x8c disc
|
|
311 |
0x8d square
|
|
312 |
0x8e always
|
|
313 |
0x8f avoid
|
|
314 |
0x90 center
|
|
315 |
0x91 justify
|
|
316 |
0x92 underline
|
|
317 |
0x93 blink
|
|
318 |
0x94 marquee
|
|
319 |
0x95 top
|
|
320 |
0x96 middle
|
|
321 |
0x97 bottom
|
|
322 |
0x98 baseline
|
|
323 |
0x9a get
|
|
324 |
0x9b post
|
|
325 |
#0x9c multiple
|
|
326 |
0x9d ltr
|
|
327 |
0x9e rtl
|
|
328 |
#0x9f char
|
|
329 |
0xa0 yes
|
|
330 |
0xa1 no
|
|
331 |
0xa2 auto
|
|
332 |
0xa3 button
|
|
333 |
0xa4 submit
|
|
334 |
0xa5 reset
|
|
335 |
#0xa6 selected
|
|
336 |
#0xa7 readonly
|
|
337 |
#0xa8 nohref
|
|
338 |
#0xa9 noresize
|
|
339 |
#0xaa noshade
|
|
340 |
#0xab nowrap
|
|
341 |
#0xac ismap
|
|
342 |
#0xad 0
|
|
343 |
0xae 1
|
|
344 |
#0xaf declare
|
|
345 |
#0xb0 defer
|
|
346 |
#0xb1 disabled
|
|
347 |
#0xb2 compact
|
|
348 |
0xb3 all
|
|
349 |
#0xb4 checked
|
|
350 |
#0xb5 data
|
|
351 |
#0xb6 ref
|
|
352 |
#0xb7 object
|
|
353 |
#0xb8 text
|
|
354 |
0xb9 password
|
|
355 |
0xba checkbox
|
|
356 |
0xbb radio
|
|
357 |
0xbc hidden
|
|
358 |
# Vodafone proprietary attribute values: focus, select
|
|
359 |
0xbd focus
|
|
360 |
0xbe select
|
|
361 |
|
|
362 |
#
|
|
363 |
# Attribute table, code page 1
|
|
364 |
#
|
|
365 |
ATTRIBUTES_FOR_CODE_PAGE 1
|
|
366 |
0x05 zzzunknown
|
|
367 |
# xml-stylesheet is a processing instruction "target" name but is
|
|
368 |
# treated as an attribute name
|
|
369 |
0x06 xml-stylesheet
|
|
370 |
0x07 alternate_name
|
|
371 |
0x08 cellspacing
|
|
372 |
0x09 text
|
|
373 |
0x0a bgproperties
|
|
374 |
#0x?? ordered
|
|
375 |
#0x?? sendreferer
|
|
376 |
|
|
377 |
|
|
378 |
|
|
379 |
#
|
|
380 |
# IMODE attribute table - code page 2
|
|
381 |
#
|
|
382 |
ATTRIBUTES_FOR_CODE_PAGE 2
|
|
383 |
0x05 behavior
|
|
384 |
0x06 direction
|
|
385 |
0x07 loop
|
|
386 |
0x08 scrollamount
|
|
387 |
0x09 scrolldelay
|
|
388 |
#0x0a urn
|
|
389 |
0x0b cti
|
|
390 |
#0x0c utn
|
|
391 |
0x0d telbook
|
|
392 |
#0x0e kana
|
|
393 |
0x0f email
|
|
394 |
#
|
|
395 |
# The IMODE attribute value tokens are treated just like the
|
|
396 |
# attribute start tokens
|
|
397 |
#
|
|
398 |
0x86 A
|
|
399 |
0x87 a
|
|
400 |
0x88 I
|
|
401 |
0x89 i
|
|
402 |
0x8a scroll
|
|
403 |
0x8b slide
|
|
404 |
0x8c alternate
|
|
405 |
0x21 directkey
|
|
406 |
0x22 memoryname
|
|
407 |
0x23 istyle
|
|
408 |
0x24 mode
|
|
409 |
0x25 bordercolor
|