1 #include "misc/htmlnames.h"
2 #include "dom/dom_string.h"
8 IDTable
<NamespaceFactory
>* NamespaceFactory::s_idTable
;
9 IDTable
<NamespaceFactory
>* NamespaceFactory::initIdTable()
11 s_idTable
= new IDTable
<NamespaceFactory
>();
12 s_idTable
->addStaticMapping(DOM::xhtmlNamespace
, XHTML_NAMESPACE
);
13 s_idTable
->addStaticMapping(DOM::emptyNamespace
, DOMString());
14 s_idTable
->addStaticMapping(DOM::svgNamespace
, SVG_NAMESPACE
);
15 s_idTable
->addStaticMapping(DOM::xlinkNamespace
, XLINK_NAMESPACE
);
19 IDTable
<LocalNameFactory
>* LocalNameFactory::s_idTable
;
20 IDTable
<LocalNameFactory
>* LocalNameFactory::initIdTable()
22 s_idTable
= new IDTable
<LocalNameFactory
>();
23 s_idTable
->addStaticMapping(0, DOMString());
24 s_idTable
->addStaticMapping(localNamePart(ID_A
), "a");
25 s_idTable
->addStaticMapping(localNamePart(ID_ABBR
), "abbr");
26 s_idTable
->addStaticMapping(localNamePart(ID_ACRONYM
), "acronym");
27 s_idTable
->addStaticMapping(localNamePart(ID_ADDRESS
), "address");
28 s_idTable
->addStaticMapping(localNamePart(ID_APPLET
), "applet");
29 s_idTable
->addStaticMapping(localNamePart(ID_AREA
), "area");
30 s_idTable
->addStaticMapping(localNamePart(ID_AUDIO
), "audio");
31 s_idTable
->addStaticMapping(localNamePart(ID_B
), "b");
32 s_idTable
->addStaticMapping(localNamePart(ID_BASE
), "base");
33 s_idTable
->addStaticMapping(localNamePart(ID_BASEFONT
), "basefont");
34 s_idTable
->addStaticMapping(localNamePart(ID_BDO
), "bdo");
35 s_idTable
->addStaticMapping(localNamePart(ID_BIG
), "big");
36 s_idTable
->addStaticMapping(localNamePart(ID_BLOCKQUOTE
), "blockquote");
37 s_idTable
->addStaticMapping(localNamePart(ID_BODY
), "body");
38 s_idTable
->addStaticMapping(localNamePart(ID_BR
), "br");
39 s_idTable
->addStaticMapping(localNamePart(ID_BUTTON
), "button");
40 s_idTable
->addStaticMapping(localNamePart(ID_CANVAS
), "canvas");
41 s_idTable
->addStaticMapping(localNamePart(ID_CAPTION
), "caption");
42 s_idTable
->addStaticMapping(localNamePart(ID_CENTER
), "center");
43 s_idTable
->addStaticMapping(localNamePart(ID_CITE
), "cite");
44 s_idTable
->addStaticMapping(localNamePart(ID_CODE
), "code");
45 s_idTable
->addStaticMapping(localNamePart(ID_COL
), "col");
46 s_idTable
->addStaticMapping(localNamePart(ID_COLGROUP
), "colgroup");
47 s_idTable
->addStaticMapping(localNamePart(ID_DD
), "dd");
48 s_idTable
->addStaticMapping(localNamePart(ID_DEL
), "del");
49 s_idTable
->addStaticMapping(localNamePart(ID_DFN
), "dfn");
50 s_idTable
->addStaticMapping(localNamePart(ID_DIR
), "dir");
51 s_idTable
->addStaticMapping(localNamePart(ID_DIV
), "div");
52 s_idTable
->addStaticMapping(localNamePart(ID_DL
), "dl");
53 s_idTable
->addStaticMapping(localNamePart(ID_DT
), "dt");
54 s_idTable
->addStaticMapping(localNamePart(ID_EM
), "em");
55 s_idTable
->addStaticMapping(localNamePart(ID_EMBED
), "embed");
56 s_idTable
->addStaticMapping(localNamePart(ID_FIELDSET
), "fieldset");
57 s_idTable
->addStaticMapping(localNamePart(ID_FONT
), "font");
58 s_idTable
->addStaticMapping(localNamePart(ID_FORM
), "form");
59 s_idTable
->addStaticMapping(localNamePart(ID_FRAME
), "frame");
60 s_idTable
->addStaticMapping(localNamePart(ID_FRAMESET
), "frameset");
61 s_idTable
->addStaticMapping(localNamePart(ID_H1
), "h1");
62 s_idTable
->addStaticMapping(localNamePart(ID_H2
), "h2");
63 s_idTable
->addStaticMapping(localNamePart(ID_H3
), "h3");
64 s_idTable
->addStaticMapping(localNamePart(ID_H4
), "h4");
65 s_idTable
->addStaticMapping(localNamePart(ID_H5
), "h5");
66 s_idTable
->addStaticMapping(localNamePart(ID_H6
), "h6");
67 s_idTable
->addStaticMapping(localNamePart(ID_HEAD
), "head");
68 s_idTable
->addStaticMapping(localNamePart(ID_HR
), "hr");
69 s_idTable
->addStaticMapping(localNamePart(ID_HTML
), "html");
70 s_idTable
->addStaticMapping(localNamePart(ID_I
), "i");
71 s_idTable
->addStaticMapping(localNamePart(ID_IFRAME
), "iframe");
72 s_idTable
->addStaticMapping(localNamePart(ID_ILAYER
), "ilayer");
73 s_idTable
->addStaticMapping(localNamePart(ID_IMAGE
), "image");
74 s_idTable
->addStaticMapping(localNamePart(ID_IMG
), "img");
75 s_idTable
->addStaticMapping(localNamePart(ID_INPUT
), "input");
76 s_idTable
->addStaticMapping(localNamePart(ID_INS
), "ins");
77 s_idTable
->addStaticMapping(localNamePart(ID_ISINDEX
), "isindex");
78 s_idTable
->addStaticMapping(localNamePart(ID_KBD
), "kbd");
79 s_idTable
->addStaticMapping(localNamePart(ID_KEYGEN
), "keygen");
80 s_idTable
->addStaticMapping(localNamePart(ID_LABEL
), "label");
81 s_idTable
->addStaticMapping(localNamePart(ID_LAYER
), "layer");
82 s_idTable
->addStaticMapping(localNamePart(ID_LEGEND
), "legend");
83 s_idTable
->addStaticMapping(localNamePart(ID_LI
), "li");
84 s_idTable
->addStaticMapping(localNamePart(ID_LINK
), "link");
85 s_idTable
->addStaticMapping(localNamePart(ID_LISTING
), "listing");
86 s_idTable
->addStaticMapping(localNamePart(ID_MAP
), "map");
87 s_idTable
->addStaticMapping(localNamePart(ID_MARQUEE
), "marquee");
88 s_idTable
->addStaticMapping(localNamePart(ID_MENU
), "menu");
89 s_idTable
->addStaticMapping(localNamePart(ID_META
), "meta");
90 s_idTable
->addStaticMapping(localNamePart(ID_NOBR
), "nobr");
91 s_idTable
->addStaticMapping(localNamePart(ID_NOEMBED
), "noembed");
92 s_idTable
->addStaticMapping(localNamePart(ID_NOFRAMES
), "noframes");
93 s_idTable
->addStaticMapping(localNamePart(ID_NOSCRIPT
), "noscript");
94 s_idTable
->addStaticMapping(localNamePart(ID_NOLAYER
), "nolayer");
95 s_idTable
->addStaticMapping(localNamePart(ID_OBJECT
), "object");
96 s_idTable
->addStaticMapping(localNamePart(ID_OL
), "ol");
97 s_idTable
->addStaticMapping(localNamePart(ID_OPTGROUP
), "optgroup");
98 s_idTable
->addStaticMapping(localNamePart(ID_OPTION
), "option");
99 s_idTable
->addStaticMapping(localNamePart(ID_P
), "p");
100 s_idTable
->addStaticMapping(localNamePart(ID_PARAM
), "param");
101 s_idTable
->addStaticMapping(localNamePart(ID_PLAINTEXT
), "plaintext");
102 s_idTable
->addStaticMapping(localNamePart(ID_PRE
), "pre");
103 s_idTable
->addStaticMapping(localNamePart(ID_Q
), "q");
104 s_idTable
->addStaticMapping(localNamePart(ID_S
), "s");
105 s_idTable
->addStaticMapping(localNamePart(ID_SAMP
), "samp");
106 s_idTable
->addStaticMapping(localNamePart(ID_SCRIPT
), "script");
107 s_idTable
->addStaticMapping(localNamePart(ID_SELECT
), "select");
108 s_idTable
->addStaticMapping(localNamePart(ID_SMALL
), "small");
109 s_idTable
->addStaticMapping(localNamePart(ID_SOURCE
), "source");
110 s_idTable
->addStaticMapping(localNamePart(ID_SPAN
), "span");
111 s_idTable
->addStaticMapping(localNamePart(ID_STRIKE
), "strike");
112 s_idTable
->addStaticMapping(localNamePart(ID_STRONG
), "strong");
113 s_idTable
->addStaticMapping(localNamePart(ID_STYLE
), "style");
114 s_idTable
->addStaticMapping(localNamePart(ID_SUB
), "sub");
115 s_idTable
->addStaticMapping(localNamePart(ID_SUP
), "sup");
116 s_idTable
->addStaticMapping(localNamePart(ID_TABLE
), "table");
117 s_idTable
->addStaticMapping(localNamePart(ID_TBODY
), "tbody");
118 s_idTable
->addStaticMapping(localNamePart(ID_TD
), "td");
119 s_idTable
->addStaticMapping(localNamePart(ID_TEXTAREA
), "textarea");
120 s_idTable
->addStaticMapping(localNamePart(ID_TFOOT
), "tfoot");
121 s_idTable
->addStaticMapping(localNamePart(ID_TH
), "th");
122 s_idTable
->addStaticMapping(localNamePart(ID_THEAD
), "thead");
123 s_idTable
->addStaticMapping(localNamePart(ID_TITLE
), "title");
124 s_idTable
->addStaticMapping(localNamePart(ID_TR
), "tr");
125 s_idTable
->addStaticMapping(localNamePart(ID_TT
), "tt");
126 s_idTable
->addStaticMapping(localNamePart(ID_U
), "u");
127 s_idTable
->addStaticMapping(localNamePart(ID_UL
), "ul");
128 s_idTable
->addStaticMapping(localNamePart(ID_VAR
), "var");
129 s_idTable
->addStaticMapping(localNamePart(ID_VIDEO
), "video");
130 s_idTable
->addStaticMapping(localNamePart(ID_WBR
), "wbr");
131 s_idTable
->addStaticMapping(localNamePart(ID_XMP
), "xmp");
132 s_idTable
->addHiddenMapping(ID_TEXT
, "text");
133 s_idTable
->addHiddenMapping(ID_COMMENT
, "comment");
134 s_idTable
->addStaticMapping(localNamePart(ATTR_ACCEPT_CHARSET
), "accept-charset");
135 s_idTable
->addStaticMapping(localNamePart(ATTR_ACCEPT
), "accept");
136 s_idTable
->addStaticMapping(localNamePart(ATTR_ACCESSKEY
), "accesskey");
137 s_idTable
->addStaticMapping(localNamePart(ATTR_ALIGN
), "align");
138 s_idTable
->addStaticMapping(localNamePart(ATTR_ALINK
), "alink");
139 s_idTable
->addStaticMapping(localNamePart(ATTR_AUTOCOMPLETE
), "autocomplete");
140 s_idTable
->addStaticMapping(localNamePart(ATTR_AUTOPLAY
), "autoplay");
141 s_idTable
->addStaticMapping(localNamePart(ATTR_AXIS
), "axis");
142 s_idTable
->addStaticMapping(localNamePart(ATTR_BEHAVIOR
), "behavior");
143 s_idTable
->addStaticMapping(localNamePart(ATTR_BGCOLOR
), "bgcolor");
144 s_idTable
->addStaticMapping(localNamePart(ATTR_BGPROPERTIES
), "bgproperties");
145 s_idTable
->addStaticMapping(localNamePart(ATTR_BORDER
), "border");
146 s_idTable
->addStaticMapping(localNamePart(ATTR_BORDERCOLOR
), "bordercolor");
147 s_idTable
->addStaticMapping(localNamePart(ATTR_CELLPADDING
), "cellpadding");
148 s_idTable
->addStaticMapping(localNamePart(ATTR_CELLSPACING
), "cellspacing");
149 s_idTable
->addStaticMapping(localNamePart(ATTR_CHAR
), "char");
150 s_idTable
->addStaticMapping(localNamePart(ATTR_CHALLENGE
), "challenge");
151 s_idTable
->addStaticMapping(localNamePart(ATTR_CHAROFF
), "charoff");
152 s_idTable
->addStaticMapping(localNamePart(ATTR_CHARSET
), "charset");
153 s_idTable
->addStaticMapping(localNamePart(ATTR_CHECKED
), "checked");
154 s_idTable
->addStaticMapping(localNamePart(ATTR_CLEAR
), "clear");
155 s_idTable
->addStaticMapping(localNamePart(ATTR_CODETYPE
), "codetype");
156 s_idTable
->addStaticMapping(localNamePart(ATTR_COLOR
), "color");
157 s_idTable
->addStaticMapping(localNamePart(ATTR_COLS
), "cols");
158 s_idTable
->addStaticMapping(localNamePart(ATTR_COLSPAN
), "colspan");
159 s_idTable
->addStaticMapping(localNamePart(ATTR_COMPACT
), "compact");
160 s_idTable
->addStaticMapping(localNamePart(ATTR_CONTENTEDITABLE
), "contenteditable");
161 s_idTable
->addStaticMapping(localNamePart(ATTR_CONTROLS
), "controls");
162 s_idTable
->addStaticMapping(localNamePart(ATTR_COORDS
), "coords");
163 s_idTable
->addStaticMapping(localNamePart(ATTR_DECLARE
), "declare");
164 s_idTable
->addStaticMapping(localNamePart(ATTR_DEFER
), "defer");
165 s_idTable
->addStaticMapping(localNamePart(ATTR_DIRECTION
), "direction");
166 s_idTable
->addStaticMapping(localNamePart(ATTR_DISABLED
), "disabled");
167 s_idTable
->addStaticMapping(localNamePart(ATTR_ENCTYPE
), "enctype");
168 s_idTable
->addStaticMapping(localNamePart(ATTR_END
), "end");
169 s_idTable
->addStaticMapping(localNamePart(ATTR_FACE
), "face");
170 s_idTable
->addStaticMapping(localNamePart(ATTR_FRAMEBORDER
), "frameborder");
171 s_idTable
->addStaticMapping(localNamePart(ATTR_HEIGHT
), "height");
172 s_idTable
->addStaticMapping(localNamePart(ATTR_HIDDEN
), "hidden");
173 s_idTable
->addStaticMapping(localNamePart(ATTR_HREFLANG
), "hreflang");
174 s_idTable
->addStaticMapping(localNamePart(ATTR_HSPACE
), "hspace");
175 s_idTable
->addStaticMapping(localNamePart(ATTR_HTTP_EQUIV
), "http-equiv");
176 s_idTable
->addStaticMapping(localNamePart(ATTR_ISMAP
), "ismap");
177 s_idTable
->addStaticMapping(localNamePart(ATTR_LANG
), "lang");
178 s_idTable
->addStaticMapping(localNamePart(ATTR_LANGUAGE
), "language");
179 s_idTable
->addStaticMapping(localNamePart(ATTR_LEFT
), "left");
180 s_idTable
->addStaticMapping(localNamePart(ATTR_LEFTMARGIN
), "leftmargin");
181 s_idTable
->addStaticMapping(localNamePart(ATTR_LOOP
), "loop");
182 s_idTable
->addStaticMapping(localNamePart(ATTR_LOOPEND
), "loopend");
183 s_idTable
->addStaticMapping(localNamePart(ATTR_LOOPSTART
), "loopstart");
184 s_idTable
->addStaticMapping(localNamePart(ATTR_MARGINHEIGHT
), "marginheight");
185 s_idTable
->addStaticMapping(localNamePart(ATTR_MARGINWIDTH
), "marginwidth");
186 s_idTable
->addStaticMapping(localNamePart(ATTR_MAXLENGTH
), "maxlength");
187 s_idTable
->addStaticMapping(localNamePart(ATTR_MEDIA
), "media");
188 s_idTable
->addStaticMapping(localNamePart(ATTR_METHOD
), "method");
189 s_idTable
->addStaticMapping(localNamePart(ATTR_MULTIPLE
), "multiple");
190 s_idTable
->addStaticMapping(localNamePart(ATTR_NOHREF
), "nohref");
191 s_idTable
->addStaticMapping(localNamePart(ATTR_NORESIZE
), "noresize");
192 s_idTable
->addStaticMapping(localNamePart(ATTR_NOSAVE
), "nosave");
193 s_idTable
->addStaticMapping(localNamePart(ATTR_NOSHADE
), "noshade");
194 s_idTable
->addStaticMapping(localNamePart(ATTR_NOWRAP
), "nowrap");
195 s_idTable
->addStaticMapping(localNamePart(ATTR_ONABORT
), "onabort");
196 s_idTable
->addStaticMapping(localNamePart(ATTR_ONERROR
), "onerror");
197 s_idTable
->addStaticMapping(localNamePart(ATTR_ONRESIZE
), "onresize");
198 s_idTable
->addStaticMapping(localNamePart(ATTR_OVERSRC
), "oversrc");
199 s_idTable
->addStaticMapping(localNamePart(ATTR_PAGEX
), "pagex");
200 s_idTable
->addStaticMapping(localNamePart(ATTR_PAGEY
), "pagey");
201 s_idTable
->addStaticMapping(localNamePart(ATTR_PLAIN
), "plain");
202 s_idTable
->addStaticMapping(localNamePart(ATTR_PLAYCOUNT
), "playcount");
203 s_idTable
->addStaticMapping(localNamePart(ATTR_PLUGINPAGE
), "pluginpage");
204 s_idTable
->addStaticMapping(localNamePart(ATTR_PLUGINSPAGE
), "pluginspage");
205 s_idTable
->addStaticMapping(localNamePart(ATTR_PLUGINURL
), "pluginurl");
206 s_idTable
->addStaticMapping(localNamePart(ATTR_POSTER
), "poster");
207 s_idTable
->addStaticMapping(localNamePart(ATTR_READONLY
), "readonly");
208 s_idTable
->addStaticMapping(localNamePart(ATTR_REL
), "rel");
209 s_idTable
->addStaticMapping(localNamePart(ATTR_REV
), "rev");
210 s_idTable
->addStaticMapping(localNamePart(ATTR_ROWS
), "rows");
211 s_idTable
->addStaticMapping(localNamePart(ATTR_ROWSPAN
), "rowspan");
212 s_idTable
->addStaticMapping(localNamePart(ATTR_RULES
), "rules");
213 s_idTable
->addStaticMapping(localNamePart(ATTR_SCOPE
), "scope");
214 s_idTable
->addStaticMapping(localNamePart(ATTR_SCROLLAMOUNT
), "scrollamount");
215 s_idTable
->addStaticMapping(localNamePart(ATTR_SCROLLDELAY
), "scrolldelay");
216 s_idTable
->addStaticMapping(localNamePart(ATTR_SCROLLING
), "scrolling");
217 s_idTable
->addStaticMapping(localNamePart(ATTR_SELECTED
), "selected");
218 s_idTable
->addStaticMapping(localNamePart(ATTR_SHAPE
), "shape");
219 s_idTable
->addStaticMapping(localNamePart(ATTR_SIZE
), "size");
220 s_idTable
->addStaticMapping(localNamePart(ATTR_START
), "start");
221 s_idTable
->addStaticMapping(localNamePart(ATTR_TABINDEX
), "tabindex");
222 s_idTable
->addStaticMapping(localNamePart(ATTR_TARGET
), "target");
223 s_idTable
->addStaticMapping(localNamePart(ATTR_TEXT
), "text");
224 s_idTable
->addStaticMapping(localNamePart(ATTR_TOP
), "top");
225 s_idTable
->addStaticMapping(localNamePart(ATTR_TOPMARGIN
), "topmargin");
226 s_idTable
->addStaticMapping(localNamePart(ATTR_TRUESPEED
), "truespeed");
227 s_idTable
->addStaticMapping(localNamePart(ATTR_TYPE
), "type");
228 s_idTable
->addStaticMapping(localNamePart(ATTR_UNKNOWN
), "unknown");
229 s_idTable
->addStaticMapping(localNamePart(ATTR_VALIGN
), "valign");
230 s_idTable
->addStaticMapping(localNamePart(ATTR_VALUETYPE
), "valuetype");
231 s_idTable
->addStaticMapping(localNamePart(ATTR_VERSION
), "version");
232 s_idTable
->addStaticMapping(localNamePart(ATTR_VISIBILITY
), "visibility");
233 s_idTable
->addStaticMapping(localNamePart(ATTR_VLINK
), "vlink");
234 s_idTable
->addStaticMapping(localNamePart(ATTR_VSPACE
), "vspace");
235 s_idTable
->addStaticMapping(localNamePart(ATTR_WIDTH
), "width");
236 s_idTable
->addStaticMapping(localNamePart(ATTR_WRAP
), "wrap");
237 s_idTable
->addStaticMapping(localNamePart(ATTR_Z_INDEX
), "z-index");
238 s_idTable
->addStaticMapping(localNamePart(ATTR_ACTION
), "action");
239 s_idTable
->addStaticMapping(localNamePart(ATTR_ALT
), "alt");
240 s_idTable
->addStaticMapping(localNamePart(ATTR_ARCHIVE
), "archive");
241 s_idTable
->addStaticMapping(localNamePart(ATTR_BACKGROUND
), "background");
242 s_idTable
->addStaticMapping(localNamePart(ATTR_CLASS
), "class");
243 s_idTable
->addStaticMapping(localNamePart(ATTR_CLASSID
), "classid");
244 s_idTable
->addStaticMapping(localNamePart(ATTR_CODEBASE
), "codebase");
245 s_idTable
->addStaticMapping(localNamePart(ATTR_CONTENT
), "content");
246 s_idTable
->addStaticMapping(localNamePart(ATTR_DATA
), "data");
247 s_idTable
->addStaticMapping(localNamePart(ATTR_DATETIME
), "datetime");
248 s_idTable
->addStaticMapping(localNamePart(ATTR_FOR
), "for");
249 s_idTable
->addStaticMapping(localNamePart(ATTR_HEADERS
), "headers");
250 s_idTable
->addStaticMapping(localNamePart(ATTR_HREF
), "href");
251 s_idTable
->addStaticMapping(localNamePart(ATTR_ID
), "id");
252 s_idTable
->addStaticMapping(localNamePart(ATTR_LONGDESC
), "longdesc");
253 s_idTable
->addStaticMapping(localNamePart(ATTR_NAME
), "name");
254 s_idTable
->addStaticMapping(localNamePart(ATTR_ONBLUR
), "onblur");
255 s_idTable
->addStaticMapping(localNamePart(ATTR_ONCHANGE
), "onchange");
256 s_idTable
->addStaticMapping(localNamePart(ATTR_ONCLICK
), "onclick");
257 s_idTable
->addStaticMapping(localNamePart(ATTR_ONDBLCLICK
), "ondblclick");
258 s_idTable
->addStaticMapping(localNamePart(ATTR_ONFOCUS
), "onfocus");
259 s_idTable
->addStaticMapping(localNamePart(ATTR_ONKEYDOWN
), "onkeydown");
260 s_idTable
->addStaticMapping(localNamePart(ATTR_ONKEYPRESS
), "onkeypress");
261 s_idTable
->addStaticMapping(localNamePart(ATTR_ONKEYUP
), "onkeyup");
262 s_idTable
->addStaticMapping(localNamePart(ATTR_ONLOAD
), "onload");
263 s_idTable
->addStaticMapping(localNamePart(ATTR_ONMOUSEDOWN
), "onmousedown");
264 s_idTable
->addStaticMapping(localNamePart(ATTR_ONMOUSEMOVE
), "onmousemove");
265 s_idTable
->addStaticMapping(localNamePart(ATTR_ONMOUSEOUT
), "onmouseout");
266 s_idTable
->addStaticMapping(localNamePart(ATTR_ONMOUSEOVER
), "onmouseover");
267 s_idTable
->addStaticMapping(localNamePart(ATTR_ONMOUSEUP
), "onmouseup");
268 s_idTable
->addStaticMapping(localNamePart(ATTR_ONRESET
), "onreset");
269 s_idTable
->addStaticMapping(localNamePart(ATTR_ONSELECT
), "onselect");
270 s_idTable
->addStaticMapping(localNamePart(ATTR_ONSCROLL
), "onscroll");
271 s_idTable
->addStaticMapping(localNamePart(ATTR_ONSUBMIT
), "onsubmit");
272 s_idTable
->addStaticMapping(localNamePart(ATTR_ONUNLOAD
), "onunload");
273 s_idTable
->addStaticMapping(localNamePart(ATTR_PROFILE
), "profile");
274 s_idTable
->addStaticMapping(localNamePart(ATTR_PROMPT
), "prompt");
275 s_idTable
->addStaticMapping(localNamePart(ATTR_SCHEME
), "scheme");
276 s_idTable
->addStaticMapping(localNamePart(ATTR_SRC
), "src");
277 s_idTable
->addStaticMapping(localNamePart(ATTR_STANDBY
), "standby");
278 s_idTable
->addStaticMapping(localNamePart(ATTR_SUMMARY
), "summary");
279 s_idTable
->addStaticMapping(localNamePart(ATTR_USEMAP
), "usemap");
280 s_idTable
->addStaticMapping(localNamePart(ATTR_VALUE
), "value");
281 s_idTable
->addStaticMapping(localNamePart(ID_ALTGLYPH
), "altGlyph");
282 s_idTable
->addStaticMapping(localNamePart(ID_ALTGLYPHDEF
), "altGlyphDef");
283 s_idTable
->addStaticMapping(localNamePart(ID_ALTGLYPHITEM
), "altGlyphItem");
284 s_idTable
->addStaticMapping(localNamePart(ID_ANIMATE
), "animate");
285 s_idTable
->addStaticMapping(localNamePart(ID_ANIMATECOLOR
), "animateColor");
286 s_idTable
->addStaticMapping(localNamePart(ID_ANIMATEMOTION
), "animateMotion");
287 s_idTable
->addStaticMapping(localNamePart(ID_ANIMATETRANSFORM
), "animateTransform");
288 s_idTable
->addStaticMapping(localNamePart(ID_SET
), "set");
289 s_idTable
->addStaticMapping(localNamePart(ID_CIRCLE
), "circle");
290 s_idTable
->addStaticMapping(localNamePart(ID_CLIPPATH
), "clipPath");
291 s_idTable
->addStaticMapping(localNamePart(ID_COLOR_PROFILE
), "color_profile");
292 s_idTable
->addStaticMapping(localNamePart(ID_CURSOR
), "cursor");
293 s_idTable
->addStaticMapping(localNamePart(ID_DEFINITION_SRC
), "definition_src");
294 s_idTable
->addStaticMapping(localNamePart(ID_DEFS
), "defs");
295 s_idTable
->addStaticMapping(localNamePart(ID_DESC
), "desc");
296 s_idTable
->addStaticMapping(localNamePart(ID_ELLIPSE
), "ellipse");
297 s_idTable
->addStaticMapping(localNamePart(ID_FEBLEND
), "feBlend");
298 s_idTable
->addStaticMapping(localNamePart(ID_FECOLORMATRIX
), "feColorMatrix");
299 s_idTable
->addStaticMapping(localNamePart(ID_FECOMPONENTTRANSFER
), "feComponentTransfer");
300 s_idTable
->addStaticMapping(localNamePart(ID_FECOMPOSITE
), "feComposite");
301 s_idTable
->addStaticMapping(localNamePart(ID_FECONVOLVEMATRIX
), "feConvolveMatrix");
302 s_idTable
->addStaticMapping(localNamePart(ID_FEDIFFUSELIGHTING
), "feDiffuseLighting");
303 s_idTable
->addStaticMapping(localNamePart(ID_FEDISPLACEMENTMAP
), "feDisplacementMap");
304 s_idTable
->addStaticMapping(localNamePart(ID_FEDISTANTLIGHT
), "feDistantLight");
305 s_idTable
->addStaticMapping(localNamePart(ID_FEFLOOD
), "feFlood");
306 s_idTable
->addStaticMapping(localNamePart(ID_FEFUNCA
), "feFuncA");
307 s_idTable
->addStaticMapping(localNamePart(ID_FEFUNCB
), "feFuncB");
308 s_idTable
->addStaticMapping(localNamePart(ID_FEFUNCG
), "feFuncG");
309 s_idTable
->addStaticMapping(localNamePart(ID_FEFUNCR
), "feFuncR");
310 s_idTable
->addStaticMapping(localNamePart(ID_FEGAUSSIANBLUR
), "feGaussianBlur");
311 s_idTable
->addStaticMapping(localNamePart(ID_FEIMAGE
), "feImage");
312 s_idTable
->addStaticMapping(localNamePart(ID_FEMERGE
), "feMerge");
313 s_idTable
->addStaticMapping(localNamePart(ID_FEMERGENODE
), "feMergeNode");
314 s_idTable
->addStaticMapping(localNamePart(ID_FEMORPHOLOGY
), "feMorphology");
315 s_idTable
->addStaticMapping(localNamePart(ID_FEOFFSET
), "feOffset");
316 s_idTable
->addStaticMapping(localNamePart(ID_FEPOINTLIGHT
), "fePointLight");
317 s_idTable
->addStaticMapping(localNamePart(ID_FESPECULARLIGHTING
), "feSpecularLighting");
318 s_idTable
->addStaticMapping(localNamePart(ID_FESPOTLIGHT
), "feSpotLight");
319 s_idTable
->addStaticMapping(localNamePart(ID_FETILE
), "feTile");
320 s_idTable
->addStaticMapping(localNamePart(ID_FETURBULENCE
), "feTurbulence");
321 s_idTable
->addStaticMapping(localNamePart(ID_FILTER
), "filter");
322 s_idTable
->addStaticMapping(localNamePart(ID_FONT_FACE
), "font_face");
323 s_idTable
->addStaticMapping(localNamePart(ID_FONT_FACE_FORMAT
), "font_face_format");
324 s_idTable
->addStaticMapping(localNamePart(ID_FONT_FACE_NAME
), "font_face_name");
325 s_idTable
->addStaticMapping(localNamePart(ID_FONT_FACE_SRC
), "font_face_src");
326 s_idTable
->addStaticMapping(localNamePart(ID_FONT_FACE_URI
), "font_face_uri");
327 s_idTable
->addStaticMapping(localNamePart(ID_FOREIGNOBJECT
), "foreignObject");
328 s_idTable
->addStaticMapping(localNamePart(ID_G
), "g");
329 s_idTable
->addStaticMapping(localNamePart(ID_GLYPH
), "glyph");
330 s_idTable
->addStaticMapping(localNamePart(ID_GLYPHREF
), "glyphRef");
331 s_idTable
->addStaticMapping(localNamePart(ID_HKERN
), "hkern");
332 s_idTable
->addStaticMapping(localNamePart(ID_LINE
), "line");
333 s_idTable
->addStaticMapping(localNamePart(ID_LINEARGRADIENT
), "linearGradient");
334 s_idTable
->addStaticMapping(localNamePart(ID_MARKER
), "marker");
335 s_idTable
->addStaticMapping(localNamePart(ID_MASK
), "mask");
336 s_idTable
->addStaticMapping(localNamePart(ID_METADATA
), "metadata");
337 s_idTable
->addStaticMapping(localNamePart(ID_MISSING_GLYPH
), "missing_glyph");
338 s_idTable
->addStaticMapping(localNamePart(ID_MPATH
), "mpath");
339 s_idTable
->addStaticMapping(localNamePart(ID_PATH
), "path");
340 s_idTable
->addStaticMapping(localNamePart(ID_PATTERN
), "pattern");
341 s_idTable
->addStaticMapping(localNamePart(ID_POLYGON
), "polygon");
342 s_idTable
->addStaticMapping(localNamePart(ID_POLYLINE
), "polyline");
343 s_idTable
->addStaticMapping(localNamePart(ID_RADIALGRADIENT
), "radialGradient");
344 s_idTable
->addStaticMapping(localNamePart(ID_RECT
), "rect");
345 s_idTable
->addStaticMapping(localNamePart(ID_STOP
), "stop");
346 s_idTable
->addStaticMapping(localNamePart(ID_SVG
), "svg");
347 s_idTable
->addStaticMapping(localNamePart(ID_SWITCH
), "switch");
348 s_idTable
->addStaticMapping(localNamePart(ID_SYMBOL
), "symbol");
349 s_idTable
->addStaticMapping(localNamePart(ID_TEXTPATH
), "textPath");
350 s_idTable
->addStaticMapping(localNamePart(ID_TREF
), "tref");
351 s_idTable
->addStaticMapping(localNamePart(ID_TSPAN
), "tspan");
352 s_idTable
->addStaticMapping(localNamePart(ID_USE
), "use");
353 s_idTable
->addStaticMapping(localNamePart(ID_VIEW
), "view");
354 s_idTable
->addStaticMapping(localNamePart(ID_VKERN
), "vkern");
355 s_idTable
->addStaticMapping(localNamePart(ATTR_ACCENT_HEIGHT
), "accent-height");
356 s_idTable
->addStaticMapping(localNamePart(ATTR_ACCUMULATE
), "accumulate");
357 s_idTable
->addStaticMapping(localNamePart(ATTR_ADDITIVE
), "additive");
358 s_idTable
->addStaticMapping(localNamePart(ATTR_ALIGNMENT_BASELINE
), "alignment-baseline");
359 s_idTable
->addStaticMapping(localNamePart(ATTR_ALPHABETIC
), "alphabetic");
360 s_idTable
->addStaticMapping(localNamePart(ATTR_AMPLITUDE
), "amplitude");
361 s_idTable
->addStaticMapping(localNamePart(ATTR_ARABIC_FORM
), "arabic-form");
362 s_idTable
->addStaticMapping(localNamePart(ATTR_ASCENT
), "ascent");
363 s_idTable
->addStaticMapping(localNamePart(ATTR_ATTRIBUTENAME
), "attributeName");
364 s_idTable
->addStaticMapping(localNamePart(ATTR_ATTRIBUTETYPE
), "attributeType");
365 s_idTable
->addStaticMapping(localNamePart(ATTR_AZIMUTH
), "azimuth");
366 s_idTable
->addStaticMapping(localNamePart(ATTR_BASEFREQUENCY
), "baseFrequency");
367 s_idTable
->addStaticMapping(localNamePart(ATTR_BASELINE_SHIFT
), "baseline-shift");
368 s_idTable
->addStaticMapping(localNamePart(ATTR_BASEPROFILE
), "baseProfile");
369 s_idTable
->addStaticMapping(localNamePart(ATTR_BBOX
), "bbox");
370 s_idTable
->addStaticMapping(localNamePart(ATTR_BEGIN
), "begin");
371 s_idTable
->addStaticMapping(localNamePart(ATTR_BIAS
), "bias");
372 s_idTable
->addStaticMapping(localNamePart(ATTR_BY
), "by");
373 s_idTable
->addStaticMapping(localNamePart(ATTR_CALCMODE
), "calcMode");
374 s_idTable
->addStaticMapping(localNamePart(ATTR_CAP_HEIGHT
), "cap-height");
375 s_idTable
->addStaticMapping(localNamePart(ATTR_CLIP
), "clip");
376 s_idTable
->addStaticMapping(localNamePart(ATTR_CLIP_PATH
), "clip-path");
377 s_idTable
->addStaticMapping(localNamePart(ATTR_CLIP_RULE
), "clip-rule");
378 s_idTable
->addStaticMapping(localNamePart(ATTR_CLIPPATHUNITS
), "clipPathUnits");
379 s_idTable
->addStaticMapping(localNamePart(ATTR_COLOR_INTERPOLATION
), "color-interpolation");
380 s_idTable
->addStaticMapping(localNamePart(ATTR_COLOR_INTERPOLATION_FILTERS
), "color-interpolation-filters");
381 s_idTable
->addStaticMapping(localNamePart(ATTR_COLOR_PROFILE
), "color-profile");
382 s_idTable
->addStaticMapping(localNamePart(ATTR_COLOR_RENDERING
), "color-rendering");
383 s_idTable
->addStaticMapping(localNamePart(ATTR_CONTENTSCRIPTTYPE
), "contentScriptType");
384 s_idTable
->addStaticMapping(localNamePart(ATTR_CONTENTSTYLETYPE
), "contentStyleType");
385 s_idTable
->addStaticMapping(localNamePart(ATTR_CX
), "cx");
386 s_idTable
->addStaticMapping(localNamePart(ATTR_CY
), "cy");
387 s_idTable
->addStaticMapping(localNamePart(ATTR_D
), "d");
388 s_idTable
->addStaticMapping(localNamePart(ATTR_DESCENT
), "descent");
389 s_idTable
->addStaticMapping(localNamePart(ATTR_DIFFUSECONSTANT
), "diffuseConstant");
390 s_idTable
->addStaticMapping(localNamePart(ATTR_DISPLAY
), "display");
391 s_idTable
->addStaticMapping(localNamePart(ATTR_DIVISOR
), "divisor");
392 s_idTable
->addStaticMapping(localNamePart(ATTR_DOMINANT_BASELINE
), "dominant-baseline");
393 s_idTable
->addStaticMapping(localNamePart(ATTR_DUR
), "dur");
394 s_idTable
->addStaticMapping(localNamePart(ATTR_DX
), "dx");
395 s_idTable
->addStaticMapping(localNamePart(ATTR_DY
), "dy");
396 s_idTable
->addStaticMapping(localNamePart(ATTR_EDGEMODE
), "edgeMode");
397 s_idTable
->addStaticMapping(localNamePart(ATTR_ELEVATION
), "elevation");
398 s_idTable
->addStaticMapping(localNamePart(ATTR_ENABLE_BACKGROUND
), "enable-background");
399 s_idTable
->addStaticMapping(localNamePart(ATTR_EXPONENT
), "exponent");
400 s_idTable
->addStaticMapping(localNamePart(ATTR_EXTERNALRESOURCESREQUIRED
), "externalResourcesRequired");
401 s_idTable
->addStaticMapping(localNamePart(ATTR_FILL
), "fill");
402 s_idTable
->addStaticMapping(localNamePart(ATTR_FILL_OPACITY
), "fill-opacity");
403 s_idTable
->addStaticMapping(localNamePart(ATTR_FILL_RULE
), "fill-rule");
404 s_idTable
->addStaticMapping(localNamePart(ATTR_FILTERRES
), "filterRes");
405 s_idTable
->addStaticMapping(localNamePart(ATTR_FILTERUNITS
), "filterUnits");
406 s_idTable
->addStaticMapping(localNamePart(ATTR_FLOOD_COLOR
), "flood-color");
407 s_idTable
->addStaticMapping(localNamePart(ATTR_FLOOD_OPACITY
), "flood-opacity");
408 s_idTable
->addStaticMapping(localNamePart(ATTR_FONT_FAMILY
), "font-family");
409 s_idTable
->addStaticMapping(localNamePart(ATTR_FONT_SIZE
), "font-size");
410 s_idTable
->addStaticMapping(localNamePart(ATTR_FONT_SIZE_ADJUST
), "font-size-adjust");
411 s_idTable
->addStaticMapping(localNamePart(ATTR_FONT_STRETCH
), "font-stretch");
412 s_idTable
->addStaticMapping(localNamePart(ATTR_FONT_STYLE
), "font-style");
413 s_idTable
->addStaticMapping(localNamePart(ATTR_FONT_VARIANT
), "font-variant");
414 s_idTable
->addStaticMapping(localNamePart(ATTR_FONT_WEIGHT
), "font-weight");
415 s_idTable
->addStaticMapping(localNamePart(ATTR_FORMAT
), "format");
416 s_idTable
->addStaticMapping(localNamePart(ATTR_FROM
), "from");
417 s_idTable
->addStaticMapping(localNamePart(ATTR_FX
), "fx");
418 s_idTable
->addStaticMapping(localNamePart(ATTR_FY
), "fy");
419 s_idTable
->addStaticMapping(localNamePart(ATTR_G1
), "g1");
420 s_idTable
->addStaticMapping(localNamePart(ATTR_G2
), "g2");
421 s_idTable
->addStaticMapping(localNamePart(ATTR_GLYPH_NAME
), "glyph-name");
422 s_idTable
->addStaticMapping(localNamePart(ATTR_GLYPH_ORIENTATION_HORIZONTAL
), "glyph-orientation-horizontal");
423 s_idTable
->addStaticMapping(localNamePart(ATTR_GLYPH_ORIENTATION_VERTICAL
), "glyph-orientation-vertical");
424 s_idTable
->addStaticMapping(localNamePart(ATTR_GRADIENTTRANSFORM
), "gradientTransform");
425 s_idTable
->addStaticMapping(localNamePart(ATTR_GRADIENTUNITS
), "gradientUnits");
426 s_idTable
->addStaticMapping(localNamePart(ATTR_HANGING
), "hanging");
427 s_idTable
->addStaticMapping(localNamePart(ATTR_HORIZ_ADV_X
), "horiz-adv-x");
428 s_idTable
->addStaticMapping(localNamePart(ATTR_HORIZ_ORIGIN_X
), "horiz-origin-x");
429 s_idTable
->addStaticMapping(localNamePart(ATTR_HORIZ_ORIGIN_Y
), "horiz-origin-y");
430 s_idTable
->addStaticMapping(localNamePart(ATTR_IDEOGRAPHIC
), "ideographic");
431 s_idTable
->addStaticMapping(localNamePart(ATTR_IMAGE_RENDERING
), "image-rendering");
432 s_idTable
->addStaticMapping(localNamePart(ATTR_IN
), "in");
433 s_idTable
->addStaticMapping(localNamePart(ATTR_IN2
), "in2");
434 s_idTable
->addStaticMapping(localNamePart(ATTR_INTERCEPT
), "intercept");
435 s_idTable
->addStaticMapping(localNamePart(ATTR_K
), "k");
436 s_idTable
->addStaticMapping(localNamePart(ATTR_K1
), "k1");
437 s_idTable
->addStaticMapping(localNamePart(ATTR_K2
), "k2");
438 s_idTable
->addStaticMapping(localNamePart(ATTR_K3
), "k3");
439 s_idTable
->addStaticMapping(localNamePart(ATTR_K4
), "k4");
440 s_idTable
->addStaticMapping(localNamePart(ATTR_KERNELMATRIX
), "kernelMatrix");
441 s_idTable
->addStaticMapping(localNamePart(ATTR_KERNELUNITLENGTH
), "kernelUnitLength");
442 s_idTable
->addStaticMapping(localNamePart(ATTR_KERNING
), "kerning");
443 s_idTable
->addStaticMapping(localNamePart(ATTR_KEYPOINTS
), "keyPoints");
444 s_idTable
->addStaticMapping(localNamePart(ATTR_KEYSPLINES
), "keySplines");
445 s_idTable
->addStaticMapping(localNamePart(ATTR_KEYTIMES
), "keyTimes");
446 s_idTable
->addStaticMapping(localNamePart(ATTR_LENGTHADJUST
), "lengthAdjust");
447 s_idTable
->addStaticMapping(localNamePart(ATTR_LETTER_SPACING
), "letter-spacing");
448 s_idTable
->addStaticMapping(localNamePart(ATTR_LIGHTING_COLOR
), "lighting-color");
449 s_idTable
->addStaticMapping(localNamePart(ATTR_LIMITINGCONEANGLE
), "limitingConeAngle");
450 s_idTable
->addStaticMapping(localNamePart(ATTR_LOCAL
), "local");
451 s_idTable
->addStaticMapping(localNamePart(ATTR_MARKER_END
), "marker-end");
452 s_idTable
->addStaticMapping(localNamePart(ATTR_MARKER_MID
), "marker-mid");
453 s_idTable
->addStaticMapping(localNamePart(ATTR_MARKER_START
), "marker-start");
454 s_idTable
->addStaticMapping(localNamePart(ATTR_MARKERHEIGHT
), "markerHeight");
455 s_idTable
->addStaticMapping(localNamePart(ATTR_MARKERUNITS
), "markerUnits");
456 s_idTable
->addStaticMapping(localNamePart(ATTR_MARKERWIDTH
), "markerWidth");
457 s_idTable
->addStaticMapping(localNamePart(ATTR_MASKCONTENTUNITS
), "maskContentUnits");
458 s_idTable
->addStaticMapping(localNamePart(ATTR_MASKUNITS
), "maskUnits");
459 s_idTable
->addStaticMapping(localNamePart(ATTR_MATHEMATICAL
), "mathematical");
460 s_idTable
->addStaticMapping(localNamePart(ATTR_MAX
), "max");
461 s_idTable
->addStaticMapping(localNamePart(ATTR_MIN
), "min");
462 s_idTable
->addStaticMapping(localNamePart(ATTR_MODE
), "mode");
463 s_idTable
->addStaticMapping(localNamePart(ATTR_NUMOCTAVES
), "numOctaves");
464 s_idTable
->addStaticMapping(localNamePart(ATTR_OFFSET
), "offset");
465 s_idTable
->addStaticMapping(localNamePart(ATTR_ONACTIVATE
), "onactivate");
466 s_idTable
->addStaticMapping(localNamePart(ATTR_ONBEGIN
), "onbegin");
467 s_idTable
->addStaticMapping(localNamePart(ATTR_ONEND
), "onend");
468 s_idTable
->addStaticMapping(localNamePart(ATTR_ONFOCUSIN
), "onfocusin");
469 s_idTable
->addStaticMapping(localNamePart(ATTR_ONFOCUSOUT
), "onfocusout");
470 s_idTable
->addStaticMapping(localNamePart(ATTR_ONREPEAT
), "onrepeat");
471 s_idTable
->addStaticMapping(localNamePart(ATTR_ONZOOM
), "onzoom");
472 s_idTable
->addStaticMapping(localNamePart(ATTR_OPACITY
), "opacity");
473 s_idTable
->addStaticMapping(localNamePart(ATTR_OPERATOR
), "operator");
474 s_idTable
->addStaticMapping(localNamePart(ATTR_ORDER
), "order");
475 s_idTable
->addStaticMapping(localNamePart(ATTR_ORIENT
), "orient");
476 s_idTable
->addStaticMapping(localNamePart(ATTR_ORIENTATION
), "orientation");
477 s_idTable
->addStaticMapping(localNamePart(ATTR_ORIGIN
), "origin");
478 s_idTable
->addStaticMapping(localNamePart(ATTR_OVERFLOW
), "overflow");
479 s_idTable
->addStaticMapping(localNamePart(ATTR_OVERLINE_POSITION
), "overline-position");
480 s_idTable
->addStaticMapping(localNamePart(ATTR_OVERLINE_THICKNESS
), "overline-thickness");
481 s_idTable
->addStaticMapping(localNamePart(ATTR_PANOSE_1
), "panose-1");
482 s_idTable
->addStaticMapping(localNamePart(ATTR_PATHLENGTH
), "pathLength");
483 s_idTable
->addStaticMapping(localNamePart(ATTR_PATTERNCONTENTUNITS
), "patternContentUnits");
484 s_idTable
->addStaticMapping(localNamePart(ATTR_PATTERNTRANSFORM
), "patternTransform");
485 s_idTable
->addStaticMapping(localNamePart(ATTR_PATTERNUNITS
), "patternUnits");
486 s_idTable
->addStaticMapping(localNamePart(ATTR_POINTER_EVENTS
), "pointer-events");
487 s_idTable
->addStaticMapping(localNamePart(ATTR_POINTS
), "points");
488 s_idTable
->addStaticMapping(localNamePart(ATTR_POINTSATX
), "pointsAtX");
489 s_idTable
->addStaticMapping(localNamePart(ATTR_POINTSATY
), "pointsAtY");
490 s_idTable
->addStaticMapping(localNamePart(ATTR_POINTSATZ
), "pointsAtZ");
491 s_idTable
->addStaticMapping(localNamePart(ATTR_PRESERVEALPHA
), "preserveAlpha");
492 s_idTable
->addStaticMapping(localNamePart(ATTR_PRESERVEASPECTRATIO
), "preserveAspectRatio");
493 s_idTable
->addStaticMapping(localNamePart(ATTR_PRIMITIVEUNITS
), "primitiveUnits");
494 s_idTable
->addStaticMapping(localNamePart(ATTR_R
), "r");
495 s_idTable
->addStaticMapping(localNamePart(ATTR_RADIUS
), "radius");
496 s_idTable
->addStaticMapping(localNamePart(ATTR_REFX
), "refX");
497 s_idTable
->addStaticMapping(localNamePart(ATTR_REFY
), "refY");
498 s_idTable
->addStaticMapping(localNamePart(ATTR_RENDERING_INTENT
), "rendering-intent");
499 s_idTable
->addStaticMapping(localNamePart(ATTR_REPEATCOUNT
), "repeatCount");
500 s_idTable
->addStaticMapping(localNamePart(ATTR_REPEATDUR
), "repeatDur");
501 s_idTable
->addStaticMapping(localNamePart(ATTR_REQUIREDEXTENSIONS
), "requiredExtensions");
502 s_idTable
->addStaticMapping(localNamePart(ATTR_REQUIREDFEATURES
), "requiredFeatures");
503 s_idTable
->addStaticMapping(localNamePart(ATTR_RESTART
), "restart");
504 s_idTable
->addStaticMapping(localNamePart(ATTR_RESULT
), "result");
505 s_idTable
->addStaticMapping(localNamePart(ATTR_ROTATE
), "rotate");
506 s_idTable
->addStaticMapping(localNamePart(ATTR_RX
), "rx");
507 s_idTable
->addStaticMapping(localNamePart(ATTR_RY
), "ry");
508 s_idTable
->addStaticMapping(localNamePart(ATTR_SCALE
), "scale");
509 s_idTable
->addStaticMapping(localNamePart(ATTR_SEED
), "seed");
510 s_idTable
->addStaticMapping(localNamePart(ATTR_SHAPE_RENDERING
), "shape-rendering");
511 s_idTable
->addStaticMapping(localNamePart(ATTR_SLOPE
), "slope");
512 s_idTable
->addStaticMapping(localNamePart(ATTR_SPACING
), "spacing");
513 s_idTable
->addStaticMapping(localNamePart(ATTR_SPECULARCONSTANT
), "specularConstant");
514 s_idTable
->addStaticMapping(localNamePart(ATTR_SPECULAREXPONENT
), "specularExponent");
515 s_idTable
->addStaticMapping(localNamePart(ATTR_SPREADMETHOD
), "spreadMethod");
516 s_idTable
->addStaticMapping(localNamePart(ATTR_STARTOFFSET
), "startOffset");
517 s_idTable
->addStaticMapping(localNamePart(ATTR_STDDEVIATION
), "stdDeviation");
518 s_idTable
->addStaticMapping(localNamePart(ATTR_STEMH
), "stemh");
519 s_idTable
->addStaticMapping(localNamePart(ATTR_STEMV
), "stemv");
520 s_idTable
->addStaticMapping(localNamePart(ATTR_STITCHTILES
), "stitchTiles");
521 s_idTable
->addStaticMapping(localNamePart(ATTR_STOP_COLOR
), "stop-color");
522 s_idTable
->addStaticMapping(localNamePart(ATTR_STOP_OPACITY
), "stop-opacity");
523 s_idTable
->addStaticMapping(localNamePart(ATTR_STRIKETHROUGH_POSITION
), "strikethrough-position");
524 s_idTable
->addStaticMapping(localNamePart(ATTR_STRIKETHROUGH_THICKNESS
), "strikethrough-thickness");
525 s_idTable
->addStaticMapping(localNamePart(ATTR_STROKE
), "stroke");
526 s_idTable
->addStaticMapping(localNamePart(ATTR_STROKE_DASHARRAY
), "stroke-dasharray");
527 s_idTable
->addStaticMapping(localNamePart(ATTR_STROKE_DASHOFFSET
), "stroke-dashoffset");
528 s_idTable
->addStaticMapping(localNamePart(ATTR_STROKE_LINECAP
), "stroke-linecap");
529 s_idTable
->addStaticMapping(localNamePart(ATTR_STROKE_LINEJOIN
), "stroke-linejoin");
530 s_idTable
->addStaticMapping(localNamePart(ATTR_STROKE_MITERLIMIT
), "stroke-miterlimit");
531 s_idTable
->addStaticMapping(localNamePart(ATTR_STROKE_OPACITY
), "stroke-opacity");
532 s_idTable
->addStaticMapping(localNamePart(ATTR_STROKE_WIDTH
), "stroke-width");
533 s_idTable
->addStaticMapping(localNamePart(ATTR_SURFACESCALE
), "surfaceScale");
534 s_idTable
->addStaticMapping(localNamePart(ATTR_SYSTEMLANGUAGE
), "systemLanguage");
535 s_idTable
->addStaticMapping(localNamePart(ATTR_TABLEVALUES
), "tableValues");
536 s_idTable
->addStaticMapping(localNamePart(ATTR_TARGETX
), "targetX");
537 s_idTable
->addStaticMapping(localNamePart(ATTR_TARGETY
), "targetY");
538 s_idTable
->addStaticMapping(localNamePart(ATTR_TEXT_ANCHOR
), "text-anchor");
539 s_idTable
->addStaticMapping(localNamePart(ATTR_TEXT_DECORATION
), "text-decoration");
540 s_idTable
->addStaticMapping(localNamePart(ATTR_TEXT_RENDERING
), "text-rendering");
541 s_idTable
->addStaticMapping(localNamePart(ATTR_TEXTLENGTH
), "textLength");
542 s_idTable
->addStaticMapping(localNamePart(ATTR_TO
), "to");
543 s_idTable
->addStaticMapping(localNamePart(ATTR_TRANSFORM
), "transform");
544 s_idTable
->addStaticMapping(localNamePart(ATTR_U1
), "u1");
545 s_idTable
->addStaticMapping(localNamePart(ATTR_U2
), "u2");
546 s_idTable
->addStaticMapping(localNamePart(ATTR_UNDERLINE_POSITION
), "underline-position");
547 s_idTable
->addStaticMapping(localNamePart(ATTR_UNDERLINE_THICKNESS
), "underline-thickness");
548 s_idTable
->addStaticMapping(localNamePart(ATTR_UNICODE
), "unicode");
549 s_idTable
->addStaticMapping(localNamePart(ATTR_UNICODE_BIDI
), "unicode-bidi");
550 s_idTable
->addStaticMapping(localNamePart(ATTR_UNICODE_RANGE
), "unicode-range");
551 s_idTable
->addStaticMapping(localNamePart(ATTR_UNITS_PER_EM
), "units-per-em");
552 s_idTable
->addStaticMapping(localNamePart(ATTR_V_ALPHABETIC
), "v-alphabetic");
553 s_idTable
->addStaticMapping(localNamePart(ATTR_V_HANGING
), "v-hanging");
554 s_idTable
->addStaticMapping(localNamePart(ATTR_V_IDEOGRAPHIC
), "v-ideographic");
555 s_idTable
->addStaticMapping(localNamePart(ATTR_V_MATHEMATICAL
), "v-mathematical");
556 s_idTable
->addStaticMapping(localNamePart(ATTR_VALUES
), "values");
557 s_idTable
->addStaticMapping(localNamePart(ATTR_VERT_ADV_Y
), "vert-adv-y");
558 s_idTable
->addStaticMapping(localNamePart(ATTR_VERT_ORIGIN_X
), "vert-origin-x");
559 s_idTable
->addStaticMapping(localNamePart(ATTR_VERT_ORIGIN_Y
), "vert-origin-y");
560 s_idTable
->addStaticMapping(localNamePart(ATTR_VIEWBOX
), "viewBox");
561 s_idTable
->addStaticMapping(localNamePart(ATTR_VIEWTARGET
), "viewTarget");
562 s_idTable
->addStaticMapping(localNamePart(ATTR_WIDTHS
), "widths");
563 s_idTable
->addStaticMapping(localNamePart(ATTR_WORD_SPACING
), "word-spacing");
564 s_idTable
->addStaticMapping(localNamePart(ATTR_WRITING_MODE
), "writing-mode");
565 s_idTable
->addStaticMapping(localNamePart(ATTR_X
), "x");
566 s_idTable
->addStaticMapping(localNamePart(ATTR_X_HEIGHT
), "x-height");
567 s_idTable
->addStaticMapping(localNamePart(ATTR_X1
), "x1");
568 s_idTable
->addStaticMapping(localNamePart(ATTR_X2
), "x2");
569 s_idTable
->addStaticMapping(localNamePart(ATTR_XCHANNELSELECTOR
), "xChannelSelector");
570 s_idTable
->addStaticMapping(localNamePart(ATTR_Y
), "y");
571 s_idTable
->addStaticMapping(localNamePart(ATTR_Y1
), "y1");
572 s_idTable
->addStaticMapping(localNamePart(ATTR_Y2
), "y2");
573 s_idTable
->addStaticMapping(localNamePart(ATTR_YCHANNELSELECTOR
), "yChannelSelector");
574 s_idTable
->addStaticMapping(localNamePart(ATTR_Z
), "z");
575 s_idTable
->addStaticMapping(localNamePart(ATTR_ZOOMANDPAN
), "zoomAndPan");
576 s_idTable
->addStaticMapping(localNamePart(ATTR_ACTUATE
), "actuate");
577 s_idTable
->addStaticMapping(localNamePart(ATTR_ARCROLE
), "arcrole");
578 s_idTable
->addStaticMapping(localNamePart(ATTR_ROLE
), "role");
579 s_idTable
->addStaticMapping(localNamePart(ATTR_SHOW
), "show");
583 IDTable
<PrefixFactory
>* PrefixFactory::s_idTable
;
584 IDTable
<PrefixFactory
>* PrefixFactory::initIdTable()
586 s_idTable
= new IDTable
<PrefixFactory
>();
587 s_idTable
->addStaticMapping(DOM::emptyPrefix
, DOMString());
595 LocalName emptyLocalName
;// = LocalName::fromId(0);
596 PrefixName emptyPrefixName
;// = PrefixName::fromId(0);
597 NamespaceName emptyNamespaceName
;// = NamespaceName::fromId(0);
599 QString
getPrintableName(int id
) {
600 QString local
= QString("null");
601 QString namespacename
= QString("null");
603 if (localNamePart(id
) != anyLocalName
) {
604 DOMString localName
= LocalName::fromId(localNamePart(id
)).toString();
605 if (localName
.implementation())
606 local
= localName
.string();
611 if (namespacePart(id
) != anyNamespace
) {
612 DOMString namespaceName
= NamespaceName::fromId(namespacePart(id
)).toString();
613 if (namespaceName
.implementation())
614 namespacename
= namespaceName
.string();
618 return "{ns:" + QString::number(namespacePart(id
)) + ",[" + namespacename
+ "] local:" + QString::number(localNamePart(id
)) + ",[" + local
+ "]}";