24
|
1 |
/*
|
|
2 |
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of the License "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
/*
|
|
20 |
** NOTE:
|
|
21 |
**
|
|
22 |
** We are currently hand editing this file and nw_xhtml_xhtml_1_0_tokens.h.
|
|
23 |
**
|
|
24 |
** However, I did use the dict_create.exe program in cxml\dictionary to generate
|
|
25 |
** and then merge with these files.
|
|
26 |
**
|
|
27 |
** Joel Parks 2002.08.27
|
|
28 |
**
|
|
29 |
** This file generated on Tue Aug 27 15:33:29 2002
|
|
30 |
** (coordinated universal time)
|
|
31 |
**
|
|
32 |
** Command line: dict_creator xhtml_1_0.dict xhtml_1_0_dict.c nw_xhtml_xhtml_1_0_tokens.h
|
|
33 |
*/
|
|
34 |
|
|
35 |
/*
|
|
36 |
* Dictionary = XHTML_1_0
|
|
37 |
* Public id = 4
|
|
38 |
* Doc Type = -//WAPFORUM//DTD WML 2.0//EN
|
|
39 |
*/
|
|
40 |
|
|
41 |
#include "nw_xhtml_xhtml_1_0_tokens.h"
|
|
42 |
#include <xml/cxml/nw_wbxml_dictionary.h>
|
|
43 |
|
|
44 |
|
|
45 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_body[] = {'b','o','d','y','\0'};
|
|
46 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_head[] = {'h','e','a','d','\0'};
|
|
47 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_html[] = {'h','t','m','l','\0'};
|
|
48 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_title[] = {'t','i','t','l','e','\0'};
|
|
49 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_kbd[] = {'k','b','d','\0'};
|
|
50 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_meta[] = {'m','e','t','a','\0'};
|
|
51 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_abbr[] = {'a','b','b','r','\0'};
|
|
52 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_acronym[] = {'a','c','r','o','n','y','m','\0'};
|
|
53 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_address[] = {'a','d','d','r','e','s','s','\0'};
|
|
54 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_br[] = {'b','r','\0'};
|
|
55 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_cite[] = {'c','i','t','e','\0'};
|
|
56 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_dfn[] = {'d','f','n','\0'};
|
|
57 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_div[] = {'d','i','v','\0'};
|
|
58 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_em[] = {'e','m','\0'};
|
|
59 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_h1[] = {'h','1','\0'};
|
|
60 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_h2[] = {'h','2','\0'};
|
|
61 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_h3[] = {'h','3','\0'};
|
|
62 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_h4[] = {'h','4','\0'};
|
|
63 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_h5[] = {'h','5','\0'};
|
|
64 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_h6[] = {'h','6','\0'};
|
|
65 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_p[] = {'p','\0'};
|
|
66 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_q[] = {'q','\0'};
|
|
67 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_strong[] = {'s','t','r','o','n','g','\0'};
|
|
68 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_var[] = {'v','a','r','\0'};
|
|
69 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_blockquote[] = {'b','l','o','c','k','q','u','o','t','e','\0'};
|
|
70 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_pre[] = {'p','r','e','\0'};
|
|
71 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_b[] = {'b','\0'};
|
|
72 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_a[] = {'a','\0'};
|
|
73 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_link[] = {'l','i','n','k','\0'};
|
|
74 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_code[] = {'c','o','d','e','\0'};
|
|
75 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_big[] = {'b','i','g','\0'};
|
|
76 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_base[] = {'b','a','s','e','\0'};
|
|
77 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_marquee[] = {'m','a','r','q','u','e','e','\0'};
|
|
78 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_hr[] = {'h','r','\0'};
|
|
79 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_span[] = {'s','p','a','n','\0'};
|
|
80 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_i[] = {'i','\0'};
|
|
81 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_small[] = {'s','m','a','l','l','\0'};
|
|
82 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_u[] = {'u','\0'};
|
|
83 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_dl[] = {'d','l','\0'};
|
|
84 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_dt[] = {'d','t','\0'};
|
|
85 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_dd[] = {'d','d','\0'};
|
|
86 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_ol[] = {'o','l','\0'};
|
|
87 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_ul[] = {'u','l','\0'};
|
|
88 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_li[] = {'l','i','\0'};
|
|
89 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_fieldset[] = {'f','i','e','l','d','s','e','t','\0'};
|
|
90 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_input[] = {'i','n','p','u','t','\0'};
|
|
91 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_form[] = {'f','o','r','m','\0'};
|
|
92 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_label[] = {'l','a','b','e','l','\0'};
|
|
93 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_select[] = {'s','e','l','e','c','t','\0'};
|
|
94 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_option[] = {'o','p','t','i','o','n','\0'};
|
|
95 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_optgroup[] = {'o','p','t','g','r','o','u','p','\0'};
|
|
96 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_textarea[] = {'t','e','x','t','a','r','e','a','\0'};
|
|
97 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_caption[] = {'c','a','p','t','i','o','n','\0'};
|
|
98 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_table[] = {'t','a','b','l','e','\0'};
|
|
99 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_td[] = {'t','d','\0'};
|
|
100 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_th[] = {'t','h','\0'};
|
|
101 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_tr[] = {'t','r','\0'};
|
|
102 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_img[] = {'i','m','g','\0'};
|
|
103 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_style[] = {'s','t','y','l','e','\0'};
|
|
104 |
|
|
105 |
|
|
106 |
/*
|
|
107 |
* tag entries - sorted by token
|
|
108 |
*/
|
|
109 |
static const
|
|
110 |
NW_WBXML_DictEntry_t XHTML_1_0_tag_token_0[59] = {
|
|
111 |
{0x05, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_body},
|
|
112 |
{0x06, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_head},
|
|
113 |
{0x07, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_html},
|
|
114 |
{0x08, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_title},
|
|
115 |
{0x09, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_kbd},
|
|
116 |
{0x0a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_meta},
|
|
117 |
{0x0b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_abbr},
|
|
118 |
{0x0c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_acronym},
|
|
119 |
{0x0d, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_address},
|
|
120 |
{0x0e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_br},
|
|
121 |
{0x0f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_cite},
|
|
122 |
{0x10, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_dfn},
|
|
123 |
{0x11, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_div},
|
|
124 |
{0x12, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_em},
|
|
125 |
{0x13, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_h1},
|
|
126 |
{0x14, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_h2},
|
|
127 |
{0x15, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_h3},
|
|
128 |
{0x16, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_h4},
|
|
129 |
{0x17, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_h5},
|
|
130 |
{0x18, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_h6},
|
|
131 |
{0x19, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_p},
|
|
132 |
{0x1a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_q},
|
|
133 |
{0x1b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_strong},
|
|
134 |
{0x1c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_var},
|
|
135 |
{0x1d, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_blockquote},
|
|
136 |
{0x1e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_pre},
|
|
137 |
{0x1f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_b},
|
|
138 |
{0x20, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_a},
|
|
139 |
{0x21, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_link},
|
|
140 |
{0x22, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_code},
|
|
141 |
{0x23, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_big},
|
|
142 |
{0x24, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_base},
|
|
143 |
{0x25, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_marquee},
|
|
144 |
{0x26, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_hr},
|
|
145 |
{0x27, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_span},
|
|
146 |
{0x28, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_i},
|
|
147 |
{0x29, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_small},
|
|
148 |
{0x2a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_u},
|
|
149 |
{0x2b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_dl},
|
|
150 |
{0x2c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_dt},
|
|
151 |
{0x2d, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_dd},
|
|
152 |
{0x2e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_ol},
|
|
153 |
{0x2f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_ul},
|
|
154 |
{0x30, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_li},
|
|
155 |
{0x31, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_fieldset},
|
|
156 |
{0x32, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_input},
|
|
157 |
{0x33, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_form},
|
|
158 |
{0x34, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_label},
|
|
159 |
{0x35, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_select},
|
|
160 |
{0x36, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_option},
|
|
161 |
{0x37, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_optgroup},
|
|
162 |
{0x38, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_textarea},
|
|
163 |
{0x39, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_caption},
|
|
164 |
{0x3a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_table},
|
|
165 |
{0x3b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_td},
|
|
166 |
{0x3c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_th},
|
|
167 |
{0x3d, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_tr},
|
|
168 |
{0x3e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_img},
|
|
169 |
{0x3f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_style}
|
|
170 |
};
|
|
171 |
|
|
172 |
|
|
173 |
/*
|
|
174 |
* tag entries - sorted by name
|
|
175 |
*/
|
|
176 |
static const
|
|
177 |
NW_Byte XHTML_1_0_tag_name_0[59] = {
|
|
178 |
27,
|
|
179 |
6,
|
|
180 |
7,
|
|
181 |
8,
|
|
182 |
26,
|
|
183 |
31,
|
|
184 |
30,
|
|
185 |
24,
|
|
186 |
0,
|
|
187 |
9,
|
|
188 |
52,
|
|
189 |
10,
|
|
190 |
29,
|
|
191 |
40,
|
|
192 |
11,
|
|
193 |
12,
|
|
194 |
38,
|
|
195 |
39,
|
|
196 |
13,
|
|
197 |
44,
|
|
198 |
46,
|
|
199 |
14,
|
|
200 |
15,
|
|
201 |
16,
|
|
202 |
17,
|
|
203 |
18,
|
|
204 |
19,
|
|
205 |
1,
|
|
206 |
33,
|
|
207 |
2,
|
|
208 |
35,
|
|
209 |
57,
|
|
210 |
45,
|
|
211 |
4,
|
|
212 |
47,
|
|
213 |
43,
|
|
214 |
28,
|
|
215 |
32,
|
|
216 |
5,
|
|
217 |
41,
|
|
218 |
50,
|
|
219 |
49,
|
|
220 |
20,
|
|
221 |
25,
|
|
222 |
21,
|
|
223 |
48,
|
|
224 |
36,
|
|
225 |
34,
|
|
226 |
22,
|
|
227 |
58,
|
|
228 |
53,
|
|
229 |
54,
|
|
230 |
51,
|
|
231 |
55,
|
|
232 |
3,
|
|
233 |
56,
|
|
234 |
37,
|
|
235 |
42,
|
|
236 |
23,
|
|
237 |
};
|
|
238 |
|
|
239 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_samp[] = {'s','a','m','p','\0'};
|
|
240 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_thead[] = {'t','h','e','a','d','\0'};
|
|
241 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_tbody[] = {'t','b','o','d','y','\0'};
|
|
242 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_tfoot[] = {'t','f','o','o','t','\0'};
|
|
243 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_noscript[] = {'n','o','s','c','r','i','p','t','\0'};
|
|
244 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_script[] = {'s','c','r','i','p','t','\0'};
|
|
245 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_zzzunknown[] = {'z','z','z','u','n','k','n','o','w','n','\0'};
|
|
246 |
|
|
247 |
|
|
248 |
/*
|
|
249 |
* tag entries - sorted by token
|
|
250 |
*/
|
|
251 |
static const
|
|
252 |
NW_WBXML_DictEntry_t XHTML_1_0_tag_token_1[7] = {
|
|
253 |
{0x14, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_samp},
|
|
254 |
{0x15, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_thead},
|
|
255 |
{0x16, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_tbody},
|
|
256 |
{0x17, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_tfoot},
|
|
257 |
{0x18, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_noscript},
|
|
258 |
{0x19, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_script},
|
|
259 |
{0x1a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_zzzunknown}
|
|
260 |
};
|
|
261 |
|
|
262 |
|
|
263 |
/*
|
|
264 |
* tag entries - sorted by name
|
|
265 |
*/
|
|
266 |
static const
|
|
267 |
NW_Byte XHTML_1_0_tag_name_1[7] = {
|
|
268 |
4,
|
|
269 |
0,
|
|
270 |
5,
|
|
271 |
2,
|
|
272 |
3,
|
|
273 |
1,
|
|
274 |
6,
|
|
275 |
};
|
|
276 |
|
|
277 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_abbr[] = {'a','b','b','r','\0'};
|
|
278 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_accept_charset[] = {'a','c','c','e','p','t','-','c','h','a','r','s','e','t','\0'};
|
|
279 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_accept[] = {'a','c','c','e','p','t','\0'};
|
|
280 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_accesskey[] = {'a','c','c','e','s','s','k','e','y','\0'};
|
|
281 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_action[] = {'a','c','t','i','o','n','\0'};
|
|
282 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_align[] = {'a','l','i','g','n','\0'};
|
|
283 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_alink[] = {'a','l','i','n','k','\0'};
|
|
284 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_alt[] = {'a','l','t','\0'};
|
|
285 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_axis[] = {'a','x','i','s','\0'};
|
|
286 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_bgcolor[] = {'b','g','c','o','l','o','r','\0'};
|
|
287 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_border[] = {'b','o','r','d','e','r','\0'};
|
|
288 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_cellpadding[] = {'c','e','l','l','p','a','d','d','i','n','g','\0'};
|
|
289 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_char[] = {'c','h','a','r','\0'};
|
|
290 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_charoff[] = {'c','h','a','r','o','f','f','\0'};
|
|
291 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_charset[] = {'c','h','a','r','s','e','t','\0'};
|
|
292 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_checked[] = {'c','h','e','c','k','e','d','\0'};
|
|
293 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_cite[] = {'c','i','t','e','\0'};
|
|
294 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_class[] = {'c','l','a','s','s','\0'};
|
|
295 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_clear[] = {'c','l','e','a','r','\0'};
|
|
296 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_code[] = {'c','o','d','e','\0'};
|
|
297 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_codebase[] = {'c','o','d','e','b','a','s','e','\0'};
|
|
298 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_codetype[] = {'c','o','d','e','t','y','p','e','\0'};
|
|
299 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_color[] = {'c','o','l','o','r','\0'};
|
|
300 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_cols[] = {'c','o','l','s','\0'};
|
|
301 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_colspan[] = {'c','o','l','s','p','a','n','\0'};
|
|
302 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_dir[] = {'d','i','r','\0'};
|
|
303 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_disabled[] = {'d','i','s','a','b','l','e','d','\0'};
|
|
304 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_enctype[] = {'e','n','c','t','y','p','e','\0'};
|
|
305 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_height[] = {'h','e','i','g','h','t','\0'};
|
|
306 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_href[] = {'h','r','e','f','\0'};
|
|
307 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_hspace[] = {'h','s','p','a','c','e','\0'};
|
|
308 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_id[] = {'i','d','\0'};
|
|
309 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_label[] = {'l','a','b','e','l','\0'};
|
|
310 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_link[] = {'l','i','n','k','\0'};
|
|
311 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_maxlength[] = {'m','a','x','l','e','n','g','t','h','\0'};
|
|
312 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_media[] = {'m','e','d','i','a','\0'};
|
|
313 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_method[] = {'m','e','t','h','o','d','\0'};
|
|
314 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_multiple[] = {'m','u','l','t','i','p','l','e','\0'};
|
|
315 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_name[] = {'n','a','m','e','\0'};
|
|
316 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_noshade[] = {'n','o','s','h','a','d','e','\0'};
|
|
317 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_nowrap[] = {'n','o','w','r','a','p','\0'};
|
|
318 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_readonly[] = {'r','e','a','d','o','n','l','y','\0'};
|
|
319 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_rel[] = {'r','e','l','\0'};
|
|
320 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_rev[] = {'r','e','v','\0'};
|
|
321 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_rows[] = {'r','o','w','s','\0'};
|
|
322 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_rowspan[] = {'r','o','w','s','p','a','n','\0'};
|
|
323 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_selected[] = {'s','e','l','e','c','t','e','d','\0'};
|
|
324 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_size[] = {'s','i','z','e','\0'};
|
|
325 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_src[] = {'s','r','c','\0'};
|
|
326 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_start[] = {'s','t','a','r','t','\0'};
|
|
327 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_style[] = {'s','t','y','l','e','\0'};
|
|
328 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_tabindex[] = {'t','a','b','i','n','d','e','x','\0'};
|
|
329 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_title[] = {'t','i','t','l','e','\0'};
|
|
330 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_type[] = {'t','y','p','e','\0'};
|
|
331 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_valign[] = {'v','a','l','i','g','n','\0'};
|
|
332 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_value[] = {'v','a','l','u','e','\0'};
|
|
333 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_version[] = {'v','e','r','s','i','o','n','\0'};
|
|
334 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_vspace[] = {'v','s','p','a','c','e','\0'};
|
|
335 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_width[] = {'w','i','d','t','h','\0'};
|
|
336 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_none[] = {'n','o','n','e','\0'};
|
|
337 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_left[] = {'l','e','f','t','\0'};
|
|
338 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_right[] = {'r','i','g','h','t','\0'};
|
|
339 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_normal[] = {'n','o','r','m','a','l','\0'};
|
|
340 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_italic[] = {'i','t','a','l','i','c','\0'};
|
|
341 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_bold[] = {'b','o','l','d','\0'};
|
|
342 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_circle[] = {'c','i','r','c','l','e','\0'};
|
|
343 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_disc[] = {'d','i','s','c','\0'};
|
|
344 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_square[] = {'s','q','u','a','r','e','\0'};
|
|
345 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_always[] = {'a','l','w','a','y','s','\0'};
|
|
346 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_avoid[] = {'a','v','o','i','d','\0'};
|
|
347 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_center[] = {'c','e','n','t','e','r','\0'};
|
|
348 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_justify[] = {'j','u','s','t','i','f','y','\0'};
|
|
349 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_underline[] = {'u','n','d','e','r','l','i','n','e','\0'};
|
|
350 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_blink[] = {'b','l','i','n','k','\0'};
|
|
351 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_marquee[] = {'m','a','r','q','u','e','e','\0'};
|
|
352 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_top[] = {'t','o','p','\0'};
|
|
353 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_middle[] = {'m','i','d','d','l','e','\0'};
|
|
354 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_bottom[] = {'b','o','t','t','o','m','\0'};
|
|
355 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_baseline[] = {'b','a','s','e','l','i','n','e','\0'};
|
|
356 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_get[] = {'g','e','t','\0'};
|
|
357 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_post[] = {'p','o','s','t','\0'};
|
|
358 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_ltr[] = {'l','t','r','\0'};
|
|
359 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_rtl[] = {'r','t','l','\0'};
|
|
360 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_yes[] = {'y','e','s','\0'};
|
|
361 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_no[] = {'n','o','\0'};
|
|
362 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_auto[] = {'a','u','t','o','\0'};
|
|
363 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_button[] = {'b','u','t','t','o','n','\0'};
|
|
364 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_submit[] = {'s','u','b','m','i','t','\0'};
|
|
365 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_reset[] = {'r','e','s','e','t','\0'};
|
|
366 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag__1[] = {'1','\0'};
|
|
367 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_all[] = {'a','l','l','\0'};
|
|
368 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_text[] = {'t','e','x','t','\0'};
|
|
369 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_password[] = {'p','a','s','s','w','o','r','d','\0'};
|
|
370 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_checkbox[] = {'c','h','e','c','k','b','o','x','\0'};
|
|
371 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_radio[] = {'r','a','d','i','o','\0'};
|
|
372 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_hidden[] = {'h','i','d','d','e','n','\0'};
|
|
373 |
|
|
374 |
|
|
375 |
/*
|
|
376 |
* attribute entries - sorted by token
|
|
377 |
*/
|
|
378 |
static const
|
|
379 |
NW_WBXML_DictEntry_t XHTML_1_0_attribute_token_0[96] = {
|
|
380 |
{0x05, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_abbr},
|
|
381 |
{0x06, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_accept_charset},
|
|
382 |
{0x07, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_accept},
|
|
383 |
{0x08, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_accesskey},
|
|
384 |
{0x09, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_action},
|
|
385 |
{0x0a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_align},
|
|
386 |
{0x0b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_alink},
|
|
387 |
{0x0c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_alt},
|
|
388 |
{0x0e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_axis},
|
|
389 |
{0x10, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_bgcolor},
|
|
390 |
{0x11, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_border},
|
|
391 |
{0x12, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_cellpadding},
|
|
392 |
{0x13, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_char},
|
|
393 |
{0x14, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_charoff},
|
|
394 |
{0x15, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_charset},
|
|
395 |
{0x16, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_checked},
|
|
396 |
{0x17, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_cite},
|
|
397 |
{0x18, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_class},
|
|
398 |
{0x1a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_clear},
|
|
399 |
{0x1b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_code},
|
|
400 |
{0x1c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_codebase},
|
|
401 |
{0x1d, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_codetype},
|
|
402 |
{0x1e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_color},
|
|
403 |
{0x1f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_cols},
|
|
404 |
{0x20, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_colspan},
|
|
405 |
{0x28, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_dir},
|
|
406 |
{0x29, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_disabled},
|
|
407 |
{0x2a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_enctype},
|
|
408 |
{0x30, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_height},
|
|
409 |
{0x31, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_href},
|
|
410 |
{0x33, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_hspace},
|
|
411 |
{0x35, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_id},
|
|
412 |
{0x37, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_label},
|
|
413 |
{0x3a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_link},
|
|
414 |
{0x3e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_maxlength},
|
|
415 |
{0x3f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_media},
|
|
416 |
{0x45, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_method},
|
|
417 |
{0x46, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_multiple},
|
|
418 |
{0x47, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_name},
|
|
419 |
{0x4a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_noshade},
|
|
420 |
{0x4b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_nowrap},
|
|
421 |
{0x61, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_readonly},
|
|
422 |
{0x62, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_rel},
|
|
423 |
{0x63, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_rev},
|
|
424 |
{0x64, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_rows},
|
|
425 |
{0x65, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_rowspan},
|
|
426 |
{0x6a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_selected},
|
|
427 |
{0x6c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_size},
|
|
428 |
{0x6e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_src},
|
|
429 |
{0x70, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_start},
|
|
430 |
{0x71, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_style},
|
|
431 |
{0x73, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_tabindex},
|
|
432 |
{0x76, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_title},
|
|
433 |
{0x77, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_type},
|
|
434 |
{0x79, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_valign},
|
|
435 |
{0x7a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_value},
|
|
436 |
{0x7c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_version},
|
|
437 |
{0x7e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_vspace},
|
|
438 |
{0x7f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_width},
|
|
439 |
{0x85, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_none},
|
|
440 |
{0x86, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_left},
|
|
441 |
{0x87, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_right},
|
|
442 |
{0x88, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_normal},
|
|
443 |
{0x89, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_italic},
|
|
444 |
{0x8a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_bold},
|
|
445 |
{0x8b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_circle},
|
|
446 |
{0x8c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_disc},
|
|
447 |
{0x8d, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_square},
|
|
448 |
{0x8e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_always},
|
|
449 |
{0x8f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_avoid},
|
|
450 |
{0x90, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_center},
|
|
451 |
{0x91, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_justify},
|
|
452 |
{0x92, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_underline},
|
|
453 |
{0x93, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_blink},
|
|
454 |
{0x94, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_marquee},
|
|
455 |
{0x95, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_top},
|
|
456 |
{0x96, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_middle},
|
|
457 |
{0x97, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_bottom},
|
|
458 |
{0x98, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_baseline},
|
|
459 |
{0x9a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_get},
|
|
460 |
{0x9b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_post},
|
|
461 |
{0x9d, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_ltr},
|
|
462 |
{0x9e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_rtl},
|
|
463 |
{0xa0, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_yes},
|
|
464 |
{0xa1, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_no},
|
|
465 |
{0xa2, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_auto},
|
|
466 |
{0xa3, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_button},
|
|
467 |
{0xa4, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_submit},
|
|
468 |
{0xa5, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_reset},
|
|
469 |
{0xae, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag__1},
|
|
470 |
{0xb3, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_all},
|
|
471 |
{0xb8, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_text},
|
|
472 |
{0xb9, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_password},
|
|
473 |
{0xba, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_checkbox},
|
|
474 |
{0xbb, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_radio},
|
|
475 |
{0xbc, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_hidden}
|
|
476 |
};
|
|
477 |
|
|
478 |
|
|
479 |
/*
|
|
480 |
* attribute entries - sorted by name
|
|
481 |
*/
|
|
482 |
static const
|
|
483 |
NW_Byte XHTML_1_0_attribute_name_0[96] = {
|
|
484 |
89,
|
|
485 |
0,
|
|
486 |
2,
|
|
487 |
1,
|
|
488 |
3,
|
|
489 |
4,
|
|
490 |
5,
|
|
491 |
6,
|
|
492 |
90,
|
|
493 |
7,
|
|
494 |
68,
|
|
495 |
85,
|
|
496 |
69,
|
|
497 |
8,
|
|
498 |
78,
|
|
499 |
9,
|
|
500 |
73,
|
|
501 |
64,
|
|
502 |
10,
|
|
503 |
77,
|
|
504 |
86,
|
|
505 |
11,
|
|
506 |
70,
|
|
507 |
12,
|
|
508 |
13,
|
|
509 |
14,
|
|
510 |
93,
|
|
511 |
15,
|
|
512 |
65,
|
|
513 |
16,
|
|
514 |
17,
|
|
515 |
18,
|
|
516 |
19,
|
|
517 |
20,
|
|
518 |
21,
|
|
519 |
22,
|
|
520 |
23,
|
|
521 |
24,
|
|
522 |
25,
|
|
523 |
26,
|
|
524 |
66,
|
|
525 |
27,
|
|
526 |
79,
|
|
527 |
28,
|
|
528 |
95,
|
|
529 |
29,
|
|
530 |
30,
|
|
531 |
31,
|
|
532 |
63,
|
|
533 |
71,
|
|
534 |
32,
|
|
535 |
60,
|
|
536 |
33,
|
|
537 |
81,
|
|
538 |
74,
|
|
539 |
34,
|
|
540 |
35,
|
|
541 |
36,
|
|
542 |
76,
|
|
543 |
37,
|
|
544 |
38,
|
|
545 |
84,
|
|
546 |
59,
|
|
547 |
62,
|
|
548 |
39,
|
|
549 |
40,
|
|
550 |
92,
|
|
551 |
80,
|
|
552 |
94,
|
|
553 |
41,
|
|
554 |
42,
|
|
555 |
88,
|
|
556 |
43,
|
|
557 |
61,
|
|
558 |
44,
|
|
559 |
45,
|
|
560 |
82,
|
|
561 |
46,
|
|
562 |
47,
|
|
563 |
67,
|
|
564 |
48,
|
|
565 |
49,
|
|
566 |
50,
|
|
567 |
87,
|
|
568 |
51,
|
|
569 |
91,
|
|
570 |
52,
|
|
571 |
75,
|
|
572 |
53,
|
|
573 |
72,
|
|
574 |
54,
|
|
575 |
55,
|
|
576 |
56,
|
|
577 |
57,
|
|
578 |
58,
|
|
579 |
83,
|
|
580 |
};
|
|
581 |
|
|
582 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_zzzunknown[] = {'z','z','z','u','n','k','n','o','w','n','\0'};
|
|
583 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_xml_stylesheet[] = {'x','m','l','-','s','t','y','l','e','s','h','e','e','t','\0'};
|
|
584 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_alternate[] = {'a','l','t','e','r','n','a','t','e','\0'};
|
|
585 |
|
|
586 |
|
|
587 |
/*
|
|
588 |
* attribute entries - sorted by token
|
|
589 |
*/
|
|
590 |
static const
|
|
591 |
NW_WBXML_DictEntry_t XHTML_1_0_attribute_token_1[3] = {
|
|
592 |
{0x05, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_zzzunknown},
|
|
593 |
{0x06, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_xml_stylesheet},
|
|
594 |
{0x07, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_alternate},
|
|
595 |
};
|
|
596 |
|
|
597 |
|
|
598 |
/*
|
|
599 |
* attribute entries - sorted by name
|
|
600 |
*/
|
|
601 |
static const
|
|
602 |
NW_Byte XHTML_1_0_attribute_name_1[3] = {
|
|
603 |
2,
|
|
604 |
1,
|
|
605 |
0,
|
|
606 |
};
|
|
607 |
|
|
608 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_center[] = {'c','e','n','t','e','r','\0'};
|
|
609 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_dir[] = {'d','i','r','\0'};
|
|
610 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_font[] = {'f','o','n','t','\0'};
|
|
611 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_menu[] = {'m','e','n','u','\0'};
|
|
612 |
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_blink[] = {'b','l','i','n','k','\0'};
|
|
613 |
|
|
614 |
|
|
615 |
/*
|
|
616 |
* tag entries - sorted by token
|
|
617 |
*/
|
|
618 |
static const
|
|
619 |
NW_WBXML_DictEntry_t XHTML_1_0_tag_token_2[5] = {
|
|
620 |
{0x05, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_center},
|
|
621 |
{0x06, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_dir},
|
|
622 |
{0x07, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_font},
|
|
623 |
{0x08, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_menu},
|
|
624 |
{0x09, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_blink}
|
|
625 |
};
|
|
626 |
|
|
627 |
|
|
628 |
/*
|
|
629 |
* tag entries - sorted by name
|
|
630 |
*/
|
|
631 |
static const
|
|
632 |
NW_Byte XHTML_1_0_tag_name_2[5] = {
|
|
633 |
4,
|
|
634 |
0,
|
|
635 |
1,
|
|
636 |
2,
|
|
637 |
3,
|
|
638 |
};
|
|
639 |
|
|
640 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_behavior[] = {'b','e','h','a','v','i','o','r','\0'};
|
|
641 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_direction[] = {'d','i','r','e','c','t','i','o','n','\0'};
|
|
642 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_loop[] = {'l','o','o','p','\0'};
|
|
643 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_scrollamount[] = {'s','c','r','o','l','l','a','m','o','u','n','t','\0'};
|
|
644 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_scrolldelay[] = {'s','c','r','o','l','l','d','e','l','a','y','\0'};
|
|
645 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_cti[] = {'c','t','i','\0'};
|
|
646 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_telbook[] = {'t','e','l','b','o','o','k','\0'};
|
|
647 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_email[] = {'e','m','a','i','l','\0'};
|
|
648 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_A[] = {'A','\0'};
|
|
649 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_a[] = {'a','\0'};
|
|
650 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_I[] = {'I','\0'};
|
|
651 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_i[] = {'i','\0'};
|
|
652 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_scroll[] = {'s','c','r','o','l','l','\0'};
|
|
653 |
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_slide[] = {'s','l','i','d','e','\0'};
|
|
654 |
|
|
655 |
|
|
656 |
/*
|
|
657 |
* attribute entries - sorted by token
|
|
658 |
*/
|
|
659 |
static const
|
|
660 |
NW_WBXML_DictEntry_t XHTML_1_0_attribute_token_2[15] = {
|
|
661 |
{0x05, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_behavior},
|
|
662 |
{0x06, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_direction},
|
|
663 |
{0x07, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_loop},
|
|
664 |
{0x08, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_scrollamount},
|
|
665 |
{0x09, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_scrolldelay},
|
|
666 |
{0x0b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_cti},
|
|
667 |
{0x0d, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_telbook},
|
|
668 |
{0x0f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_email},
|
|
669 |
{0x86, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_A},
|
|
670 |
{0x87, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_a},
|
|
671 |
{0x88, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_I},
|
|
672 |
{0x89, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_i},
|
|
673 |
{0x8a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_scroll},
|
|
674 |
{0x8b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_slide},
|
|
675 |
{0x8c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_alternate}
|
|
676 |
};
|
|
677 |
|
|
678 |
|
|
679 |
/*
|
|
680 |
* attribute entries - sorted by name
|
|
681 |
*/
|
|
682 |
static const
|
|
683 |
NW_Byte XHTML_1_0_attribute_name_2[15] = {
|
|
684 |
8,
|
|
685 |
10,
|
|
686 |
9,
|
|
687 |
14,
|
|
688 |
0,
|
|
689 |
5,
|
|
690 |
1,
|
|
691 |
7,
|
|
692 |
11,
|
|
693 |
2,
|
|
694 |
12,
|
|
695 |
3,
|
|
696 |
4,
|
|
697 |
13,
|
|
698 |
6,
|
|
699 |
};
|
|
700 |
|
|
701 |
/*
|
|
702 |
* Tag codepage table
|
|
703 |
*/
|
|
704 |
static const
|
|
705 |
NW_WBXML_Codepage_t XHTML_1_0_tag_codepages[3] = {
|
|
706 |
{59, (NW_WBXML_DictEntry_t*)&XHTML_1_0_tag_token_0[0], (NW_Byte *)&XHTML_1_0_tag_name_0[0]},
|
|
707 |
{7, (NW_WBXML_DictEntry_t*)&XHTML_1_0_tag_token_1[0], (NW_Byte *)&XHTML_1_0_tag_name_1[0]},
|
|
708 |
{5, (NW_WBXML_DictEntry_t*)&XHTML_1_0_tag_token_2[0], (NW_Byte *)&XHTML_1_0_tag_name_2[0]},
|
|
709 |
};
|
|
710 |
|
|
711 |
/*
|
|
712 |
* Attribute codepage table
|
|
713 |
*/
|
|
714 |
static const
|
|
715 |
NW_WBXML_Codepage_t XHTML_1_0_attribute_codepages[3] = {
|
|
716 |
{96, (NW_WBXML_DictEntry_t*)&XHTML_1_0_attribute_token_0[0], (NW_Byte *)&XHTML_1_0_attribute_name_0[0]},
|
|
717 |
{3, (NW_WBXML_DictEntry_t*)&XHTML_1_0_attribute_token_1[0], (NW_Byte *)&XHTML_1_0_attribute_name_1[0]},
|
|
718 |
{15, (NW_WBXML_DictEntry_t*)&XHTML_1_0_attribute_token_2[0], (NW_Byte *)&XHTML_1_0_attribute_name_2[0]},
|
|
719 |
};
|
|
720 |
|
|
721 |
static const NW_Ucs2 NW_XHTML_1_0_docType[] = {'-','/','/','W','A','P','F','O','R','U','M','/','/','D','T','D',' ','W','M','L',' ','2','.','0','/','/','E','N','\0'};
|
|
722 |
|
|
723 |
/*
|
|
724 |
* Dictionary
|
|
725 |
*/
|
|
726 |
const NW_WBXML_Dictionary_t NW_XHTML_WBXMLDictionary = {
|
|
727 |
NW_xhtml_1_0_PublicId,
|
|
728 |
(NW_Ucs2 *)NW_XHTML_1_0_docType,
|
|
729 |
3, (NW_WBXML_Codepage_t*)&XHTML_1_0_tag_codepages[0],
|
|
730 |
3, (NW_WBXML_Codepage_t*)&XHTML_1_0_attribute_codepages[0],
|
|
731 |
};
|
|
732 |
|