Annotation of Amaya/amaya/HTMLnames.h, revision 1.37
1.9 cvs 1: /* Mapping table of XHTML elements */
1.2 cvs 2: #include "HTML.h"
1.1 cvs 3: static ElemMapping XHTMLElemMappingTable[] =
4: {
1.30 cvs 5: /* This table MUST be in alphabetical order and in lower case */
1.11 cvs 6:
1.25 cvs 7: {"a", SPACE, HTML_EL_Anchor, L_BasicValue, TRUE},
1.16 cvs 8: {"abbr", SPACE, HTML_EL_ABBR, L_BasicValue, TRUE},
9: {"acronym", SPACE, HTML_EL_ACRONYM, L_BasicValue, TRUE},
10: {"address", SPACE, HTML_EL_Address, L_BasicValue, FALSE},
11: {"applet", SPACE, HTML_EL_Applet, L_TransitionalValue, FALSE},
12: {"area", 'E', HTML_EL_AREA, L_StrictValue, FALSE},
13: {"b", SPACE, HTML_EL_Bold_text, L_StrictValue, TRUE},
14: {"base", 'E', HTML_EL_BASE, L_BasicValue, FALSE},
15: {"basefont", 'E', HTML_EL_BaseFont, L_TransitionalValue, FALSE},
16: {"bdo", SPACE, HTML_EL_BDO, L_StrictValue, TRUE},
17: {"big", SPACE, HTML_EL_Big_text, L_StrictValue, TRUE},
18: {"blockquote", SPACE, HTML_EL_Block_Quote, L_BasicValue, FALSE},
19: {"body", SPACE, HTML_EL_BODY, L_BasicValue, FALSE},
20: {"br", 'E', HTML_EL_BR, L_BasicValue, TRUE},
21: {"button", SPACE, HTML_EL_BUTTON_, L_StrictValue, TRUE},
22: {"c", SPACE, HTML_EL_TEXT_UNIT, L_OtherValue, TRUE}, /* used by the trans.c */
23: {"caption", SPACE, HTML_EL_CAPTION, L_BasicValue, FALSE},
1.30 cvs 24: {"cdata", SPACE, HTML_EL_CDATA, L_OtherValue, FALSE},
25: {"cdata_line", SPACE, HTML_EL_CDATA_line, L_OtherValue, FALSE},
1.16 cvs 26: {"center", SPACE, HTML_EL_Center, L_TransitionalValue, FALSE},
27: {"cite", SPACE, HTML_EL_Cite, L_BasicValue, TRUE},
28: {"code", SPACE, HTML_EL_Code, L_BasicValue, TRUE},
29: {"colgroup", SPACE, HTML_EL_COLGROUP, L_StrictValue, FALSE},
30: {"col", SPACE, HTML_EL_COL, L_StrictValue, FALSE},
31: {"dd", SPACE, HTML_EL_Definition, L_BasicValue, FALSE},
32: {"del", SPACE, HTML_EL_DEL, L_StrictValue, TRUE},
33: {"dfn", SPACE, HTML_EL_Def, L_BasicValue, TRUE},
34: {"dir", SPACE, HTML_EL_Directory, L_StrictValue, FALSE},
35: {"div", SPACE, HTML_EL_Division, L_BasicValue, FALSE},
36: {"dl", SPACE, HTML_EL_Definition_List, L_BasicValue, FALSE},
1.30 cvs 37: {"doctype", SPACE, HTML_EL_DOCTYPE, L_OtherValue, FALSE},
38: {"doctype_line", SPACE, HTML_EL_DOCTYPE_line, L_OtherValue, FALSE},
1.16 cvs 39: {"dt", SPACE, HTML_EL_Term, L_BasicValue, FALSE},
40: {"em", SPACE, HTML_EL_Emphasis, L_BasicValue, TRUE},
1.28 quint 41: {"embed", 'E', HTML_EL_Embed_, L_TransitionalValue, TRUE},
1.16 cvs 42: {"fieldset", SPACE, HTML_EL_FIELDSET, L_StrictValue, FALSE},
43: {"font", SPACE, HTML_EL_Font_, L_TransitionalValue, TRUE},
44: {"form", SPACE, HTML_EL_Form, L_BasicValue, FALSE},
45: {"frame", 'E', HTML_EL_FRAME, L_TransitionalValue, FALSE},
46: {"frameset", SPACE, HTML_EL_FRAMESET, L_TransitionalValue, FALSE},
47: {"h1", SPACE, HTML_EL_H1, L_BasicValue, FALSE},
48: {"h2", SPACE, HTML_EL_H2, L_BasicValue, FALSE},
49: {"h3", SPACE, HTML_EL_H3, L_BasicValue, FALSE},
50: {"h4", SPACE, HTML_EL_H4, L_BasicValue, FALSE},
51: {"h5", SPACE, HTML_EL_H5, L_BasicValue, FALSE},
52: {"h6", SPACE, HTML_EL_H6, L_BasicValue, FALSE},
53: {"head", SPACE, HTML_EL_HEAD, L_BasicValue, FALSE},
54: {"hr", 'E', HTML_EL_Horizontal_Rule, L_StrictValue, FALSE},
55: {"html", SPACE, HTML_EL_HTML, L_BasicValue, FALSE},
56: {"i", SPACE, HTML_EL_Italic_text, L_StrictValue, TRUE},
57: {"iframe", SPACE, HTML_EL_IFRAME, L_TransitionalValue, FALSE},
58: {"image", 'E', HTML_EL_PICTURE_UNIT, L_StrictValue, TRUE},
59: {"img", 'E', HTML_EL_PICTURE_UNIT, L_BasicValue, TRUE},
60: {"input", 'E', HTML_EL_Input, L_BasicValue, TRUE},
61: {"input", 'E', HTML_EL_Text_Input, L_BasicValue, TRUE},
62: {"input", 'E', HTML_EL_Password_Input, L_BasicValue, TRUE},
63: {"input", 'E', HTML_EL_File_Input, L_BasicValue, TRUE},
64: {"input", 'E', HTML_EL_Checkbox_Input, L_BasicValue, FALSE},
65: {"input", 'E', HTML_EL_Radio_Input, L_BasicValue, FALSE},
66: {"input", 'E', HTML_EL_Submit_Input, L_BasicValue, FALSE},
67: {"input", 'E', HTML_EL_Reset_Input, L_BasicValue, FALSE},
68: {"input", 'E', HTML_EL_Button_Input, L_BasicValue, TRUE},
69: {"input", 'E', HTML_EL_Hidden_Input, L_BasicValue, FALSE},
70: {"ins", SPACE, HTML_EL_INS, L_StrictValue, TRUE},
71: {"isindex", 'E', HTML_EL_ISINDEX, L_TransitionalValue, FALSE},
72: {"kbd", SPACE, HTML_EL_Keyboard, L_BasicValue, TRUE},
73: {"label", SPACE, HTML_EL_LABEL, L_BasicValue, TRUE},
74: {"legend", SPACE, HTML_EL_LEGEND, L_StrictValue, FALSE},
75: {"li", SPACE, HTML_EL_List_Item, L_BasicValue, FALSE},
76: {"link", 'E', HTML_EL_LINK, L_BasicValue, FALSE},
77: {"listing", SPACE, HTML_EL_Preformatted, L_TransitionalValue, FALSE}, /*converted to PRE */
1.18 vatton 78: {"map", SPACE, HTML_EL_map, L_StrictValue, FALSE},
1.16 cvs 79: {"map", SPACE, HTML_EL_MAP, L_StrictValue, FALSE},
80: {"menu", SPACE, HTML_EL_Menu, L_TransitionalValue, FALSE},
81: {"meta", 'E', HTML_EL_META, L_BasicValue, FALSE},
82: {"noframes", SPACE, HTML_EL_NOFRAMES, L_TransitionalValue, FALSE},
83: {"noscript", SPACE, HTML_EL_NOSCRIPT, L_StrictValue, FALSE},
84: {"object", SPACE, HTML_EL_Object, L_BasicValue, FALSE},
85: {"ol", SPACE, HTML_EL_Numbered_List, L_BasicValue, FALSE},
86: {"optgroup", SPACE, HTML_EL_OptGroup, L_StrictValue, TRUE},
87: {"option", SPACE, HTML_EL_Option, L_BasicValue, TRUE},
88: {"p", SPACE, HTML_EL_Paragraph, L_BasicValue, FALSE},
89: {"p*", SPACE, HTML_EL_Pseudo_paragraph, L_BasicValue, FALSE}, /* pseudo-paragraph */
90: {"param", 'E', HTML_EL_Parameter, L_BasicValue, FALSE},
91: {"plaintext", SPACE, HTML_EL_Preformatted, L_TransitionalValue, FALSE},/* converted to PRE */
92: {"pre", SPACE, HTML_EL_Preformatted, L_BasicValue, FALSE},
93: {"q", SPACE, HTML_EL_Quotation, L_BasicValue, TRUE},
1.35 quint 94: {"rb", SPACE, HTML_EL_rb, L_RubyValue, FALSE},
1.16 cvs 95: {"rbc", SPACE, HTML_EL_rbc, L_RubyValue, FALSE},
96: {"rp", SPACE, HTML_EL_rp, L_RubyValue, FALSE},
1.35 quint 97: {"rt", SPACE, HTML_EL_rt, L_RubyValue, FALSE},
1.16 cvs 98: {"rtc", SPACE, HTML_EL_rtc1, L_RubyValue, FALSE},
99: {"rtc", SPACE, HTML_EL_rtc2, L_RubyValue, FALSE},
100: {"ruby", SPACE, HTML_EL_simple_ruby, L_RubyValue, TRUE},
101: {"s", SPACE, HTML_EL_Struck_text, L_StrictValue, TRUE},
102: {"samp", SPACE, HTML_EL_Sample, L_BasicValue, TRUE},
1.26 vatton 103: {"script", SPACE, HTML_EL_SCRIPT_, L_StrictValue, FALSE},
1.16 cvs 104: {"select", SPACE, HTML_EL_Option_Menu, L_BasicValue, TRUE},
105: {"small", SPACE, HTML_EL_Small_text, L_StrictValue, TRUE},
106: {"span", SPACE, HTML_EL_Span, L_BasicValue, TRUE},
107: {"strike", SPACE, HTML_EL_Struck_text, L_TransitionalValue, TRUE},
108: {"strong", SPACE, HTML_EL_Strong, L_BasicValue, TRUE},
109: {"style", SPACE, HTML_EL_STYLE_, L_StrictValue, FALSE},
110: {"sub", SPACE, HTML_EL_Subscript, L_StrictValue, TRUE},
111: {"sup", SPACE, HTML_EL_Superscript, L_StrictValue, TRUE},
112: {"symb", SPACE, HTML_EL_SYMBOL_UNIT, L_OtherValue, TRUE},
113: {"table", SPACE, HTML_EL_Table, L_BasicValue, FALSE},
114: {"tbody", SPACE, HTML_EL_tbody, L_BasicValue, FALSE},
115: {"td", SPACE, HTML_EL_Data_cell, L_BasicValue, FALSE},
116: {"textarea", SPACE, HTML_EL_Text_Area, L_BasicValue, TRUE},
117: {"tfoot", SPACE, HTML_EL_tfoot, L_StrictValue, FALSE},
118: {"th", SPACE, HTML_EL_Heading_cell, L_BasicValue, FALSE},
119: {"thead", SPACE, HTML_EL_thead, L_StrictValue, FALSE},
120: {"title", SPACE, HTML_EL_TITLE, L_BasicValue, FALSE},
121: {"tr", SPACE, HTML_EL_Table_row, L_BasicValue, FALSE},
122: {"tt", SPACE, HTML_EL_Teletype_text, L_StrictValue, TRUE},
123: {"u", SPACE, HTML_EL_Underlined_text, L_StrictValue, TRUE},
124: {"ul", SPACE, HTML_EL_Unnumbered_List, L_BasicValue, FALSE},
125: {"var", SPACE, HTML_EL_Variable, L_BasicValue, TRUE},
1.30 cvs 126: {"xmlcomment", SPACE, HTML_EL_Comment_, L_OtherValue, FALSE},
127: {"xmlcomment_line", SPACE, HTML_EL_Comment_line, L_OtherValue, FALSE},
128: {"xmlpi", SPACE, HTML_EL_XMLPI, L_OtherValue, FALSE},
129: {"xmlpi_line", SPACE, HTML_EL_PI_line, L_OtherValue, FALSE},
1.16 cvs 130: {"xmp", SPACE, HTML_EL_Preformatted, L_TransitionalValue, FALSE}, /* converted to PRE */
131: {"", SPACE, 0, L_BasicValue, FALSE} /* Last entry. Mandatory */
1.1 cvs 132: };
133:
1.9 cvs 134: /* Mapping table of Xhtml attributes */
1.1 cvs 135: AttributeMapping XHTMLAttributeMappingTable[] =
136: {
137: /* The first entry MUST be unknown_attr */
138: /* The rest of this table MUST be in alphabetical order */
1.16 cvs 139: {"unknown_attr", "", 'A', HTML_ATTR_Invalid_attribute, L_TransitionalValue},
1.1 cvs 140:
1.16 cvs 141: {"abbr", "", 'A', HTML_ATTR_abbr, L_BasicValue},
142: {"accept", "", 'A', HTML_ATTR_accept, L_BasicValue},
143: {"accept-charset", "form", 'A', HTML_ATTR_accept_charset, L_BasicValue},
144: {"accesskey", "", 'A', HTML_ATTR_accesskey, L_BasicValue},
145: {"action", "", 'A', HTML_ATTR_Script_URL, L_BasicValue},
146: {"align", "applet", 'A', HTML_ATTR_Alignment, L_TransitionalValue},
1.37 ! cvs 147: {"align", "caption", 'A', HTML_ATTR_Position, L_TransitionalValue},
1.16 cvs 148: {"align", "col", 'A', HTML_ATTR_Cell_align, L_StrictValue},
149: {"align", "colgroup", 'A', HTML_ATTR_Cell_align, L_StrictValue},
150: {"align", "div", 'A', HTML_ATTR_TextAlign, L_TransitionalValue},
1.20 cvs 151: {"align", "embed", 'A', HTML_ATTR_Alignment, L_TransitionalValue},
1.16 cvs 152: {"align", "h1", 'A', HTML_ATTR_TextAlign, L_TransitionalValue},
153: {"align", "h2", 'A', HTML_ATTR_TextAlign, L_TransitionalValue},
154: {"align", "h3", 'A', HTML_ATTR_TextAlign, L_TransitionalValue},
155: {"align", "h4", 'A', HTML_ATTR_TextAlign, L_TransitionalValue},
156: {"align", "h5", 'A', HTML_ATTR_TextAlign, L_TransitionalValue},
157: {"align", "h6", 'A', HTML_ATTR_TextAlign, L_TransitionalValue},
158: {"align", "hr", 'A', HTML_ATTR_Align, L_TransitionalValue},
159: {"align", "iframe", 'A', HTML_ATTR_Alignment, L_TransitionalValue},
160: {"align", "image", 'A', HTML_ATTR_Alignment, L_TransitionalValue},
161: {"align", "img", 'A', HTML_ATTR_Alignment, L_TransitionalValue},
162: {"align", "input", 'A', HTML_ATTR_Alignment, L_TransitionalValue},
163: {"align", "legend", 'A', HTML_ATTR_LAlign, L_TransitionalValue},
164: {"align", "object", 'A', HTML_ATTR_Alignment, L_TransitionalValue},
165: {"align", "p", 'A', HTML_ATTR_TextAlign, L_TransitionalValue},
166: {"align", "table", 'A', HTML_ATTR_Align, L_TransitionalValue},
167: {"align", "tbody", 'A', HTML_ATTR_Cell_align, L_StrictValue},
168: {"align", "td", 'A', HTML_ATTR_Cell_align, L_StrictValue},
169: {"align", "tfoot", 'A', HTML_ATTR_Cell_align, L_StrictValue},
170: {"align", "th", 'A', HTML_ATTR_Cell_align, L_StrictValue},
171: {"align", "thead", 'A', HTML_ATTR_Cell_align, L_StrictValue},
172: {"align", "tr", 'A', HTML_ATTR_Cell_align, L_StrictValue},
173: {"alink", "body", 'A', HTML_ATTR_ActiveLinkColor, L_TransitionalValue},
174: {"alt", "", 'A', HTML_ATTR_ALT, L_BasicValue},
175: {"archive", "", 'A', HTML_ATTR_archive, L_BasicValue},
176: {"axis", "", 'A', HTML_ATTR_axis, L_BasicValue},
177:
178: {"background", "", 'A', HTML_ATTR_background_, L_TransitionalValue},
1.20 cvs 179: {"bgcolor", "", 'A', HTML_ATTR_BackgroundColor, L_StrictValue},
180: {"border", "embed", 'A', HTML_ATTR_Img_border, L_TransitionalValue},
1.16 cvs 181: {"border", "image", 'A', HTML_ATTR_Img_border, L_TransitionalValue},
182: {"border", "img", 'A', HTML_ATTR_Img_border, L_TransitionalValue},
183: {"border", "object", 'A', HTML_ATTR_Img_border, L_TransitionalValue},
184: {"border", "table", 'A', HTML_ATTR_Border, L_StrictValue},
185:
186: {"cellspacing", "", 'A', HTML_ATTR_cellspacing, L_StrictValue},
187: {"cellpadding", "", 'A', HTML_ATTR_cellpadding, L_StrictValue},
188: {"char", "", 'A', HTML_ATTR_char, L_StrictValue},
189: {"charoff", "", 'A', HTML_ATTR_charoff, L_TransitionalValue},
190: {"charset", "", 'A', HTML_ATTR_charset, L_BasicValue},
191: {"checked", "", 'A', HTML_ATTR_Checked, L_BasicValue},
192: {"cite", "", 'A', HTML_ATTR_cite, L_BasicValue},
193: {"class", "", 'A', HTML_ATTR_Class, L_BasicValue},
194: {"classid", "", 'A', HTML_ATTR_classid, L_BasicValue},
195: {"clear", "br", 'A', HTML_ATTR_Clear, L_TransitionalValue},
196: {"code", "", 'A', HTML_ATTR_code, L_BasicValue},
197: {"codebase", "", 'A', HTML_ATTR_codebase, L_BasicValue},
198: {"codetype", "", 'A', HTML_ATTR_codetype, L_BasicValue},
199: {"color", "basefont", 'A', HTML_ATTR_BaseFontColor, L_TransitionalValue},
200: {"color", "", 'A', HTML_ATTR_color, L_TransitionalValue},
201: {"cols", "frameset", 'A', HTML_ATTR_ColWidth, L_TransitionalValue},
202: {"cols", "textarea", 'A', HTML_ATTR_Columns, L_BasicValue},
203: {"colspan", "", 'A', HTML_ATTR_colspan_, L_BasicValue},
204: {"compact", "", 'A', HTML_ATTR_COMPACT, L_TransitionalValue},
205: {"content", "", 'A', HTML_ATTR_meta_content, L_BasicValue},
206: {"coords", "", 'A', HTML_ATTR_coords, L_BasicValue},
207:
208: {"data", "", 'A', HTML_ATTR_data, L_BasicValue},
209: {"datapagesize", "table", 'A', HTML_ATTR_datapagesize, L_BasicValue},
210: {"datetime", "", 'A', HTML_ATTR_datetime, L_BasicValue},
211: {"declare", "object", 'A', HTML_ATTR_declare, L_BasicValue},
212: {"defer", "script", 'A', HTML_ATTR_defer, L_BasicValue},
213: {"dir", "", 'A', HTML_ATTR_dir, L_BasicValue},
214: {"disabled", "", 'A', HTML_ATTR_disabled, L_BasicValue},
215:
1.17 cvs 216: {"enctype", "form", 'A', HTML_ATTR_ENCTYPE, L_BasicValue},
1.16 cvs 217: {"enctype", "", 'A', HTML_ATTR_ENCTYPE, L_StrictValue},
218: {"event", "script", 'A', HTML_ATTR_event, L_StrictValue},
219:
220: {"face", "basefont", 'A', HTML_ATTR_BaseFontFace, L_TransitionalValue},
221: {"face", "font", 'A', HTML_ATTR_face, L_TransitionalValue},
222: {"for", "label", 'A', HTML_ATTR_Associated_control, L_BasicValue},
223: {"for", "script", 'A', HTML_ATTR_for_, L_StrictValue},
224: {"frame", "table", 'A', HTML_ATTR_frame, L_StrictValue},
225: {"frameborder", "", 'A', HTML_ATTR_frameborder, L_TransitionalValue},
226:
227: {"headers", "", 'A', HTML_ATTR_headers, L_BasicValue},
228: {"height", "img", 'A', HTML_ATTR_Height_, L_BasicValue},
229: {"height", "object", 'A', HTML_ATTR_Height_, L_BasicValue},
230: {"height", "", 'A', HTML_ATTR_Height_, L_TransitionalValue},
1.21 cvs 231: {"hidden", "embed", 'A', HTML_ATTR_EmbedHidden, L_TransitionalValue},
1.16 cvs 232: {"href", "", 'A', HTML_ATTR_HREF_, L_BasicValue},
233: {"hreflang", "", 'A', HTML_ATTR_hreflang, L_BasicValue},
234: {"hspace", "", 'A', HTML_ATTR_hspace, L_TransitionalValue},
235: {"http-equiv", "", 'A', HTML_ATTR_http_equiv, L_BasicValue},
236:
237: {"id", "", 'A', HTML_ATTR_ID, L_BasicValue},
238: {"ismap", "", 'A', HTML_ATTR_ISMAP, L_StrictValue},
239:
240: {"label", "", 'A', HTML_ATTR_label, L_BasicValue},
1.19 cvs 241: {"lang", "", 'A', HTML_ATTR_Language, L_BasicValue},
1.16 cvs 242: {"language", "script", 'A', HTML_ATTR_script_language, L_BasicValue},
243: {"link", "body", 'A', HTML_ATTR_LinkColor, L_BasicValue},
244: {"longdesc", "", 'A', HTML_ATTR_longdesc, L_BasicValue},
245:
246: {"marginheight", "", 'A', HTML_ATTR_marginheight, L_TransitionalValue},
247: {"marginwidth", "", 'A', HTML_ATTR_marginwidth, L_TransitionalValue},
248: {"maxlength", "", 'A', HTML_ATTR_MaxLength, L_BasicValue},
249: {"media", "", 'A', HTML_ATTR_media, L_BasicValue},
250: {"method", "", 'A', HTML_ATTR_METHOD, L_BasicValue},
251: {"multiple", "", 'A', HTML_ATTR_Multiple, L_BasicValue},
252:
253: {"name", "applet", 'A', HTML_ATTR_applet_name, L_TransitionalValue},
1.21 cvs 254: {"name", "embed", 'A', HTML_ATTR_EmbedName, L_TransitionalValue},
1.16 cvs 255: {"name", "frame", 'A', HTML_ATTR_FrameName, L_TransitionalValue},
256: {"name", "iframe", 'A', HTML_ATTR_FrameName, L_TransitionalValue},
257: {"name", "meta", 'A', HTML_ATTR_meta_name, L_BasicValue},
258: {"name", "param", 'A', HTML_ATTR_Param_name, L_BasicValue},
259: {"name", "", 'A', HTML_ATTR_NAME, L_BasicValue},
260: {"nohref", "", 'A', HTML_ATTR_nohref, L_BasicValue},
261: {"noresize", "", 'A', HTML_ATTR_no_resize, L_BasicValue},
262: {"noshade", "", 'A', HTML_ATTR_NoShade, L_BasicValue},
263: {"nowrap", "", 'A', HTML_ATTR_No_wrap, L_TransitionalValue},
264:
265: {"object", "applet", 'A', HTML_ATTR_object, L_TransitionalValue},
266: {"onblur", "", 'A', HTML_ATTR_onblur, L_StrictValue},
267: {"onchange", "", 'A', HTML_ATTR_onchange, L_StrictValue},
268: {"onclick", "", 'A', HTML_ATTR_onclick, L_StrictValue},
269: {"ondblclick", "", 'A', HTML_ATTR_ondblclick, L_StrictValue},
270: {"onfocus", "", 'A', HTML_ATTR_onfocus, L_StrictValue},
271: {"onkeydown", "", 'A', HTML_ATTR_onkeydown, L_StrictValue},
272: {"onkeypress", "", 'A', HTML_ATTR_onkeypress, L_StrictValue},
273: {"onkeyup", "", 'A', HTML_ATTR_onkeyup, L_StrictValue},
274: {"onload", "", 'A', HTML_ATTR_onload, L_StrictValue},
275: {"onmousedown", "", 'A', HTML_ATTR_onmousedown, L_StrictValue},
276: {"onmousemove", "", 'A', HTML_ATTR_onmousemove, L_StrictValue},
277: {"onmouseout", "", 'A', HTML_ATTR_onmouseout, L_StrictValue},
278: {"onmouseover", "", 'A', HTML_ATTR_onmouseover, L_StrictValue},
279: {"onmouseup", "", 'A', HTML_ATTR_onmouseup, L_StrictValue},
280: {"onreset", "form", 'A', HTML_ATTR_onreset, L_StrictValue},
281: {"onselect", "", 'A', HTML_ATTR_onselect, L_StrictValue},
282: {"onsubmit", "form", 'A', HTML_ATTR_onsubmit, L_StrictValue},
283: {"onunload", "", 'A', HTML_ATTR_onunload, L_StrictValue},
284:
285: {"profile", "head", 'A', HTML_ATTR_profile, L_BasicValue},
286: {"prompt", "", 'A', HTML_ATTR_Prompt, L_StrictValue},
287:
288: {"rbspan", "rt", 'A', HTML_ATTR_rbspan, L_RubyValue},
289: {"readonly", "", 'A', HTML_ATTR_readonly, L_BasicValue},
290: {"rel", "", 'A', HTML_ATTR_REL, L_BasicValue},
291: {"rev", "", 'A', HTML_ATTR_REV, L_BasicValue},
292: {"rows", "frameset", 'A', HTML_ATTR_RowHeight, L_TransitionalValue},
293: {"rows", "textarea", 'A', HTML_ATTR_Rows, L_BasicValue},
294: {"rowspan", "", 'A', HTML_ATTR_rowspan_, L_BasicValue},
295: {"rules", "table", 'A', HTML_ATTR_rules_, L_StrictValue},
296:
297: {"scheme", "meta", 'A', HTML_ATTR_scheme, L_BasicValue},
298: {"scope", "", 'A', HTML_ATTR_scope, L_BasicValue},
299: {"scrolling", "", 'A', HTML_ATTR_scrolling, L_TransitionalValue},
300: {"selected", "", 'A', HTML_ATTR_Selected, L_BasicValue},
301: {"shape", "", 'A', HTML_ATTR_shape, L_StrictValue},
302: {"size", "basefont", 'A', HTML_ATTR_BaseFontSize, L_TransitionalValue},
303: {"size", "font", 'A', HTML_ATTR_Font_size, L_TransitionalValue},
304: {"size", "hr", 'A', HTML_ATTR_Size_, L_TransitionalValue},
305: {"size", "input", 'A', HTML_ATTR_Area_Size, L_BasicValue},
306: {"size", "select", 'A', HTML_ATTR_MenuSize, L_BasicValue},
307: {"span", "col", 'A', HTML_ATTR_span_, L_StrictValue},
308: {"span", "colgroup", 'A', HTML_ATTR_span_, L_StrictValue},
1.21 cvs 309: {"src", "embed", 'A', HTML_ATTR_SRC, L_TransitionalValue},
1.16 cvs 310: {"src", "frame", 'A', HTML_ATTR_FrameSrc, L_TransitionalValue},
311: {"src", "iframe", 'A', HTML_ATTR_FrameSrc, L_TransitionalValue},
312: {"src", "script", 'A', HTML_ATTR_script_src, L_StrictValue},
313: {"src", "", 'A', HTML_ATTR_SRC, L_BasicValue},
314: {"standby", "", 'A', HTML_ATTR_standby, L_BasicValue},
315: {"start", "", 'A', HTML_ATTR_Start, L_BasicValue},
316: {"style", "", 'A', HTML_ATTR_Style_, L_BasicValue},
317: {"summary", "table", 'A', HTML_ATTR_summary, L_BasicValue},
318:
319: {"tabindex", "", 'A', HTML_ATTR_tabindex, L_BasicValue},
320: {"target", "", 'A', HTML_ATTR_target_, L_BasicValue},
321: {"text", "", 'A', HTML_ATTR_TextColor, L_BasicValue},
322: {"title", "", 'A', HTML_ATTR_Title, L_BasicValue},
323: {"type", "button", 'A', HTML_ATTR_Button_type, L_StrictValue},
1.36 cvs 324: {"type", "embed", 'A', HTML_ATTR_Embed_type, L_TransitionalValue},
1.16 cvs 325: {"type", "li", 'A', HTML_ATTR_ItemStyle, L_BasicValue},
326: {"type", "link", 'A', HTML_ATTR_Link_type, L_BasicValue},
327: {"type", "a", 'A', HTML_ATTR_Link_type, L_BasicValue},
328: {"type", "object", 'A', HTML_ATTR_Object_type, L_BasicValue},
329: {"type", "ol", 'A', HTML_ATTR_NumberStyle, L_BasicValue},
330: {"type", "param", 'A', HTML_ATTR_Param_type, L_BasicValue},
331: {"type", "script", 'A', HTML_ATTR_content_type, L_StrictValue},
332: {"type", "style", 'A', HTML_ATTR_Notation, L_StrictValue},
333: {"type", "ul", 'A', HTML_ATTR_BulletStyle, L_BasicValue},
1.34 quint 334: {"type", "", SPACE, DummyAttribute, L_BasicValue},
1.16 cvs 335:
336: {"usemap", "", 'A', HTML_ATTR_USEMAP, L_BasicValue},
337:
338: {"valign", "tbody", 'A', HTML_ATTR_Row_valign, L_StrictValue},
339: {"valign", "td", 'A', HTML_ATTR_Cell_valign, L_StrictValue},
340: {"valign", "tfoot", 'A', HTML_ATTR_Row_valign, L_StrictValue},
341: {"valign", "th", 'A', HTML_ATTR_Cell_valign, L_StrictValue},
342: {"valign", "thead", 'A', HTML_ATTR_Row_valign, L_StrictValue},
343: {"valign", "tr", 'A', HTML_ATTR_Row_valign, L_StrictValue},
344: {"value", "li", 'A', HTML_ATTR_ItemValue, L_BasicValue},
345: {"value", "param", 'A', HTML_ATTR_Param_value, L_BasicValue},
346: {"value", "", 'A', HTML_ATTR_Value_, L_BasicValue},
347: {"valuetype", "param", 'A', HTML_ATTR_valuetype, L_BasicValue},
348: {"version", "", 'A', 0, L_BasicValue},
349: {"vlink", "body", 'A', HTML_ATTR_VisitedLinkColor, L_TransitionalValue},
350: {"vspace", "", 'A', HTML_ATTR_vspace, L_TransitionalValue},
351:
352: {"width", "applet", 'A', HTML_ATTR_Width__, L_TransitionalValue},
353: {"width", "col", 'A', HTML_ATTR_Width__, L_StrictValue},
354: {"width", "colgroup", 'A', HTML_ATTR_Width__, L_StrictValue},
1.20 cvs 355: {"width", "embed", 'A', HTML_ATTR_Width__, L_TransitionalValue},
1.16 cvs 356: {"width", "hr", 'A', HTML_ATTR_Width__, L_TransitionalValue},
357: {"width", "iframe", 'A', HTML_ATTR_Width__, L_TransitionalValue},
358: {"width", "image", 'A', HTML_ATTR_Width__, L_TransitionalValue},
359: {"width", "img", 'A', HTML_ATTR_Width__, L_BasicValue},
360: {"width", "object", 'A', HTML_ATTR_Width__, L_BasicValue},
361: {"width", "pre", 'A', HTML_ATTR_Width__, L_TransitionalValue},
362: {"width", "table", 'A', HTML_ATTR_Width__, L_StrictValue},
363: {"width", "td", 'A', HTML_ATTR_Width__, L_TransitionalValue},
364: {"width", "th", 'A', HTML_ATTR_Width__, L_TransitionalValue},
1.1 cvs 365:
1.16 cvs 366: {"xml:space", "", 'A', HTML_ATTR_xml_space, L_BasicValue},
1.6 cvs 367:
1.16 cvs 368: {"zzghost", "", 'A', HTML_ATTR_Ghost_restruct, L_BasicValue},
369: {"", "", EOS, 0, L_OtherValue} /* Last entry. Mandatory */
1.1 cvs 370: };
371:
1.31 vatton 372: /* Mapping table of HTML attribute values */
373: AttrValueMapping XhtmlAttrValueMappingTable[] =
374: {
375: {HTML_ATTR_dir, "ltr", HTML_ATTR_dir_VAL_ltr_},
376: {HTML_ATTR_dir, "rtl", HTML_ATTR_dir_VAL_rtl_},
377:
378: {HTML_ATTR_TextAlign, "left", HTML_ATTR_TextAlign_VAL_left_},
379: {HTML_ATTR_TextAlign, "center", HTML_ATTR_TextAlign_VAL_center_},
380: {HTML_ATTR_TextAlign, "right", HTML_ATTR_TextAlign_VAL_right_},
381: {HTML_ATTR_TextAlign, "justify", HTML_ATTR_TextAlign_VAL_justify_},
382:
383: {HTML_ATTR_Align, "left", HTML_ATTR_Align_VAL_left_},
384: {HTML_ATTR_Align, "center", HTML_ATTR_Align_VAL_center_},
385: {HTML_ATTR_Align, "right", HTML_ATTR_Align_VAL_right_},
386:
387: {HTML_ATTR_LAlign, "top", HTML_ATTR_LAlign_VAL_Top_},
388: {HTML_ATTR_LAlign, "bottom", HTML_ATTR_LAlign_VAL_Bottom_},
389: {HTML_ATTR_LAlign, "left", HTML_ATTR_LAlign_VAL_Left_},
390: {HTML_ATTR_LAlign, "right", HTML_ATTR_LAlign_VAL_Right_},
391:
392: {HTML_ATTR_Clear, "left", HTML_ATTR_Clear_VAL_Left_},
393: {HTML_ATTR_Clear, "right", HTML_ATTR_Clear_VAL_Right_},
394: {HTML_ATTR_Clear, "all", HTML_ATTR_Clear_VAL_All_},
395: {HTML_ATTR_Clear, "none", HTML_ATTR_Clear_VAL_None_},
396:
397: {HTML_ATTR_NumberStyle, "1", HTML_ATTR_NumberStyle_VAL_Arabic_},
398: {HTML_ATTR_NumberStyle, "a", HTML_ATTR_NumberStyle_VAL_LowerAlpha},
399: {HTML_ATTR_NumberStyle, "A", HTML_ATTR_NumberStyle_VAL_UpperAlpha},
400: {HTML_ATTR_NumberStyle, "i", HTML_ATTR_NumberStyle_VAL_LowerRoman},
401: {HTML_ATTR_NumberStyle, "I", HTML_ATTR_NumberStyle_VAL_UpperRoman},
402:
403: {HTML_ATTR_BulletStyle, "disc", HTML_ATTR_BulletStyle_VAL_disc},
404: {HTML_ATTR_BulletStyle, "square", HTML_ATTR_BulletStyle_VAL_square},
405: {HTML_ATTR_BulletStyle, "circle", HTML_ATTR_BulletStyle_VAL_circle},
406:
407: {HTML_ATTR_ItemStyle, "1", HTML_ATTR_ItemStyle_VAL_Arabic_},
408: {HTML_ATTR_ItemStyle, "a", HTML_ATTR_ItemStyle_VAL_LowerAlpha},
409: {HTML_ATTR_ItemStyle, "A", HTML_ATTR_ItemStyle_VAL_UpperAlpha},
410: {HTML_ATTR_ItemStyle, "i", HTML_ATTR_ItemStyle_VAL_LowerRoman},
411: {HTML_ATTR_ItemStyle, "I", HTML_ATTR_ItemStyle_VAL_UpperRoman},
412: {HTML_ATTR_ItemStyle, "disc", HTML_ATTR_ItemStyle_VAL_disc},
413: {HTML_ATTR_ItemStyle, "square", HTML_ATTR_ItemStyle_VAL_square},
414: {HTML_ATTR_ItemStyle, "circle", HTML_ATTR_ItemStyle_VAL_circle},
415:
416: {HTML_ATTR_Button_type, "button", HTML_ATTR_Button_type_VAL_button},
417: {HTML_ATTR_Button_type, "submit", HTML_ATTR_Button_type_VAL_submit},
418: {HTML_ATTR_Button_type, "reset", HTML_ATTR_Button_type_VAL_reset},
419:
420: {HTML_ATTR_frame, "void", HTML_ATTR_frame_VAL_void},
421: {HTML_ATTR_frame, "above", HTML_ATTR_frame_VAL_above},
422: {HTML_ATTR_frame, "below", HTML_ATTR_frame_VAL_below},
423: {HTML_ATTR_frame, "hsides", HTML_ATTR_frame_VAL_hsides},
424: {HTML_ATTR_frame, "lhs", HTML_ATTR_frame_VAL_lhs},
425: {HTML_ATTR_frame, "rhs", HTML_ATTR_frame_VAL_rhs},
426: {HTML_ATTR_frame, "vsides", HTML_ATTR_frame_VAL_vsides},
427: {HTML_ATTR_frame, "box", HTML_ATTR_frame_VAL_box},
428: {HTML_ATTR_frame, "border", HTML_ATTR_frame_VAL_border},
429:
430: {HTML_ATTR_frameborder, "0", HTML_ATTR_frameborder_VAL_Border0},
431: {HTML_ATTR_frameborder, "1", HTML_ATTR_frameborder_VAL_Border1},
432:
433: {HTML_ATTR_scrolling, "yes", HTML_ATTR_scrolling_VAL_Yes_},
434: {HTML_ATTR_scrolling, "no", HTML_ATTR_scrolling_VAL_No_},
435: {HTML_ATTR_scrolling, "auto", HTML_ATTR_scrolling_VAL_auto_},
436:
437: {HTML_ATTR_rules_, "none", HTML_ATTR_rules__VAL_none_},
438: {HTML_ATTR_rules_, "groups", HTML_ATTR_rules__VAL_groups},
439: {HTML_ATTR_rules_, "rows", HTML_ATTR_rules__VAL_rows},
440: {HTML_ATTR_rules_, "cols", HTML_ATTR_rules__VAL_cols},
441: {HTML_ATTR_rules_, "all", HTML_ATTR_rules__VAL_all},
442:
443: {HTML_ATTR_Cell_align, "left", HTML_ATTR_Cell_align_VAL_Cell_left},
444: {HTML_ATTR_Cell_align, "center", HTML_ATTR_Cell_align_VAL_Cell_center},
445: {HTML_ATTR_Cell_align, "right", HTML_ATTR_Cell_align_VAL_Cell_right},
446: {HTML_ATTR_Cell_align, "justify", HTML_ATTR_Cell_align_VAL_Cell_justify},
447: {HTML_ATTR_Cell_align, "char", HTML_ATTR_Cell_align_VAL_Cell_char},
448:
449: {HTML_ATTR_Alignment, "top", HTML_ATTR_Alignment_VAL_Top_},
450: {HTML_ATTR_Alignment, "middle", HTML_ATTR_Alignment_VAL_Middle_},
451: {HTML_ATTR_Alignment, "bottom", HTML_ATTR_Alignment_VAL_Bottom_},
452: {HTML_ATTR_Alignment, "left", HTML_ATTR_Alignment_VAL_Left_},
453: {HTML_ATTR_Alignment, "right", HTML_ATTR_Alignment_VAL_Right_},
454:
455: {HTML_ATTR_METHOD, "get", HTML_ATTR_METHOD_VAL_Get_},
456: {HTML_ATTR_METHOD, "post", HTML_ATTR_METHOD_VAL_Post_},
457:
458: {HTML_ATTR_Position, "top", HTML_ATTR_Position_VAL_Position_top},
459: {HTML_ATTR_Position, "bottom", HTML_ATTR_Position_VAL_Position_bottom},
460: {HTML_ATTR_Position, "left", HTML_ATTR_Position_VAL_Position_left},
461: {HTML_ATTR_Position, "right", HTML_ATTR_Position_VAL_Position_right},
462:
463: {HTML_ATTR_Row_valign, "top", HTML_ATTR_Row_valign_VAL_Row_top},
464: {HTML_ATTR_Row_valign, "middle", HTML_ATTR_Row_valign_VAL_Row_middle},
465: {HTML_ATTR_Row_valign, "bottom", HTML_ATTR_Row_valign_VAL_Row_bottom},
466: {HTML_ATTR_Row_valign, "baseline", HTML_ATTR_Row_valign_VAL_Row_baseline},
467:
468: {HTML_ATTR_Cell_valign, "top", HTML_ATTR_Cell_valign_VAL_Cell_top},
469: {HTML_ATTR_Cell_valign, "middle", HTML_ATTR_Cell_valign_VAL_Cell_middle},
470: {HTML_ATTR_Cell_valign, "bottom", HTML_ATTR_Cell_valign_VAL_Cell_bottom},
471: {HTML_ATTR_Cell_valign, "baseline", HTML_ATTR_Cell_valign_VAL_Cell_baseline},
472:
473: {HTML_ATTR_shape, "rect", HTML_ATTR_shape_VAL_rectangle},
474: {HTML_ATTR_shape, "circle", HTML_ATTR_shape_VAL_circle},
475: {HTML_ATTR_shape, "poly", HTML_ATTR_shape_VAL_polygon},
476:
477: {HTML_ATTR_valuetype, "data", HTML_ATTR_valuetype_VAL_data_},
478: {HTML_ATTR_valuetype, "ref", HTML_ATTR_valuetype_VAL_ref},
479: {HTML_ATTR_valuetype, "object", HTML_ATTR_valuetype_VAL_object_},
480:
481: {HTML_ATTR_EmbedHidden, "yes", HTML_ATTR_EmbedHidden_VAL_Yes_},
482: {HTML_ATTR_EmbedHidden, "no", HTML_ATTR_EmbedHidden_VAL_No_},
483:
484: /* HTML attribute TYPE generates a Thot element */
485: {DummyAttribute, "button", HTML_EL_Button_Input},
486: {DummyAttribute, "checkbox", HTML_EL_Checkbox_Input},
487: {DummyAttribute, "file", HTML_EL_File_Input},
488: {DummyAttribute, "hidden", HTML_EL_Hidden_Input},
489: {DummyAttribute, "image", HTML_EL_PICTURE_UNIT},
490: {DummyAttribute, "password", HTML_EL_Password_Input},
491: {DummyAttribute, "radio", HTML_EL_Radio_Input},
492: {DummyAttribute, "reset", HTML_EL_Reset_Input},
493: {DummyAttribute, "submit", HTML_EL_Submit_Input},
494: {DummyAttribute, "text", HTML_EL_Text_Input},
495:
496: /* The following declarations allow the parser to accept boolean attributes */
497: /* written "checked=CHECKED"), for instance */
498: {HTML_ATTR_ISMAP, "ismap", HTML_ATTR_ISMAP_VAL_Yes_},
499: {HTML_ATTR_nohref, "nohref", HTML_ATTR_nohref_VAL_Yes_},
500: {HTML_ATTR_COMPACT, "compact", HTML_ATTR_COMPACT_VAL_Yes_},
501: {HTML_ATTR_Multiple, "multiple", HTML_ATTR_Multiple_VAL_Yes_},
502: {HTML_ATTR_Selected, "selected", HTML_ATTR_Selected_VAL_Yes_},
503: {HTML_ATTR_Checked, "checked", HTML_ATTR_Checked_VAL_Yes_},
504: {HTML_ATTR_No_wrap, "nowrap", HTML_ATTR_No_wrap_VAL_no_wrap},
505: {HTML_ATTR_NoShade, "noshade", HTML_ATTR_NoShade_VAL_NoShade_},
506: {HTML_ATTR_declare, "declare", HTML_ATTR_declare_VAL_declare_},
507: {HTML_ATTR_defer, "defer", HTML_ATTR_defer_VAL_Yes_},
508: {HTML_ATTR_disabled, "disabled", HTML_ATTR_disabled_VAL_Yes_},
509: {HTML_ATTR_readonly, "readonly", HTML_ATTR_readonly_VAL_Yes_},
510: {HTML_ATTR_no_resize, "noresize", HTML_ATTR_no_resize_VAL_Yes_},
511:
512: /* XML attribute xml:space */
513: {HTML_ATTR_xml_space, "default", HTML_ATTR_xml_space_VAL_xml_space_default},
514: {HTML_ATTR_xml_space, "preserve", HTML_ATTR_xml_space_VAL_xml_space_preserve},
515:
516: {0, "", 0} /* Last entry. Mandatory */
517: };
518:
1.9 cvs 519: /* Mapping table of Xhtml entities */
520: XmlEntity XhtmlEntityTable[] =
521: {
522: /* This table MUST be in alphabetical order */
1.11 cvs 523: {"AElig", 198}, /* latin capital letter AE = */
1.10 cvs 524: /* latin capital ligature AE, U+00C6 ISOlat1 */
1.11 cvs 525: {"Aacute", 193}, /* latin capital letter A with acute, U+00C1 ISOlat1 */
526: {"Acirc", 194}, /* latin capital letter A with circumflex, U+00C2 ISOlat1 */
527: {"Agrave", 192}, /* latin capital letter A with grave = */
1.10 cvs 528: /* latin capital letter A grave, U+00C0 ISOlat1 */
1.11 cvs 529: {"Alpha", 913}, /* greek capital letter alpha, U+0391 */
530: {"Aring", 197}, /* latin capital letter A with ring above = */
1.10 cvs 531: /* latin capital letter A ring, U+00C5 ISOlat1 */
1.11 cvs 532: {"Atilde", 195}, /* latin capital letter A with tilde, U+00C3 ISOlat1 */
533: {"Auml", 196}, /* latin capital letter A with diaeresis, U+00C4 ISOlat1 */
534: {"Beta", 914}, /* greek capital letter beta, U+0392 */
535: {"Ccedil", 199}, /* latin capital letter C with cedilla, U+00C7 ISOlat1 */
536: {"Chi", 935}, /* greek capital letter chi, U+03A7 */
537: {"Dagger", 8225}, /* double dagger, U+2021 ISOpub */
538: {"Delta", 916}, /* greek capital letter delta, U+0394 ISOgrk3 */
539: {"ETH", 208}, /* latin capital letter ETH, U+00D0 ISOlat1 */
540: {"Eacute", 201}, /* latin capital letter E with acute, U+00C9 ISOlat1 */
541: {"Ecirc", 202}, /* latin capital letter E with circumflex, U+00CA ISOlat1 */
542: {"Egrave", 200}, /* latin capital letter E with grave, U+00C8 ISOlat1 */
543: {"Epsilon", 917}, /* greek capital letter epsilon, U+0395 */
544: {"Eta", 919}, /* greek capital letter eta, U+0397 */
545: {"Euml", 203}, /* latin capital letter E with diaeresis, U+00CB ISOlat1 */
546: {"Gamma", 915}, /* greek capital letter gamma, U+0393 ISOgrk3 */
547: {"Iacute", 205}, /* latin capital letter I with acute, U+00CD ISOlat1 */
548: {"Icirc", 206}, /* latin capital letter I with circumflex, U+00CE ISOlat1 */
549: {"Igrave", 204}, /* latin capital letter I with grave, U+00CC ISOlat1 */
550: {"Iota", 921}, /* greek capital letter iota, U+0399 */
551: {"Iuml", 207}, /* latin capital letter I with diaeresis, U+00CF ISOlat1 */
552: {"Kappa", 922}, /* greek capital letter kappa, U+039A */
553: {"Lambda", 923}, /* greek capital letter lambda, U+039B ISOgrk3 */
554: {"Mu", 924}, /* greek capital letter mu, U+039C */
555: {"Ntilde", 209}, /* latin capital letter N with tilde, U+00D1 ISOlat1 */
556: {"Nu", 925}, /* greek capital letter nu, U+039D */
557: {"OElig", 338}, /* latin capital ligature OE, U+0152 ISOlat2 */
558: {"Oacute", 211}, /* latin capital letter O with acute, U+00D3 ISOlat1 */
559: {"Ocirc", 212}, /* latin capital letter O with circumflex, U+00D4 ISOlat1 */
560: {"Ograve", 210}, /* latin capital letter O with grave, U+00D2 ISOlat1 */
561: {"Omega", 937}, /* greek capital letter omega, U+03A9 ISOgrk3 */
562: {"Omicron", 927}, /* greek capital letter omicron, U+039F */
563: {"Oslash", 216}, /* latin capital letter O with stroke = */
1.10 cvs 564: /* latin capital letter O slash, U+00D8 ISOlat1 */
1.11 cvs 565: {"Otilde", 213}, /* latin capital letter O with tilde, U+00D5 ISOlat1 */
566: {"Ouml", 214}, /* latin capital letter O with diaeresis, U+00D6 ISOlat1 */
567: {"Phi", 934}, /* greek capital letter phi, U+03A6 ISOgrk3 */
568: {"Pi", 928}, /* greek capital letter pi, U+03A0 ISOgrk3 */
569: {"Prime", 8243}, /* double prime = seconds = inches, U+2033 ISOtech */
570: {"Psi", 936}, /* greek capital letter psi, U+03A8 ISOgrk3 */
571: {"Rho", 929}, /* greek capital letter rho, U+03A1 */
572: {"Scaron", 352}, /* latin capital letter S with caron, U+0160 ISOlat2 */
573: {"Sigma", 931}, /* greek capital letter sigma, U+03A3 ISOgrk3 */
574: {"THORN", 222}, /* latin capital letter THORN, U+00DE ISOlat1 */
575: {"Tau", 932}, /* greek capital letter tau, U+03A4 */
576: {"Theta", 920}, /* greek capital letter theta, U+0398 ISOgrk3 */
577: {"Uacute", 218}, /* latin capital letter U with acute, U+00DA ISOlat1 */
578: {"Ucirc", 219}, /* latin capital letter U with circumflex, U+00DB ISOlat1 */
579: {"Ugrave", 217}, /* latin capital letter U with grave, U+00D9 ISOlat1 */
580: {"Upsilon", 933}, /* greek capital letter upsilon, U+03A5 ISOgrk3 */
581: {"Uuml", 220}, /* latin capital letter U with diaeresis, U+00DC ISOlat1 */
582: {"Xi", 926}, /* greek capital letter xi, U+039E ISOgrk3 */
583: {"Yacute", 221}, /* latin capital letter Y with acute, U+00DD ISOlat1 */
584: {"Yuml", 376}, /* latin capital letter Y with diaeresis, U+0178 ISOlat2 */
585: {"Zeta", 918}, /* greek capital letter zeta, U+0396 */
586: {"aacute", 225}, /* latin small letter a with acute, U+00E1 ISOlat1 */
587: {"acirc", 226}, /* latin small letter a with circumflex, U+00E2 ISOlat1 */
588: {"acute", 180}, /* acute accent = spacing acute, U+00B4 ISOdia */
589: {"aelig", 230}, /* latin small letter ae = */
1.10 cvs 590: /* latin small ligature ae, U+00E6 ISOlat1 */
1.11 cvs 591: {"agrave", 224}, /* latin small letter a with grave = */
1.10 cvs 592: /* latin small letter a grave, U+00E0 ISOlat1 */
1.11 cvs 593: {"alefsym", 8501},/* alef symbol = first transfinite cardinal, U+2135 NEW */
594: {"alpha", 945}, /* greek small letter alpha, U+03B1 ISOgrk3 */
595: {"amp", 38}, /* ampersand, U+0026 ISOnum */
596: {"and", 8743}, /* logical and = wedge, U+2227 ISOtech */
597: {"ang", 8736}, /* angle, U+2220 ISOamso */
598: {"aring", 229}, /* latin small letter a with ring above = */
1.10 cvs 599: /* latin small letter a ring, U+00E5 ISOlat1 */
1.11 cvs 600: {"asymp", 8776}, /* almost equal to = asymptotic to, U+2248 ISOamsr */
601: {"atilde", 227}, /* latin small letter a with tilde, U+00E3 ISOlat1 */
602: {"auml", 228}, /* latin small letter a with diaeresis, U+00E4 ISOlat1 */
603: {"bdquo", 8222}, /* double low-9 quotation mark, U+201E NEW */
604: {"beta", 946}, /* greek small letter beta, U+03B2 ISOgrk3 */
605: {"brvbar", 166}, /* broken bar = broken vertical bar, U+00A6 ISOnum */
606: {"bull", 8226}, /* bullet = black small circle, U+2022 ISOpub */
607: {"cap", 8745}, /* intersection = cap, U+2229 ISOtech */
608: {"ccedil", 231}, /* latin small letter c with cedilla, U+00E7 ISOlat1 */
609: {"cedil", 184}, /* cedilla = spacing cedilla, U+00B8 ISOdia */
610: {"cent", 162}, /* cent sign, U+00A2 ISOnum */
611: {"chi", 967}, /* greek small letter chi, U+03C7 ISOgrk3 */
612: {"circ", 710}, /* modifier letter circumflex accent, U+02C6 ISOpub */
613: {"clubs", 9827}, /* black club suit = shamrock, U+2663 ISOpub */
614: {"cong", 8773}, /* approximately equal to, U+2245 ISOtech */
615: {"copy", 169}, /* copyright sign, U+00A9 ISOnum */
616: {"crarr", 8629}, /* downwards arrow with corner leftwards = */
1.10 cvs 617: /* carriage return, U+21B5 NEW */
1.11 cvs 618: {"cup", 8746}, /* union cup, U+222A ISOtech */
619: {"curren", 164}, /* currency sign, U+00A4 ISOnum */
620: {"dArr", 8659}, /* downwards double arrow, U+21D3 ISOamsa */
621: {"dagger", 8224}, /* dagger, U+2020 ISOpub */
622: {"darr", 8595}, /* downwards arrow, U+2193 ISOnum */
623: {"deg", 176}, /* degree sign, U+00B0 ISOnum */
624: {"delta", 948}, /* greek small letter delta, U+03B4 ISOgrk3 */
625: {"diams", 9830}, /* black diamond suit, U+2666 ISOpub */
626: {"divide", 247}, /* division sign, U+00F7 ISOnum */
627: {"eacute", 233}, /* latin small letter e with acute, U+00E9 ISOlat1 */
628: {"ecirc", 234}, /* latin small letter e with circumflex, U+00EA ISOlat1 */
629: {"egrave", 232}, /* latin small letter e with grave, U+00E8 ISOlat1 */
630: {"empty", 8709}, /* empty set = null set = diameter, U+2205 ISOamso */
631: {"emsp", 8195}, /* em space, U+2003 ISOpub */
632: {"ensp", 8194}, /* en space, U+2002 ISOpub */
1.29 quint 633: {"epsi", 949}, /* greek small letter epsilon, U+03B5 ISOgrk3 */
1.11 cvs 634: {"epsilon", 949}, /* greek small letter epsilon, U+03B5 ISOgrk3 */
635: {"equiv", 8801}, /* identical to, U+2261 ISOtech */
636: {"eta", 951}, /* greek small letter eta, U+03B7 ISOgrk3 */
637: {"eth", 240}, /* latin small letter eth, U+00F0 ISOlat1 */
638: {"euml", 235}, /* latin small letter e with diaeresis, U+00EB ISOlat1 */
639: {"euro", 8364}, /* euro sign, U+20AC NEW */
640: {"exist", 8707}, /* there exists, U+2203 ISOtech */
641: {"fnof", 402}, /* latin small f with hook = function = */
1.10 cvs 642: /* florin, U+0192 ISOtech */
1.11 cvs 643: {"forall", 8704}, /* for all, U+2200 ISOtech */
644: {"frac12", 189}, /* vulgar fraction one half = */
1.10 cvs 645: /*fraction one half, U+00BD ISOnum */
1.11 cvs 646: {"frac14", 188}, /* vulgar fraction one quarter = */
1.10 cvs 647: /* fraction one quarter, U+00BC ISOnum */
1.11 cvs 648: {"frac34", 190}, /* vulgar fraction three quarters = */
1.10 cvs 649: /* fraction three quarters, U+00BE ISOnum */
1.11 cvs 650: {"frasl", 8260}, /* fraction slash, U+2044 NEW */
651: {"gamma", 947}, /* greek small letter gamma, U+03B3 ISOgrk3 */
652: {"ge", 8805}, /* greater-than or equal to, U+2265 ISOtech */
653: {"gt", 62}, /* greater-than sign, U+003E ISOnum */
654: {"hArr", 8660}, /* left right double arrow, U+21D4 ISOamsa */
655: {"harr", 8596}, /* left right arrow, U+2194 ISOamsa */
656: {"hearts", 9829}, /* black heart suit = valentine, U+2665 ISOpub */
657: {"hellip", 8230}, /* horizontal ellipsis = three dot leader, U+2026 ISOpub */
658: {"hyphen", 173}, /* hyphen = discretionary hyphen, U+00AD ISOnum */
659: {"iacute", 237}, /* latin small letter i with acute, U+00ED ISOlat1 */
660: {"icirc", 238}, /* latin small letter i with circumflex, U+00EE ISOlat1 */
661: {"iexcl", 161}, /* inverted exclamation mark, U+00A1 ISOnum */
662: {"igrave", 236}, /* latin small letter i with grave, U+00EC ISOlat1 */
663: {"image", 8465}, /* blackletter capital I = imaginary part, U+2111 ISOamso */
664: {"infin", 8734}, /* infinity, U+221E ISOtech */
665: {"int", 8747}, /* integral, U+222B ISOtech */
666: {"iota", 953}, /* greek small letter iota, U+03B9 ISOgrk3 */
667: {"iquest", 191}, /* inverted question mark = */
1.10 cvs 668: /* turned question mark, U+00BF ISOnum */
1.11 cvs 669: {"isin", 8712}, /* element of, U+2208 ISOtech */
670: {"iuml", 239}, /* latin small letter i with diaeresis, U+00EF ISOlat1 */
671: {"kappa", 954}, /* greek small letter kappa, U+03BA ISOgrk3 */
672: {"lArr", 8656}, /* leftwards double arrow, U+21D0 ISOtech */
673: {"lambda", 955}, /* greek small letter lambda, U+03BB ISOgrk3 */
674: {"lang", 9001}, /* left-pointing angle bracket = bra, U+2329 ISOtech */
675: {"laquo", 171}, /* left-pointing double angle quotation mark = */
1.10 cvs 676: /* left pointing guillemet, U+00AB ISOnum */
1.11 cvs 677: {"larr", 8592}, /* leftwards arrow, U+2190 ISOnum */
678: {"lceil", 8968}, /* left ceiling = apl upstile, U+2308 ISOamsc */
679: {"ldquo", 8220}, /* left double quotation mark, U+201C ISOnum */
680: {"le", 8804}, /* less-than or equal to, U+2264 ISOtech */
681: {"lfloor", 8970}, /* left floor = apl downstile, U+230A ISOamsc */
682: {"lowast", 8727}, /* asterisk operator, U+2217 ISOtech */
683: {"loz", 9674}, /* lozenge, U+25CA ISOpub */
684: {"lrm", 8206}, /* left-to-right mark, U+200E NEW RFC 2070 */
685: {"lsaquo", 8249}, /* single left-pointing angle quotation mark, */
1.10 cvs 686: /* U+2039 ISO proposed */
1.11 cvs 687: {"lsquo", 8216}, /* left single quotation mark, U+2018 ISOnum */
688: {"lt", 60}, /* less-than sign, U+003C ISOnum */
689: {"macr", 175}, /* macron = spacing macron = overline = APL overbar, */
1.10 cvs 690: /* U+00AF ISOdia */
1.11 cvs 691: {"mdash", 8212}, /* em dash, U+2014 ISOpub */
692: {"micro", 181}, /* micro sign, U+00B5 ISOnum */
693: {"middot", 183}, /* middle dot = Georgian comma = */
1.10 cvs 694: /* Greek middle dot, U+00B7 ISOnum */
1.11 cvs 695: {"minus", 8722}, /* minus sign, U+2212 ISOtech */
696: {"mu", 956}, /* greek small letter mu, U+03BC ISOgrk3 */
697: {"nabla", 8711}, /* nabla = backward difference, U+2207 ISOtech */
698: {"nbsp", 160}, /* no-break space = non-breaking space, U+00A0 ISOnum */
699: {"ndash", 8211}, /* en dash, U+2013 ISOpub */
700: {"ne", 8800}, /* not equal to, U+2260 ISOtech */
701: {"ni", 8715}, /* contains as member, U+220B ISOtech */
702: {"not", 172}, /* not sign, U+00AC ISOnum */
703: {"notin", 8713}, /* not an element of, U+2209 ISOtech */
704: {"nsub", 8836}, /* not a subset of, U+2284 ISOamsn */
705: {"ntilde", 241}, /* latin small letter n with tilde, U+00F1 ISOlat1 */
706: {"nu", 957}, /* greek small letter nu, U+03BD ISOgrk3 */
707: {"oacute", 243}, /* latin small letter o with acute, U+00F3 ISOlat1 */
708: {"ocirc", 244}, /* latin small letter o with circumflex, U+00F4 ISOlat1 */
709: {"oelig", 339}, /* latin small ligature oe, U+0153 ISOlat2 */
710: {"ograve", 242}, /* latin small letter o with grave, U+00F2 ISOlat1 */
711: {"oline", 8254}, /* overline = spacing overscore, U+203E NEW */
712: {"omega", 969}, /* greek small letter omega, U+03C9 ISOgrk3 */
713: {"omicron", 959}, /* greek small letter omicron, U+03BF NEW */
714: {"oplus", 8853}, /* circled plus = direct sum, U+2295 ISOamsb */
715: {"or", 8744}, /* logical or = vee, U+2228 ISOtech */
716: {"ordf", 170}, /* feminine ordinal indicator, U+00AA ISOnum */
717: {"ordm", 186}, /* masculine ordinal indicator, U+00BA ISOnum */
718: {"oslash", 248}, /* latin small letter o with stroke, = */
1.10 cvs 719: /* latin small letter o slash, U+00F8 ISOlat1 */
1.11 cvs 720: {"otilde", 245}, /* latin small letter o with tilde, U+00F5 ISOlat1 */
721: {"otimes", 8855}, /* circled times = vector product, U+2297 ISOamsb */
722: {"ouml", 246}, /* latin small letter o with diaeresis, U+00F6 ISOlat1 */
723: {"para", 182}, /* pilcrow sign = paragraph sign, U+00B6 ISOnum */
724: {"part", 8706}, /* partial differential, U+2202 ISOtech */
725: {"permil", 8240}, /* per mille sign, U+2030 ISOtech */
726: {"perp", 8869}, /* up tack = orthogonal to = perpendicular, U+22A5 ISOtech */
727: {"phi", 966}, /* greek small letter phi, U+03C6 ISOgrk3 */
1.32 quint 728: {"phiv", 981}, /* greek U+03D5 ISOgrk3 */
1.11 cvs 729: {"pi", 960}, /* greek small letter pi, U+03C0 ISOgrk3 */
730: {"piv", 982}, /* greek pi symbol, U+03D6 ISOgrk3 */
731: {"plusmn", 177}, /* plus-minus sign = plus-or-minus sign, U+00B1 ISOnum */
732: {"pound", 163}, /* pound sign, U+00A3 ISOnum */
733: {"prime", 8242}, /* prime = minutes = feet, U+2032 ISOtech */
734: {"prod", 8719}, /* n-ary product = product sign, U+220F ISOamsb */
735: {"prop", 8733}, /* proportional to, U+221D ISOtech */
736: {"psi", 968}, /* greek small letter psi, U+03C8 ISOgrk3 */
737: {"quot", 34}, /* quotation mark = APL quote, U+0022 ISOnum */
738: {"rArr", 8658}, /* rightwards double arrow, U+21D2 ISOtech */
739: {"radic", 8730}, /* square root = radical sign, U+221A ISOtech */
740: {"rang", 9002}, /* right-pointing angle bracket = ket, U+232A ISOtech */
741: {"raquo", 187}, /* right-pointing double angle quotation mark = */
1.10 cvs 742: /* right pointing guillemet, U+00BB ISOnum */
1.11 cvs 743: {"rarr", 8594}, /* rightwards arrow, U+2192 ISOnum */
744: {"rceil", 8969}, /* right ceiling, U+2309 ISOamsc */
745: {"rdquo", 8221}, /* right double quotation mark, U+201D ISOnum */
746: {"real", 8476}, /* blackletter capital R = real part symbol, U+211C ISOamso */
747: {"reg", 174}, /* registered sign = registered trade mark sign, */
1.10 cvs 748: /* U+00AE ISOnum */
1.11 cvs 749: {"rfloor", 8971}, /* right floor, U+230B ISOamsc */
750: {"rho", 961}, /* greek small letter rho, U+03C1 ISOgrk3 */
751: {"rlm", 8207}, /* right-to-left mark, U+200F NEW RFC 2070 */
752: {"rsaquo", 8250}, /* single right-pointing angle quotation mark, */
1.10 cvs 753: /* U+203A ISO proposed */
1.11 cvs 754: {"rsquo", 8217}, /* right single quotation mark, U+2019 ISOnum */
755: {"sbquo", 8218}, /* single low-9 quotation mark, U+201A NEW */
756: {"scaron", 353}, /* latin small letter s with caron, U+0161 ISOlat2 */
757: {"sdot", 8901}, /* dot operator, U+22C5 ISOamsb */
758: {"sect", 167}, /* section sign, U+00A7 ISOnum */
759: {"shy", 173}, /* soft hyphen = discretionary hyphen, U+00AD ISOnum */
760: {"sigma", 963}, /* greek small letter sigma, U+03C3 ISOgrk3 */
761: {"sigmaf", 962}, /* greek small letter final sigma, U+03C2 ISOgrk3 */
762: {"sim", 8764}, /* tilde operator = varies with = similar to, U+223C ISOtech */
763: {"spades", 9824}, /* black spade suit, U+2660 ISOpub */
764: {"sub", 8834}, /* subset of, U+2282 ISOtech */
765: {"sube", 8838}, /* subset of or equal to, U+2286 ISOtech */
766: {"sum", 8721}, /* n-ary sumation, U+2211 ISOamsb */
767: {"sup", 8835}, /* superset of, U+2283 ISOtech */
768: {"sup1", 185}, /* superscript one = superscript digit one, U+00B9 ISOnum */
769: {"sup2", 178}, /* superscript two = superscript digit two = squared, */
1.10 cvs 770: /* U+00B2 ISOnum */
1.11 cvs 771: {"sup3", 179}, /* superscript three = superscript digit three = cubed, */
1.10 cvs 772: /* U+00B3 ISOnum */
1.11 cvs 773: {"supe", 8839}, /* superset of or equal to, U+2287 ISOtech */
774: {"szlig", 223}, /* latin small letter sharp s = ess-zed, U+00DF ISOlat1 */
775: {"tau", 964}, /* greek small letter tau, U+03C4 ISOgrk3 */
776: {"there4", 8756}, /* therefore, U+2234 ISOtech */
777: {"theta", 952}, /* greek small letter theta, U+03B8 ISOgrk3 */
778: {"thetasym", 977},/* greek small letter theta symbol, U+03D1 NEW */
779: {"thinsp", 8201}, /* thin space, U+2009 ISOpub */
780: {"thorn", 254}, /* latin small letter thorn with, U+00FE ISOlat1 */
781: {"tilde", 732}, /* small tilde, U+02DC ISOdia */
782: {"times", 215}, /* multiplication sign, U+00D7 ISOnum */
783: {"trade", 8482}, /* trade mark sign, U+2122 ISOnum */
784: {"uArr", 8657}, /* upwards double arrow, U+21D1 ISOamsa */
785: {"uacute", 250}, /* latin small letter u with acute, U+00FA ISOlat1 */
786: {"uarr", 8593}, /* upwards arrow, U+2191 ISOnum*/
787: {"ucirc", 251}, /* latin small letter u with circumflex, U+00FB ISOlat1 */
788: {"ugrave", 249}, /* latin small letter u with grave, U+00F9 ISOlat1 */
789: {"uml", 168}, /* diaeresis = spacing diaeresis, U+00A8 ISOdia */
790: {"upsih", 978}, /* greek upsilon with hook symbol, U+03D2 NEW */
791: {"upsilon", 965}, /* greek small letter upsilon, U+03C5 ISOgrk3 */
792: {"uuml", 252}, /* latin small letter u with diaeresis, U+00FC ISOlat1 */
793: {"weierp", 8472}, /* script capital P = power set = Weierstrass p, */
1.10 cvs 794: /* U+2118 ISOamso */
1.11 cvs 795: {"xi", 958}, /* greek small letter xi, U+03BE ISOgrk3 */
796: {"yacute", 253}, /* latin small letter y with acute, U+00FD ISOlat1 */
797: {"yen", 165}, /* yen sign = yuan sign, U+00A5 ISOnum */
798: {"yuml", 255}, /* latin small letter y with diaeresis, U+00FF ISOlat1 */
799: {"zeta", 950}, /* greek small letter zeta, U+03B6 ISOgrk3 */
800: {"zwj", 8205}, /* zero width joiner, U+200D NEW RFC 2070 */
801: {"zwnj", 8204}, /* zero width non-joiner, U+200C NEW RFC 2070 */
802: {"zzzz", 0} /* this last entry is required */
1.9 cvs 803: };
Webmaster