/*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/
/*
** NOTE:
**
** We are currently hand editing this file and nw_xhtml_xhtml_1_0_tokens.h.
**
** However, I did use the dict_create.exe program in cxml\dictionary to generate
** and then merge with these files.
**
** Joel Parks 2002.08.27
**
** This file generated on Tue Aug 27 15:33:29 2002
** (coordinated universal time)
**
** Command line: dict_creator xhtml_1_0.dict xhtml_1_0_dict.c nw_xhtml_xhtml_1_0_tokens.h
*/
/*
* Dictionary = XHTML_1_0
* Public id = 4
* Doc Type = -//WAPFORUM//DTD WML 2.0//EN
*/
#include "nw_xhtml_xhtml_1_0_tokens.h"
#include <nw_wbxml_dictionary.h>
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_body[] = {'b','o','d','y','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_head[] = {'h','e','a','d','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_html[] = {'h','t','m','l','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_title[] = {'t','i','t','l','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_kbd[] = {'k','b','d','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_meta[] = {'m','e','t','a','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_abbr[] = {'a','b','b','r','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_acronym[] = {'a','c','r','o','n','y','m','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_address[] = {'a','d','d','r','e','s','s','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_br[] = {'b','r','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_cite[] = {'c','i','t','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_dfn[] = {'d','f','n','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_div[] = {'d','i','v','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_em[] = {'e','m','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_h1[] = {'h','1','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_h2[] = {'h','2','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_h3[] = {'h','3','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_h4[] = {'h','4','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_h5[] = {'h','5','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_h6[] = {'h','6','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_p[] = {'p','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_q[] = {'q','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_strong[] = {'s','t','r','o','n','g','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_var[] = {'v','a','r','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_blockquote[] = {'b','l','o','c','k','q','u','o','t','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_pre[] = {'p','r','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_b[] = {'b','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_a[] = {'a','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_link[] = {'l','i','n','k','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_code[] = {'c','o','d','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_big[] = {'b','i','g','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_base[] = {'b','a','s','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_marquee[] = {'m','a','r','q','u','e','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_hr[] = {'h','r','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_span[] = {'s','p','a','n','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_i[] = {'i','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_small[] = {'s','m','a','l','l','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_u[] = {'u','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_dl[] = {'d','l','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_dt[] = {'d','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_dd[] = {'d','d','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_ol[] = {'o','l','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_ul[] = {'u','l','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_li[] = {'l','i','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_fieldset[] = {'f','i','e','l','d','s','e','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_input[] = {'i','n','p','u','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_form[] = {'f','o','r','m','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_label[] = {'l','a','b','e','l','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_select[] = {'s','e','l','e','c','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_option[] = {'o','p','t','i','o','n','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_optgroup[] = {'o','p','t','g','r','o','u','p','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_textarea[] = {'t','e','x','t','a','r','e','a','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_caption[] = {'c','a','p','t','i','o','n','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_table[] = {'t','a','b','l','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_td[] = {'t','d','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_th[] = {'t','h','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_tr[] = {'t','r','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_img[] = {'i','m','g','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_style[] = {'s','t','y','l','e','\0'};
/*
* tag entries - sorted by token
*/
static const
NW_WBXML_DictEntry_t XHTML_1_0_tag_token_0[59] = {
{0x05, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_body},
{0x06, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_head},
{0x07, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_html},
{0x08, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_title},
{0x09, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_kbd},
{0x0a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_meta},
{0x0b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_abbr},
{0x0c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_acronym},
{0x0d, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_address},
{0x0e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_br},
{0x0f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_cite},
{0x10, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_dfn},
{0x11, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_div},
{0x12, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_em},
{0x13, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_h1},
{0x14, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_h2},
{0x15, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_h3},
{0x16, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_h4},
{0x17, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_h5},
{0x18, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_h6},
{0x19, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_p},
{0x1a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_q},
{0x1b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_strong},
{0x1c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_var},
{0x1d, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_blockquote},
{0x1e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_pre},
{0x1f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_b},
{0x20, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_a},
{0x21, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_link},
{0x22, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_code},
{0x23, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_big},
{0x24, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_base},
{0x25, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_marquee},
{0x26, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_hr},
{0x27, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_span},
{0x28, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_i},
{0x29, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_small},
{0x2a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_u},
{0x2b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_dl},
{0x2c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_dt},
{0x2d, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_dd},
{0x2e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_ol},
{0x2f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_ul},
{0x30, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_li},
{0x31, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_fieldset},
{0x32, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_input},
{0x33, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_form},
{0x34, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_label},
{0x35, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_select},
{0x36, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_option},
{0x37, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_optgroup},
{0x38, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_textarea},
{0x39, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_caption},
{0x3a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_table},
{0x3b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_td},
{0x3c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_th},
{0x3d, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_tr},
{0x3e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_img},
{0x3f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_style}
};
/*
* tag entries - sorted by name
*/
static const
NW_Byte XHTML_1_0_tag_name_0[59] = {
27,
6,
7,
8,
26,
31,
30,
24,
0,
9,
52,
10,
29,
40,
11,
12,
38,
39,
13,
44,
46,
14,
15,
16,
17,
18,
19,
1,
33,
2,
35,
57,
45,
4,
47,
43,
28,
32,
5,
41,
50,
49,
20,
25,
21,
48,
36,
34,
22,
58,
53,
54,
51,
55,
3,
56,
37,
42,
23,
};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_samp[] = {'s','a','m','p','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_thead[] = {'t','h','e','a','d','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_tbody[] = {'t','b','o','d','y','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_tfoot[] = {'t','f','o','o','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_noscript[] = {'n','o','s','c','r','i','p','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_script[] = {'s','c','r','i','p','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_zzzunknown[] = {'z','z','z','u','n','k','n','o','w','n','\0'};
/*
* tag entries - sorted by token
*/
static const
NW_WBXML_DictEntry_t XHTML_1_0_tag_token_1[7] = {
{0x14, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_samp},
{0x15, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_thead},
{0x16, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_tbody},
{0x17, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_tfoot},
{0x18, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_noscript},
{0x19, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_script},
{0x1a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_zzzunknown}
};
/*
* tag entries - sorted by name
*/
static const
NW_Byte XHTML_1_0_tag_name_1[7] = {
4,
0,
5,
2,
3,
1,
6,
};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_abbr[] = {'a','b','b','r','\0'};
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'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_accept[] = {'a','c','c','e','p','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_accesskey[] = {'a','c','c','e','s','s','k','e','y','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_action[] = {'a','c','t','i','o','n','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_align[] = {'a','l','i','g','n','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_alink[] = {'a','l','i','n','k','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_alt[] = {'a','l','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_axis[] = {'a','x','i','s','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_bgcolor[] = {'b','g','c','o','l','o','r','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_border[] = {'b','o','r','d','e','r','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_cellpadding[] = {'c','e','l','l','p','a','d','d','i','n','g','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_char[] = {'c','h','a','r','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_charoff[] = {'c','h','a','r','o','f','f','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_charset[] = {'c','h','a','r','s','e','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_checked[] = {'c','h','e','c','k','e','d','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_cite[] = {'c','i','t','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_class[] = {'c','l','a','s','s','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_clear[] = {'c','l','e','a','r','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_code[] = {'c','o','d','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_codebase[] = {'c','o','d','e','b','a','s','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_codetype[] = {'c','o','d','e','t','y','p','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_color[] = {'c','o','l','o','r','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_cols[] = {'c','o','l','s','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_colspan[] = {'c','o','l','s','p','a','n','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_dir[] = {'d','i','r','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_disabled[] = {'d','i','s','a','b','l','e','d','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_enctype[] = {'e','n','c','t','y','p','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_height[] = {'h','e','i','g','h','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_href[] = {'h','r','e','f','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_hspace[] = {'h','s','p','a','c','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_id[] = {'i','d','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_label[] = {'l','a','b','e','l','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_link[] = {'l','i','n','k','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_maxlength[] = {'m','a','x','l','e','n','g','t','h','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_media[] = {'m','e','d','i','a','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_method[] = {'m','e','t','h','o','d','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_multiple[] = {'m','u','l','t','i','p','l','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_name[] = {'n','a','m','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_noshade[] = {'n','o','s','h','a','d','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_nowrap[] = {'n','o','w','r','a','p','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_readonly[] = {'r','e','a','d','o','n','l','y','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_rel[] = {'r','e','l','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_rev[] = {'r','e','v','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_rows[] = {'r','o','w','s','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_rowspan[] = {'r','o','w','s','p','a','n','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_selected[] = {'s','e','l','e','c','t','e','d','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_size[] = {'s','i','z','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_src[] = {'s','r','c','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_start[] = {'s','t','a','r','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_style[] = {'s','t','y','l','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_tabindex[] = {'t','a','b','i','n','d','e','x','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_title[] = {'t','i','t','l','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_type[] = {'t','y','p','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_valign[] = {'v','a','l','i','g','n','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_value[] = {'v','a','l','u','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_version[] = {'v','e','r','s','i','o','n','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_vspace[] = {'v','s','p','a','c','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_width[] = {'w','i','d','t','h','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_none[] = {'n','o','n','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_left[] = {'l','e','f','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_right[] = {'r','i','g','h','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_normal[] = {'n','o','r','m','a','l','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_italic[] = {'i','t','a','l','i','c','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_bold[] = {'b','o','l','d','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_circle[] = {'c','i','r','c','l','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_disc[] = {'d','i','s','c','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_square[] = {'s','q','u','a','r','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_always[] = {'a','l','w','a','y','s','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_avoid[] = {'a','v','o','i','d','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_center[] = {'c','e','n','t','e','r','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_justify[] = {'j','u','s','t','i','f','y','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_underline[] = {'u','n','d','e','r','l','i','n','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_blink[] = {'b','l','i','n','k','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_marquee[] = {'m','a','r','q','u','e','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_top[] = {'t','o','p','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_middle[] = {'m','i','d','d','l','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_bottom[] = {'b','o','t','t','o','m','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_baseline[] = {'b','a','s','e','l','i','n','e','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_get[] = {'g','e','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_post[] = {'p','o','s','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_ltr[] = {'l','t','r','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_rtl[] = {'r','t','l','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_yes[] = {'y','e','s','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_no[] = {'n','o','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_auto[] = {'a','u','t','o','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_button[] = {'b','u','t','t','o','n','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_submit[] = {'s','u','b','m','i','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_reset[] = {'r','e','s','e','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag__1[] = {'1','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_all[] = {'a','l','l','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_text[] = {'t','e','x','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_password[] = {'p','a','s','s','w','o','r','d','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_checkbox[] = {'c','h','e','c','k','b','o','x','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_radio[] = {'r','a','d','i','o','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_hidden[] = {'h','i','d','d','e','n','\0'};
/*
* attribute entries - sorted by token
*/
static const
NW_WBXML_DictEntry_t XHTML_1_0_attribute_token_0[96] = {
{0x05, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_abbr},
{0x06, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_accept_charset},
{0x07, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_accept},
{0x08, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_accesskey},
{0x09, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_action},
{0x0a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_align},
{0x0b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_alink},
{0x0c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_alt},
{0x0e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_axis},
{0x10, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_bgcolor},
{0x11, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_border},
{0x12, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_cellpadding},
{0x13, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_char},
{0x14, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_charoff},
{0x15, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_charset},
{0x16, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_checked},
{0x17, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_cite},
{0x18, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_class},
{0x1a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_clear},
{0x1b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_code},
{0x1c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_codebase},
{0x1d, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_codetype},
{0x1e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_color},
{0x1f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_cols},
{0x20, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_colspan},
{0x28, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_dir},
{0x29, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_disabled},
{0x2a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_enctype},
{0x30, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_height},
{0x31, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_href},
{0x33, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_hspace},
{0x35, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_id},
{0x37, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_label},
{0x3a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_link},
{0x3e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_maxlength},
{0x3f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_media},
{0x45, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_method},
{0x46, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_multiple},
{0x47, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_name},
{0x4a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_noshade},
{0x4b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_nowrap},
{0x61, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_readonly},
{0x62, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_rel},
{0x63, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_rev},
{0x64, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_rows},
{0x65, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_rowspan},
{0x6a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_selected},
{0x6c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_size},
{0x6e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_src},
{0x70, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_start},
{0x71, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_style},
{0x73, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_tabindex},
{0x76, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_title},
{0x77, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_type},
{0x79, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_valign},
{0x7a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_value},
{0x7c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_version},
{0x7e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_vspace},
{0x7f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_width},
{0x85, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_none},
{0x86, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_left},
{0x87, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_right},
{0x88, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_normal},
{0x89, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_italic},
{0x8a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_bold},
{0x8b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_circle},
{0x8c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_disc},
{0x8d, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_square},
{0x8e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_always},
{0x8f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_avoid},
{0x90, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_center},
{0x91, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_justify},
{0x92, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_underline},
{0x93, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_blink},
{0x94, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_marquee},
{0x95, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_top},
{0x96, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_middle},
{0x97, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_bottom},
{0x98, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_baseline},
{0x9a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_get},
{0x9b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_post},
{0x9d, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_ltr},
{0x9e, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_rtl},
{0xa0, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_yes},
{0xa1, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_no},
{0xa2, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_auto},
{0xa3, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_button},
{0xa4, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_submit},
{0xa5, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_reset},
{0xae, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag__1},
{0xb3, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_all},
{0xb8, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_text},
{0xb9, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_password},
{0xba, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_checkbox},
{0xbb, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_radio},
{0xbc, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_hidden}
};
/*
* attribute entries - sorted by name
*/
static const
NW_Byte XHTML_1_0_attribute_name_0[96] = {
89,
0,
2,
1,
3,
4,
5,
6,
90,
7,
68,
85,
69,
8,
78,
9,
73,
64,
10,
77,
86,
11,
70,
12,
13,
14,
93,
15,
65,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
66,
27,
79,
28,
95,
29,
30,
31,
63,
71,
32,
60,
33,
81,
74,
34,
35,
36,
76,
37,
38,
84,
59,
62,
39,
40,
92,
80,
94,
41,
42,
88,
43,
61,
44,
45,
82,
46,
47,
67,
48,
49,
50,
87,
51,
91,
52,
75,
53,
72,
54,
55,
56,
57,
58,
83,
};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_zzzunknown[] = {'z','z','z','u','n','k','n','o','w','n','\0'};
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'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_alternate[] = {'a','l','t','e','r','n','a','t','e','\0'};
/*
* attribute entries - sorted by token
*/
static const
NW_WBXML_DictEntry_t XHTML_1_0_attribute_token_1[3] = {
{0x05, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_zzzunknown},
{0x06, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_xml_stylesheet},
{0x07, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_alternate},
};
/*
* attribute entries - sorted by name
*/
static const
NW_Byte XHTML_1_0_attribute_name_1[3] = {
2,
1,
0,
};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_center[] = {'c','e','n','t','e','r','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_dir[] = {'d','i','r','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_font[] = {'f','o','n','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_menu[] = {'m','e','n','u','\0'};
static const NW_Ucs2 NW_XHTML_1_0_ElementTag_blink[] = {'b','l','i','n','k','\0'};
/*
* tag entries - sorted by token
*/
static const
NW_WBXML_DictEntry_t XHTML_1_0_tag_token_2[5] = {
{0x05, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_center},
{0x06, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_dir},
{0x07, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_font},
{0x08, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_menu},
{0x09, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_ElementTag_blink}
};
/*
* tag entries - sorted by name
*/
static const
NW_Byte XHTML_1_0_tag_name_2[5] = {
4,
0,
1,
2,
3,
};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_behavior[] = {'b','e','h','a','v','i','o','r','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_direction[] = {'d','i','r','e','c','t','i','o','n','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_loop[] = {'l','o','o','p','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_scrollamount[] = {'s','c','r','o','l','l','a','m','o','u','n','t','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_scrolldelay[] = {'s','c','r','o','l','l','d','e','l','a','y','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_cti[] = {'c','t','i','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_telbook[] = {'t','e','l','b','o','o','k','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_email[] = {'e','m','a','i','l','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_A[] = {'A','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_a[] = {'a','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_I[] = {'I','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_i[] = {'i','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_scroll[] = {'s','c','r','o','l','l','\0'};
static const NW_Ucs2 NW_XHTML_1_0_AttributeTag_slide[] = {'s','l','i','d','e','\0'};
/*
* attribute entries - sorted by token
*/
static const
NW_WBXML_DictEntry_t XHTML_1_0_attribute_token_2[15] = {
{0x05, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_behavior},
{0x06, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_direction},
{0x07, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_loop},
{0x08, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_scrollamount},
{0x09, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_scrolldelay},
{0x0b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_cti},
{0x0d, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_telbook},
{0x0f, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_email},
{0x86, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_A},
{0x87, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_a},
{0x88, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_I},
{0x89, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_i},
{0x8a, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_scroll},
{0x8b, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_slide},
{0x8c, (NW_String_UCS2Buff_t *) NW_XHTML_1_0_AttributeTag_alternate}
};
/*
* attribute entries - sorted by name
*/
static const
NW_Byte XHTML_1_0_attribute_name_2[15] = {
8,
10,
9,
14,
0,
5,
1,
7,
11,
2,
12,
3,
4,
13,
6,
};
/*
* Tag codepage table
*/
static const
NW_WBXML_Codepage_t XHTML_1_0_tag_codepages[3] = {
{59, (NW_WBXML_DictEntry_t*)&XHTML_1_0_tag_token_0[0], (NW_Byte *)&XHTML_1_0_tag_name_0[0]},
{7, (NW_WBXML_DictEntry_t*)&XHTML_1_0_tag_token_1[0], (NW_Byte *)&XHTML_1_0_tag_name_1[0]},
{5, (NW_WBXML_DictEntry_t*)&XHTML_1_0_tag_token_2[0], (NW_Byte *)&XHTML_1_0_tag_name_2[0]},
};
/*
* Attribute codepage table
*/
static const
NW_WBXML_Codepage_t XHTML_1_0_attribute_codepages[3] = {
{96, (NW_WBXML_DictEntry_t*)&XHTML_1_0_attribute_token_0[0], (NW_Byte *)&XHTML_1_0_attribute_name_0[0]},
{3, (NW_WBXML_DictEntry_t*)&XHTML_1_0_attribute_token_1[0], (NW_Byte *)&XHTML_1_0_attribute_name_1[0]},
{15, (NW_WBXML_DictEntry_t*)&XHTML_1_0_attribute_token_2[0], (NW_Byte *)&XHTML_1_0_attribute_name_2[0]},
};
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'};
/*
* Dictionary
*/
const NW_WBXML_Dictionary_t NW_XHTML_WBXMLDictionary = {
NW_xhtml_1_0_PublicId,
(NW_Ucs2 *)NW_XHTML_1_0_docType,
3, (NW_WBXML_Codepage_t*)&XHTML_1_0_tag_codepages[0],
3, (NW_WBXML_Codepage_t*)&XHTML_1_0_attribute_codepages[0],
};