|
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 ** This file is not generated by the dictionary creator. If you need any help |
|
21 ** to edit this file please see Shaun Keller/Frank Rchichi/Ramesh Bapanapalli. |
|
22 */ |
|
23 |
|
24 #include "nw_wml1x_wml_1_3_tokens.h" |
|
25 #include <xml/cxml/nw_wbxml_dictionary.h> |
|
26 |
|
27 |
|
28 static const NW_Ucs2 NW_Wml_1_3_ElementTag_pre[] = {'p','r','e','\0'}; |
|
29 static const NW_Ucs2 NW_Wml_1_3_ElementTag_a[] = {'a','\0'}; |
|
30 static const NW_Ucs2 NW_Wml_1_3_ElementTag_td[] = {'t','d','\0'}; |
|
31 static const NW_Ucs2 NW_Wml_1_3_ElementTag_tr[] = {'t','r','\0'}; |
|
32 static const NW_Ucs2 NW_Wml_1_3_ElementTag_table[] = {'t','a','b','l','e','\0'}; |
|
33 static const NW_Ucs2 NW_Wml_1_3_ElementTag_p[] = {'p','\0'}; |
|
34 static const NW_Ucs2 NW_Wml_1_3_ElementTag_postfield[] = {'p','o','s','t','f','i','e','l','d','\0'}; |
|
35 static const NW_Ucs2 NW_Wml_1_3_ElementTag_anchor[] = {'a','n','c','h','o','r','\0'}; |
|
36 static const NW_Ucs2 NW_Wml_1_3_ElementTag_access[] = {'a','c','c','e','s','s','\0'}; |
|
37 static const NW_Ucs2 NW_Wml_1_3_ElementTag_b[] = {'b','\0'}; |
|
38 static const NW_Ucs2 NW_Wml_1_3_ElementTag_big[] = {'b','i','g','\0'}; |
|
39 static const NW_Ucs2 NW_Wml_1_3_ElementTag_br[] = {'b','r','\0'}; |
|
40 static const NW_Ucs2 NW_Wml_1_3_ElementTag_card[] = {'c','a','r','d','\0'}; |
|
41 static const NW_Ucs2 NW_Wml_1_3_ElementTag_do[] = {'d','o','\0'}; |
|
42 static const NW_Ucs2 NW_Wml_1_3_ElementTag_em[] = {'e','m','\0'}; |
|
43 static const NW_Ucs2 NW_Wml_1_3_ElementTag_fieldset[] = {'f','i','e','l','d','s','e','t','\0'}; |
|
44 static const NW_Ucs2 NW_Wml_1_3_ElementTag_go[] = {'g','o','\0'}; |
|
45 static const NW_Ucs2 NW_Wml_1_3_ElementTag_head[] = {'h','e','a','d','\0'}; |
|
46 static const NW_Ucs2 NW_Wml_1_3_ElementTag_i[] = {'i','\0'}; |
|
47 static const NW_Ucs2 NW_Wml_1_3_ElementTag_img[] = {'i','m','g','\0'}; |
|
48 static const NW_Ucs2 NW_Wml_1_3_ElementTag_input[] = {'i','n','p','u','t','\0'}; |
|
49 static const NW_Ucs2 NW_Wml_1_3_ElementTag_meta[] = {'m','e','t','a','\0'}; |
|
50 static const NW_Ucs2 NW_Wml_1_3_ElementTag_noop[] = {'n','o','o','p','\0'}; |
|
51 static const NW_Ucs2 NW_Wml_1_3_ElementTag_prev[] = {'p','r','e','v','\0'}; |
|
52 static const NW_Ucs2 NW_Wml_1_3_ElementTag_onevent[] = {'o','n','e','v','e','n','t','\0'}; |
|
53 static const NW_Ucs2 NW_Wml_1_3_ElementTag_optgroup[] = {'o','p','t','g','r','o','u','p','\0'}; |
|
54 static const NW_Ucs2 NW_Wml_1_3_ElementTag_option[] = {'o','p','t','i','o','n','\0'}; |
|
55 static const NW_Ucs2 NW_Wml_1_3_ElementTag_refresh[] = {'r','e','f','r','e','s','h','\0'}; |
|
56 static const NW_Ucs2 NW_Wml_1_3_ElementTag_select[] = {'s','e','l','e','c','t','\0'}; |
|
57 static const NW_Ucs2 NW_Wml_1_3_ElementTag_small[] = {'s','m','a','l','l','\0'}; |
|
58 static const NW_Ucs2 NW_Wml_1_3_ElementTag_strong[] = {'s','t','r','o','n','g','\0'}; |
|
59 static const NW_Ucs2 NW_Wml_1_3_ElementTag_template[] = {'t','e','m','p','l','a','t','e','\0'}; |
|
60 static const NW_Ucs2 NW_Wml_1_3_ElementTag_timer[] = {'t','i','m','e','r','\0'}; |
|
61 static const NW_Ucs2 NW_Wml_1_3_ElementTag_u[] = {'u','\0'}; |
|
62 static const NW_Ucs2 NW_Wml_1_3_ElementTag_setvar[] = {'s','e','t','v','a','r','\0'}; |
|
63 static const NW_Ucs2 NW_Wml_1_3_ElementTag_wml[] = {'w','m','l','\0'}; |
|
64 |
|
65 /* |
|
66 * tag entries - sorted by token |
|
67 */ |
|
68 static const |
|
69 NW_WBXML_DictEntry_t NW_Wml_1_3_tag_token_0[36] = { |
|
70 {0x1b, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_pre}, |
|
71 {0x1c, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_a}, |
|
72 {0x1d, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_td}, |
|
73 {0x1e, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_tr}, |
|
74 {0x1f, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_table}, |
|
75 {0x20, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_p}, |
|
76 {0x21, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_postfield}, |
|
77 {0x22, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_anchor}, |
|
78 {0x23, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_access}, |
|
79 {0x24, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_b}, |
|
80 {0x25, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_big}, |
|
81 {0x26, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_br}, |
|
82 {0x27, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_card}, |
|
83 {0x28, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_do}, |
|
84 {0x29, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_em}, |
|
85 {0x2a, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_fieldset}, |
|
86 {0x2b, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_go}, |
|
87 {0x2c, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_head}, |
|
88 {0x2d, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_i}, |
|
89 {0x2e, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_img}, |
|
90 {0x2f, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_input}, |
|
91 {0x30, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_meta}, |
|
92 {0x31, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_noop}, |
|
93 {0x32, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_prev}, |
|
94 {0x33, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_onevent}, |
|
95 {0x34, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_optgroup}, |
|
96 {0x35, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_option}, |
|
97 {0x36, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_refresh}, |
|
98 {0x37, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_select}, |
|
99 {0x38, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_small}, |
|
100 {0x39, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_strong}, |
|
101 {0x3b, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_template}, |
|
102 {0x3c, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_timer}, |
|
103 {0x3d, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_u}, |
|
104 {0x3e, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_setvar}, |
|
105 {0x3f, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_wml} |
|
106 }; |
|
107 |
|
108 /* |
|
109 * tag entries - sorted by name |
|
110 */ |
|
111 static const |
|
112 NW_Byte NW_Wml_1_3_tag_name_0[36] = { |
|
113 1, |
|
114 8, |
|
115 7, |
|
116 9, |
|
117 10, |
|
118 11, |
|
119 12, |
|
120 13, |
|
121 14, |
|
122 15, |
|
123 16, |
|
124 17, |
|
125 18, |
|
126 19, |
|
127 20, |
|
128 21, |
|
129 22, |
|
130 24, |
|
131 25, |
|
132 26, |
|
133 5, |
|
134 6, |
|
135 0, |
|
136 23, |
|
137 27, |
|
138 28, |
|
139 34, |
|
140 29, |
|
141 30, |
|
142 4, |
|
143 2, |
|
144 31, |
|
145 32, |
|
146 3, |
|
147 33, |
|
148 35, |
|
149 }; |
|
150 |
|
151 static const NW_Ucs2 NW_Wml_1_3_ElementTag_zzzunknown[] = {'z','z','z','u','n','k','n','o','w','n','\0'}; |
|
152 |
|
153 /* |
|
154 * tag entries - sorted by token |
|
155 */ |
|
156 static const |
|
157 NW_WBXML_DictEntry_t NW_Wml_1_3_tag_token_1[1] = { |
|
158 {0x18, (NW_String_UCS2Buff_t *) NW_Wml_1_3_ElementTag_zzzunknown} |
|
159 }; |
|
160 |
|
161 /* |
|
162 * tag entries - sorted by name |
|
163 */ |
|
164 static const |
|
165 NW_Byte NW_Wml_1_3_tag_name_1[1] = { |
|
166 0, |
|
167 }; |
|
168 |
|
169 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_accept_charset[] = {'a','c','c','e','p','t','-','c','h','a','r','s','e','t','\0'}; |
|
170 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_align_bottom[] = {'a','l','i','g','n','=','b','o','t','t','o','m','\0'}; |
|
171 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_align_center[] = {'a','l','i','g','n','=','c','e','n','t','e','r','\0'}; |
|
172 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_align_left[] = {'a','l','i','g','n','=','l','e','f','t','\0'}; |
|
173 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_align_middle[] = {'a','l','i','g','n','=','m','i','d','d','l','e','\0'}; |
|
174 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_align_right[] = {'a','l','i','g','n','=','r','i','g','h','t','\0'}; |
|
175 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_align_top[] = {'a','l','i','g','n','=','t','o','p','\0'}; |
|
176 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_alt[] = {'a','l','t','\0'}; |
|
177 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_content[] = {'c','o','n','t','e','n','t','\0'}; |
|
178 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_domain[] = {'d','o','m','a','i','n','\0'}; |
|
179 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_emptyok_false[] = {'e','m','p','t','y','o','k','=','f','a','l','s','e','\0'}; |
|
180 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_emptyok_true[] = {'e','m','p','t','y','o','k','=','t','r','u','e','\0'}; |
|
181 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_format[] = {'f','o','r','m','a','t','\0'}; |
|
182 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_height[] = {'h','e','i','g','h','t','\0'}; |
|
183 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_hspace[] = {'h','s','p','a','c','e','\0'}; |
|
184 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_ivalue[] = {'i','v','a','l','u','e','\0'}; |
|
185 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_iname[] = {'i','n','a','m','e','\0'}; |
|
186 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_label[] = {'l','a','b','e','l','\0'}; |
|
187 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_localsrc[] = {'l','o','c','a','l','s','r','c','\0'}; |
|
188 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_maxlength[] = {'m','a','x','l','e','n','g','t','h','\0'}; |
|
189 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_method_get[] = {'m','e','t','h','o','d','=','g','e','t','\0'}; |
|
190 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_method_post[] = {'m','e','t','h','o','d','=','p','o','s','t','\0'}; |
|
191 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_mode_nowrap[] = {'m','o','d','e','=','n','o','w','r','a','p','\0'}; |
|
192 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_mode_wrap[] = {'m','o','d','e','=','w','r','a','p','\0'}; |
|
193 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_multiple_false[] = {'m','u','l','t','i','p','l','e','=','f','a','l','s','e','\0'}; |
|
194 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_multiple_true[] = {'m','u','l','t','i','p','l','e','=','t','r','u','e','\0'}; |
|
195 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_name[] = {'n','a','m','e','\0'}; |
|
196 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_newcontext_false[] = {'n','e','w','c','o','n','t','e','x','t','=','f','a','l','s','e','\0'}; |
|
197 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_newcontext_true[] = {'n','e','w','c','o','n','t','e','x','t','=','t','r','u','e','\0'}; |
|
198 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_onpick[] = {'o','n','p','i','c','k','\0'}; |
|
199 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_onenterbackward[] = {'o','n','e','n','t','e','r','b','a','c','k','w','a','r','d','\0'}; |
|
200 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_onenterforward[] = {'o','n','e','n','t','e','r','f','o','r','w','a','r','d','\0'}; |
|
201 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_ontimer[] = {'o','n','t','i','m','e','r','\0'}; |
|
202 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_optional_false[] = {'o','p','t','i','o','n','a','l','=','f','a','l','s','e','\0'}; |
|
203 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_optional_true[] = {'o','p','t','i','o','n','a','l','=','t','r','u','e','\0'}; |
|
204 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_path[] = {'p','a','t','h','\0'}; |
|
205 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_scheme[] = {'s','c','h','e','m','e','\0'}; |
|
206 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_sendreferer_false[] = {'s','e','n','d','r','e','f','e','r','e','r','=','f','a','l','s','e','\0'}; |
|
207 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_sendreferer_true[] = {'s','e','n','d','r','e','f','e','r','e','r','=','t','r','u','e','\0'}; |
|
208 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_size[] = {'s','i','z','e','\0'}; |
|
209 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_src[] = {'s','r','c','\0'}; |
|
210 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_ordered_true[] = {'o','r','d','e','r','e','d','=','t','r','u','e','\0'}; |
|
211 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_ordered_false[] = {'o','r','d','e','r','e','d','=','f','a','l','s','e','\0'}; |
|
212 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_tabindex[] = {'t','a','b','i','n','d','e','x','\0'}; |
|
213 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_title[] = {'t','i','t','l','e','\0'}; |
|
214 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_type[] = {'t','y','p','e','\0'}; |
|
215 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_type_accept[] = {'t','y','p','e','=','a','c','c','e','p','t','\0'}; |
|
216 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_type_delete[] = {'t','y','p','e','=','d','e','l','e','t','e','\0'}; |
|
217 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_type_help[] = {'t','y','p','e','=','h','e','l','p','\0'}; |
|
218 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_type_password[] = {'t','y','p','e','=','p','a','s','s','w','o','r','d','\0'}; |
|
219 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_type_onpick[] = {'t','y','p','e','=','o','n','p','i','c','k','\0'}; |
|
220 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_type_onenterbackward[] = {'t','y','p','e','=','o','n','e','n','t','e','r','b','a','c','k','w','a','r','d','\0'}; |
|
221 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_type_onenterforward[] = {'t','y','p','e','=','o','n','e','n','t','e','r','f','o','r','w','a','r','d','\0'}; |
|
222 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_type_ontimer[] = {'t','y','p','e','=','o','n','t','i','m','e','r','\0'}; |
|
223 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_zzzunknown[] = {'z','z','z','u','n','k','n','o','w','n','\0'}; |
|
224 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_type_options[] = {'t','y','p','e','=','o','p','t','i','o','n','s','\0'}; |
|
225 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_type_prev[] = {'t','y','p','e','=','p','r','e','v','\0'}; |
|
226 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_type_reset[] = {'t','y','p','e','=','r','e','s','e','t','\0'}; |
|
227 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_type_text[] = {'t','y','p','e','=','t','e','x','t','\0'}; |
|
228 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_type_vnd_[] = {'t','y','p','e','=','v','n','d','.','\0'}; |
|
229 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_href[] = {'h','r','e','f','\0'}; |
|
230 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_href_http___[] = {'h','r','e','f','=','h','t','t','p',':','/','/','\0'}; |
|
231 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_href_https___[] = {'h','r','e','f','=','h','t','t','p','s',':','/','/','\0'}; |
|
232 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_value[] = {'v','a','l','u','e','\0'}; |
|
233 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_vspace[] = {'v','s','p','a','c','e','\0'}; |
|
234 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_width[] = {'w','i','d','t','h','\0'}; |
|
235 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_xml_lang[] = {'x','m','l',':','l','a','n','g','\0'}; |
|
236 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_align[] = {'a','l','i','g','n','\0'}; |
|
237 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_columns[] = {'c','o','l','u','m','n','s','\0'}; |
|
238 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_class[] = {'c','l','a','s','s','\0'}; |
|
239 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_id[] = {'i','d','\0'}; |
|
240 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_forua_false[] = {'f','o','r','u','a','=','f','a','l','s','e','\0'}; |
|
241 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_forua_true[] = {'f','o','r','u','a','=','t','r','u','e','\0'}; |
|
242 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_src_http___[] = {'s','r','c','=','h','t','t','p',':','/','/','\0'}; |
|
243 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_src_https___[] = {'s','r','c','=','h','t','t','p','s',':','/','/','\0'}; |
|
244 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_http_equiv[] = {'h','t','t','p','-','e','q','u','i','v','\0'}; |
|
245 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_http_equiv_Content_Type[] = {'h','t','t','p','-','e','q','u','i','v','=','C','o','n','t','e','n','t','-','T','y','p','e','\0'}; |
|
246 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_content_application_vnd_wap_wmlc_charset_[] = {'c','o','n','t','e','n','t','=','a','p','p','l','i','c','a','t','i','o','n','/','v','n','d','.','w','a','p','.','w','m','l','c',';','c','h','a','r','s','e','t','=','\0'}; |
|
247 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_http_equiv_Expires[] = {'h','t','t','p','-','e','q','u','i','v','=','E','x','p','i','r','e','s','\0'}; |
|
248 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_accesskey[] = {'a','c','c','e','s','s','k','e','y','\0'}; |
|
249 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_enctype[] = {'e','n','c','t','y','p','e','\0'}; |
|
250 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_enctype_application_x_www_form_urlencoded[] = {'e','n','c','t','y','p','e','=','a','p','p','l','i','c','a','t','i','o','n','/','x','-','w','w','w','-','f','o','r','m','-','u','r','l','e','n','c','o','d','e','d','\0'}; |
|
251 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_enctype_multipart_form_data[] = {'e','n','c','t','y','p','e','=','m','u','l','t','i','p','a','r','t','/','f','o','r','m','-','d','a','t','a','\0'}; |
|
252 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_xml_space_preserve[] = {'x','m','l',':','s','p','a','c','e','=','p','r','e','s','e','r','v','e','\0'}; |
|
253 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_xml_space_default[] = {'x','m','l',':','s','p','a','c','e','=','d','e','f','a','u','l','t','\0'}; |
|
254 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_cache_control_no_cache[] = {'c','a','c','h','e','-','c','o','n','t','r','o','l','=','n','o','-','c','a','c','h','e','\0'}; |
|
255 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_cache_control[] = {'c','a','c','h','e','-','c','o','n','t','r','o','l','\0'}; |
|
256 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_emptyok[] = {'e','m','p','t','y','o','k','\0'}; |
|
257 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_forua[] = {'f','o','r','u','a','\0'}; |
|
258 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_method[] = {'m','e','t','h','o','d','\0'}; |
|
259 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_mode[] = {'m','o','d','e','\0'}; |
|
260 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_multiple[] = {'m','u','l','t','i','p','l','e','\0'}; |
|
261 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_optional[] = {'o','p','t','i','o','n','a','l','\0'}; |
|
262 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_newcontext[] = {'n','e','w','c','o','n','t','e','x','t','\0'}; |
|
263 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_ordered[] = {'o','r','d','e','r','e','d','\0'}; |
|
264 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_sendreferer[] = {'s','e','n','d','r','e','f','e','r','e','r','\0'}; |
|
265 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_xml_space[] = {'x','m','l',':','s','p','a','c','e','\0'}; |
|
266 static const NW_Ucs2 NW_Wml_1_3_AttributeTag__com_[] = {'.','c','o','m','/','\0'}; |
|
267 static const NW_Ucs2 NW_Wml_1_3_AttributeTag__edu_[] = {'.','e','d','u','/','\0'}; |
|
268 static const NW_Ucs2 NW_Wml_1_3_AttributeTag__net_[] = {'.','n','e','t','/','\0'}; |
|
269 static const NW_Ucs2 NW_Wml_1_3_AttributeTag__org_[] = {'.','o','r','g','/','\0'}; |
|
270 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_accept[] = {'a','c','c','e','p','t','\0'}; |
|
271 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_bottom[] = {'b','o','t','t','o','m','\0'}; |
|
272 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_clear[] = {'c','l','e','a','r','\0'}; |
|
273 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_delete[] = {'d','e','l','e','t','e','\0'}; |
|
274 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_help[] = {'h','e','l','p','\0'}; |
|
275 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_http___[] = {'h','t','t','p',':','/','/','\0'}; |
|
276 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_http___www_[] = {'h','t','t','p',':','/','/','w','w','w','.','\0'}; |
|
277 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_https___[] = {'h','t','t','p','s',':','/','/','\0'}; |
|
278 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_https___www_[] = {'h','t','t','p','s',':','/','/','w','w','w','.','\0'}; |
|
279 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_middle[] = {'m','i','d','d','l','e','\0'}; |
|
280 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_nowrap[] = {'n','o','w','r','a','p','\0'}; |
|
281 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_options[] = {'o','p','t','i','o','n','s','\0'}; |
|
282 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_password[] = {'p','a','s','s','w','o','r','d','\0'}; |
|
283 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_reset[] = {'r','e','s','e','t','\0'}; |
|
284 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_text[] = {'t','e','x','t','\0'}; |
|
285 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_top[] = {'t','o','p','\0'}; |
|
286 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_unknown[] = {'u','n','k','n','o','w','n','\0'}; |
|
287 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_www_[] = {'w','w','w','.','\0'}; |
|
288 static const NW_Ucs2 NW_Wml_1_3_AttributeTag_wrap[] = {'w','r','a','p','\0'}; |
|
289 |
|
290 /* |
|
291 ** The following 4 definisions are to handle duplicated tag names. |
|
292 ** This duplication is due to having the same "tag name" for attribute name and value. |
|
293 */ |
|
294 |
|
295 #define NW_Wml_1_3_AttributeValueTag_onpick NW_Wml_1_3_AttributeTag_onpick |
|
296 #define NW_Wml_1_3_AttributeValueTag_onenterbackward NW_Wml_1_3_AttributeTag_onenterbackward |
|
297 #define NW_Wml_1_3_AttributeValueTag_onenterforward NW_Wml_1_3_AttributeTag_onenterforward |
|
298 #define NW_Wml_1_3_AttributeValueTag_ontimer NW_Wml_1_3_AttributeTag_ontimer |
|
299 |
|
300 /* |
|
301 * attribute entries - sorted by token |
|
302 */ |
|
303 static const |
|
304 NW_WBXML_DictEntry_t NW_Wml_1_3_attribute_token_0[124] = { |
|
305 {0x05, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_accept_charset}, |
|
306 {0x06, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_align_bottom}, |
|
307 {0x07, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_align_center}, |
|
308 {0x08, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_align_left}, |
|
309 {0x09, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_align_middle}, |
|
310 {0x0a, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_align_right}, |
|
311 {0x0b, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_align_top}, |
|
312 {0x0c, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_alt}, |
|
313 {0x0d, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_content}, |
|
314 {0x0f, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_domain}, |
|
315 {0x10, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_emptyok_false}, |
|
316 {0x11, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_emptyok_true}, |
|
317 {0x12, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_format}, |
|
318 {0x13, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_height}, |
|
319 {0x14, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_hspace}, |
|
320 {0x15, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_ivalue}, |
|
321 {0x16, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_iname}, |
|
322 {0x18, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_label}, |
|
323 {0x19, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_localsrc}, |
|
324 {0x1a, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_maxlength}, |
|
325 {0x1b, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_method_get}, |
|
326 {0x1c, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_method_post}, |
|
327 {0x1d, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_mode_nowrap}, |
|
328 {0x1e, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_mode_wrap}, |
|
329 {0x1f, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_multiple_false}, |
|
330 {0x20, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_multiple_true}, |
|
331 {0x21, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_name}, |
|
332 {0x22, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_newcontext_false}, |
|
333 {0x23, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_newcontext_true}, |
|
334 {0x24, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_onpick}, |
|
335 {0x25, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_onenterbackward}, |
|
336 {0x26, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_onenterforward}, |
|
337 {0x27, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_ontimer}, |
|
338 {0x28, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_optional_false}, |
|
339 {0x29, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_optional_true}, |
|
340 {0x2a, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_path}, |
|
341 {0x2e, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_scheme}, |
|
342 {0x2f, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_sendreferer_false}, |
|
343 {0x30, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_sendreferer_true}, |
|
344 {0x31, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_size}, |
|
345 {0x32, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_src}, |
|
346 {0x33, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_ordered_true}, |
|
347 {0x34, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_ordered_false}, |
|
348 {0x35, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_tabindex}, |
|
349 {0x36, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_title}, |
|
350 {0x37, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_type}, |
|
351 {0x38, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_type_accept}, |
|
352 {0x39, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_type_delete}, |
|
353 {0x3a, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_type_help}, |
|
354 {0x3b, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_type_password}, |
|
355 {0x3c, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_type_onpick}, |
|
356 {0x3d, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_type_onenterbackward}, |
|
357 {0x3e, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_type_onenterforward}, |
|
358 {0x3f, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_type_ontimer}, |
|
359 {0x40, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_zzzunknown}, |
|
360 {0x45, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_type_options}, |
|
361 {0x46, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_type_prev}, |
|
362 {0x47, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_type_reset}, |
|
363 {0x48, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_type_text}, |
|
364 {0x49, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_type_vnd_}, |
|
365 {0x4a, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_href}, |
|
366 {0x4b, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_href_http___}, |
|
367 {0x4c, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_href_https___}, |
|
368 {0x4d, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_value}, |
|
369 {0x4e, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_vspace}, |
|
370 {0x4f, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_width}, |
|
371 {0x50, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_xml_lang}, |
|
372 {0x52, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_align}, |
|
373 {0x53, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_columns}, |
|
374 {0x54, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_class}, |
|
375 {0x55, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_id}, |
|
376 {0x56, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_forua_false}, |
|
377 {0x57, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_forua_true}, |
|
378 {0x58, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_src_http___}, |
|
379 {0x59, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_src_https___}, |
|
380 {0x5a, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_http_equiv}, |
|
381 {0x5b, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_http_equiv_Content_Type}, |
|
382 {0x5c, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_content_application_vnd_wap_wmlc_charset_}, |
|
383 {0x5d, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_http_equiv_Expires}, |
|
384 {0x5e, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_accesskey}, |
|
385 {0x5f, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_enctype}, |
|
386 {0x60, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_enctype_application_x_www_form_urlencoded}, |
|
387 {0x61, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_enctype_multipart_form_data}, |
|
388 {0x62, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_xml_space_preserve}, |
|
389 {0x63, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_xml_space_default}, |
|
390 {0x64, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_cache_control_no_cache}, |
|
391 {0x65, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_cache_control}, |
|
392 {0x66, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_emptyok}, |
|
393 {0x67, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_forua}, |
|
394 {0x68, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_method}, |
|
395 {0x69, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_mode}, |
|
396 {0x6a, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_multiple}, |
|
397 {0x6b, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_optional}, |
|
398 {0x6c, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_newcontext}, |
|
399 {0x6d, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_ordered}, |
|
400 {0x6e, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_sendreferer}, |
|
401 {0x6f, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_xml_space}, |
|
402 {0x85, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag__com_}, |
|
403 {0x86, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag__edu_}, |
|
404 {0x87, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag__net_}, |
|
405 {0x88, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag__org_}, |
|
406 {0x89, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_accept}, |
|
407 {0x8a, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_bottom}, |
|
408 {0x8b, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_clear}, |
|
409 {0x8c, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_delete}, |
|
410 {0x8d, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_help}, |
|
411 {0x8e, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_http___}, |
|
412 {0x8f, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_http___www_}, |
|
413 {0x90, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_https___}, |
|
414 {0x91, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_https___www_}, |
|
415 {0x93, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_middle}, |
|
416 {0x94, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_nowrap}, |
|
417 {0x95, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeValueTag_onpick}, |
|
418 {0x96, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeValueTag_onenterbackward}, |
|
419 {0x97, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeValueTag_onenterforward}, |
|
420 {0x98, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeValueTag_ontimer}, |
|
421 {0x99, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_options}, |
|
422 {0x9a, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_password}, |
|
423 {0x9b, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_reset}, |
|
424 {0x9d, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_text}, |
|
425 {0x9e, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_top}, |
|
426 {0x9f, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_unknown}, |
|
427 {0xa0, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_wrap}, |
|
428 {0xa1, (NW_String_UCS2Buff_t *) NW_Wml_1_3_AttributeTag_www_} |
|
429 }; |
|
430 |
|
431 /* |
|
432 * attribute entries - sorted by name |
|
433 */ |
|
434 static const |
|
435 NW_Byte NW_Wml_1_3_attribute_name_0[124] = { |
|
436 97, |
|
437 98, |
|
438 99, |
|
439 100, |
|
440 101, |
|
441 0, |
|
442 79, |
|
443 67, |
|
444 1, |
|
445 2, |
|
446 3, |
|
447 4, |
|
448 5, |
|
449 6, |
|
450 7, |
|
451 102, |
|
452 86, |
|
453 85, |
|
454 69, |
|
455 103, |
|
456 68, |
|
457 8, |
|
458 77, |
|
459 104, |
|
460 9, |
|
461 87, |
|
462 10, |
|
463 11, |
|
464 80, |
|
465 81, |
|
466 82, |
|
467 12, |
|
468 88, |
|
469 71, |
|
470 72, |
|
471 13, |
|
472 105, |
|
473 60, |
|
474 61, |
|
475 62, |
|
476 14, |
|
477 75, |
|
478 76, |
|
479 78, |
|
480 106, |
|
481 107, |
|
482 108, |
|
483 109, |
|
484 70, |
|
485 16, |
|
486 15, |
|
487 17, |
|
488 18, |
|
489 19, |
|
490 89, |
|
491 20, |
|
492 21, |
|
493 110, |
|
494 90, |
|
495 22, |
|
496 23, |
|
497 91, |
|
498 24, |
|
499 25, |
|
500 26, |
|
501 93, |
|
502 27, |
|
503 28, |
|
504 111, |
|
505 30, |
|
506 113, |
|
507 31, |
|
508 114, |
|
509 29, |
|
510 112, |
|
511 32, |
|
512 115, |
|
513 92, |
|
514 33, |
|
515 34, |
|
516 116, |
|
517 94, |
|
518 42, |
|
519 41, |
|
520 117, |
|
521 35, |
|
522 118, |
|
523 36, |
|
524 95, |
|
525 37, |
|
526 38, |
|
527 39, |
|
528 40, |
|
529 73, |
|
530 74, |
|
531 43, |
|
532 119, |
|
533 44, |
|
534 120, |
|
535 45, |
|
536 46, |
|
537 47, |
|
538 48, |
|
539 51, |
|
540 52, |
|
541 50, |
|
542 53, |
|
543 55, |
|
544 49, |
|
545 56, |
|
546 57, |
|
547 58, |
|
548 59, |
|
549 121, |
|
550 63, |
|
551 64, |
|
552 65, |
|
553 122, |
|
554 123, |
|
555 66, |
|
556 96, |
|
557 84, |
|
558 83, |
|
559 54, |
|
560 }; |
|
561 |
|
562 /* |
|
563 * Tag codepage table |
|
564 */ |
|
565 static const |
|
566 NW_WBXML_Codepage_t NW_Wml_1_3_tag_codepages[2] = { |
|
567 {36, (NW_WBXML_DictEntry_t*)&NW_Wml_1_3_tag_token_0[0], (NW_Byte *)&NW_Wml_1_3_tag_name_0[0]}, |
|
568 {1, (NW_WBXML_DictEntry_t*)&NW_Wml_1_3_tag_token_1[0], (NW_Byte *)&NW_Wml_1_3_tag_name_1[0]}, |
|
569 }; |
|
570 |
|
571 /* |
|
572 * Attribute codepage table |
|
573 */ |
|
574 static const |
|
575 NW_WBXML_Codepage_t NW_Wml_1_3_attribute_codepages[1] = { |
|
576 {124, (NW_WBXML_DictEntry_t*)&NW_Wml_1_3_attribute_token_0[0], (NW_Byte *)&NW_Wml_1_3_attribute_name_0[0]}, |
|
577 }; |
|
578 |
|
579 static const NW_Ucs2 NW_Wml_1_0_docType[] = {'-','/','/','W','A','P','F','O','R','U','M','/','/','D','T','D',' ','W','M','L',' ','1','.','0','/','/','E','N','\0'}; |
|
580 static const NW_Ucs2 NW_Wml_1_1_docType[] = {'-','/','/','W','A','P','F','O','R','U','M','/','/','D','T','D',' ','W','M','L',' ','1','.','1','/','/','E','N','\0'}; |
|
581 static const NW_Ucs2 NW_Wml_1_2_docType[] = {'-','/','/','W','A','P','F','O','R','U','M','/','/','D','T','D',' ','W','M','L',' ','1','.','2','/','/','E','N','\0'}; |
|
582 static const NW_Ucs2 NW_Wml_1_3_docType[] = {'-','/','/','W','A','P','F','O','R','U','M','/','/','D','T','D',' ','W','M','L',' ','1','.','3','/','/','E','N','\0'}; |
|
583 |
|
584 /* |
|
585 * Dictionaries |
|
586 */ |
|
587 const NW_WBXML_Dictionary_t NW_Wml_1_0_WBXMLDictionary = { |
|
588 NW_Wml_1_0_PublicId, |
|
589 (NW_Ucs2 *)NW_Wml_1_0_docType, |
|
590 2, (NW_WBXML_Codepage_t*)&NW_Wml_1_3_tag_codepages[0], |
|
591 1, (NW_WBXML_Codepage_t*)&NW_Wml_1_3_attribute_codepages[0], |
|
592 }; |
|
593 |
|
594 const NW_WBXML_Dictionary_t NW_Wml_1_1_WBXMLDictionary = { |
|
595 NW_Wml_1_1_PublicId, |
|
596 (NW_Ucs2 *)NW_Wml_1_1_docType, |
|
597 2, (NW_WBXML_Codepage_t*)&NW_Wml_1_3_tag_codepages[0], |
|
598 1, (NW_WBXML_Codepage_t*)&NW_Wml_1_3_attribute_codepages[0], |
|
599 }; |
|
600 |
|
601 const NW_WBXML_Dictionary_t NW_Wml_1_2_WBXMLDictionary = { |
|
602 NW_Wml_1_2_PublicId, |
|
603 (NW_Ucs2 *)NW_Wml_1_2_docType, |
|
604 2, (NW_WBXML_Codepage_t*)&NW_Wml_1_3_tag_codepages[0], |
|
605 1, (NW_WBXML_Codepage_t*)&NW_Wml_1_3_attribute_codepages[0], |
|
606 }; |
|
607 |
|
608 const NW_WBXML_Dictionary_t NW_Wml_1_3_WBXMLDictionary = { |
|
609 NW_Wml_1_3_PublicId, |
|
610 (NW_Ucs2 *)NW_Wml_1_3_docType, |
|
611 2, (NW_WBXML_Codepage_t*)&NW_Wml_1_3_tag_codepages[0], |
|
612 1, (NW_WBXML_Codepage_t*)&NW_Wml_1_3_attribute_codepages[0], |
|
613 }; |