public virtual bool IsScript(System.String attrname) { Attribute np; np = Lookup(attrname); return(np != null && np.AttrChk == AttrCheckImpl.getCheckScript()); }
static AttributeTable() { attrs = new Attribute[] { new Attribute("abbr", Dict.VERS_HTML40, null), new Attribute("accept-charset", Dict.VERS_HTML40, null), new Attribute("accept", Dict.VERS_ALL, null), new Attribute("accesskey", Dict.VERS_HTML40, null), new Attribute("action", Dict.VERS_ALL, AttrCheckImpl.getCheckUrl()), new Attribute("add_date", Dict.VERS_NETSCAPE, null), new Attribute("align", Dict.VERS_ALL, AttrCheckImpl.getCheckAlign()), new Attribute("alink", Dict.VERS_LOOSE, null), new Attribute("alt", Dict.VERS_ALL, null), new Attribute("archive", Dict.VERS_HTML40, null), new Attribute("axis", Dict.VERS_HTML40, null), new Attribute("background", Dict.VERS_LOOSE, AttrCheckImpl.getCheckUrl()), new Attribute("bgcolor", Dict.VERS_LOOSE, null), new Attribute("bgproperties", Dict.VERS_PROPRIETARY, null), new Attribute("border", Dict.VERS_ALL, AttrCheckImpl.getCheckBool()), new Attribute("bordercolor", Dict.VERS_MICROSOFT, null), new Attribute("bottommargin", Dict.VERS_MICROSOFT, null), new Attribute("cellpadding", Dict.VERS_FROM32, null), new Attribute("cellspacing", Dict.VERS_FROM32, null), new Attribute("char", Dict.VERS_HTML40, null), new Attribute("charoff", Dict.VERS_HTML40, null), new Attribute("charset", Dict.VERS_HTML40, null), new Attribute("checked", Dict.VERS_ALL, AttrCheckImpl.getCheckBool()), new Attribute("cite", Dict.VERS_HTML40, AttrCheckImpl.getCheckUrl()), new Attribute("class", Dict.VERS_HTML40, null), new Attribute("classid", Dict.VERS_HTML40, AttrCheckImpl.getCheckUrl()), new Attribute("clear", Dict.VERS_LOOSE, null), new Attribute("code", Dict.VERS_LOOSE, null), new Attribute("codebase", Dict.VERS_HTML40, AttrCheckImpl.getCheckUrl()), new Attribute("codetype", Dict.VERS_HTML40, null), new Attribute("color", Dict.VERS_LOOSE, null), new Attribute("cols", Dict.VERS_IFRAMES, null), new Attribute("colspan", Dict.VERS_FROM32, null), new Attribute("compact", Dict.VERS_ALL, AttrCheckImpl.getCheckBool()), new Attribute("content", Dict.VERS_ALL, null), new Attribute("coords", Dict.VERS_FROM32, null), new Attribute("data", Dict.VERS_HTML40, AttrCheckImpl.getCheckUrl()), new Attribute("datafld", Dict.VERS_MICROSOFT, null), new Attribute("dataformatas", Dict.VERS_MICROSOFT, null), new Attribute("datapagesize", Dict.VERS_MICROSOFT, null), new Attribute("datasrc", Dict.VERS_MICROSOFT, AttrCheckImpl.getCheckUrl()), new Attribute("datetime", Dict.VERS_HTML40, null), new Attribute("declare", Dict.VERS_HTML40, AttrCheckImpl.getCheckBool()), new Attribute("defer", Dict.VERS_HTML40, AttrCheckImpl.getCheckBool()), new Attribute("dir", Dict.VERS_HTML40, null), new Attribute("disabled", Dict.VERS_HTML40, AttrCheckImpl.getCheckBool()), new Attribute("enctype", Dict.VERS_ALL, null), new Attribute("face", Dict.VERS_LOOSE, null), new Attribute("for", Dict.VERS_HTML40, null), new Attribute("frame", Dict.VERS_HTML40, null), new Attribute("frameborder", Dict.VERS_FRAMES, null), new Attribute("framespacing", Dict.VERS_PROPRIETARY, null), new Attribute("gridx", Dict.VERS_PROPRIETARY, null), new Attribute("gridy", Dict.VERS_PROPRIETARY, null), new Attribute("headers", Dict.VERS_HTML40, null), new Attribute("height", Dict.VERS_ALL, null), new Attribute("href", Dict.VERS_ALL, AttrCheckImpl.getCheckUrl()), new Attribute("hreflang", Dict.VERS_HTML40, null), new Attribute("hspace", Dict.VERS_ALL, null), new Attribute("http-equiv", Dict.VERS_ALL, null), new Attribute("id", Dict.VERS_HTML40, AttrCheckImpl.getCheckId()), new Attribute("ismap", Dict.VERS_ALL, AttrCheckImpl.getCheckBool()), new Attribute("label", Dict.VERS_HTML40, null), new Attribute("lang", Dict.VERS_HTML40, null), new Attribute("language", Dict.VERS_LOOSE, null), new Attribute("last_modified", Dict.VERS_NETSCAPE, null), new Attribute("last_visit", Dict.VERS_NETSCAPE, null), new Attribute("leftmargin", Dict.VERS_MICROSOFT, null), new Attribute("link", Dict.VERS_LOOSE, null), new Attribute("longdesc", Dict.VERS_HTML40, AttrCheckImpl.getCheckUrl()), new Attribute("lowsrc", Dict.VERS_PROPRIETARY, AttrCheckImpl.getCheckUrl()), new Attribute("marginheight", Dict.VERS_IFRAMES, null), new Attribute("marginwidth", Dict.VERS_IFRAMES, null), new Attribute("maxlength", Dict.VERS_ALL, null), new Attribute("media", Dict.VERS_HTML40, null), new Attribute("method", Dict.VERS_ALL, null), new Attribute("multiple", Dict.VERS_ALL, AttrCheckImpl.getCheckBool()), new Attribute("name", Dict.VERS_ALL, AttrCheckImpl.getCheckName()), new Attribute("nohref", Dict.VERS_FROM32, AttrCheckImpl.getCheckBool()), new Attribute("noresize", Dict.VERS_FRAMES, AttrCheckImpl.getCheckBool()), new Attribute("noshade", Dict.VERS_LOOSE, AttrCheckImpl.getCheckBool()), new Attribute("nowrap", Dict.VERS_LOOSE, AttrCheckImpl.getCheckBool()), new Attribute("object", Dict.VERS_HTML40_LOOSE, null), new Attribute("onblur", Dict.VERS_HTML40, AttrCheckImpl.getCheckScript()), new Attribute("onchange", Dict.VERS_HTML40, AttrCheckImpl.getCheckScript()), new Attribute("onclick", Dict.VERS_HTML40, AttrCheckImpl.getCheckScript()), new Attribute("ondblclick", Dict.VERS_HTML40, AttrCheckImpl.getCheckScript()), new Attribute("onkeydown", Dict.VERS_HTML40, AttrCheckImpl.getCheckScript()), new Attribute("onkeypress", Dict.VERS_HTML40, AttrCheckImpl.getCheckScript()), new Attribute("onkeyup", Dict.VERS_HTML40, AttrCheckImpl.getCheckScript()), new Attribute("onload", Dict.VERS_HTML40, AttrCheckImpl.getCheckScript()), new Attribute("onmousedown", Dict.VERS_HTML40, AttrCheckImpl.getCheckScript()), new Attribute("onmousemove", Dict.VERS_HTML40, AttrCheckImpl.getCheckScript()), new Attribute("onmouseout", Dict.VERS_HTML40, AttrCheckImpl.getCheckScript()), new Attribute("onmouseover", Dict.VERS_HTML40, AttrCheckImpl.getCheckScript()), new Attribute("onmouseup", Dict.VERS_HTML40, AttrCheckImpl.getCheckScript()), new Attribute("onsubmit", Dict.VERS_HTML40, AttrCheckImpl.getCheckScript()), new Attribute("onreset", Dict.VERS_HTML40, AttrCheckImpl.getCheckScript()), new Attribute("onselect", Dict.VERS_HTML40, AttrCheckImpl.getCheckScript()), new Attribute("onunload", Dict.VERS_HTML40, AttrCheckImpl.getCheckScript ()), new Attribute("onafterupdate", Dict.VERS_MICROSOFT, AttrCheckImpl.getCheckScript()), new Attribute("onbeforeupdate", Dict.VERS_MICROSOFT, AttrCheckImpl.getCheckScript()), new Attribute("onerrorupdate", Dict.VERS_MICROSOFT, AttrCheckImpl.getCheckScript()), new Attribute("onrowenter", Dict.VERS_MICROSOFT, AttrCheckImpl.getCheckScript()), new Attribute("onrowexit", Dict.VERS_MICROSOFT, AttrCheckImpl.getCheckScript()), new Attribute("onbeforeunload", Dict.VERS_MICROSOFT, AttrCheckImpl.getCheckScript()), new Attribute("ondatasetchanged", Dict.VERS_MICROSOFT, AttrCheckImpl.getCheckScript()), new Attribute("ondataavailable", Dict.VERS_MICROSOFT, AttrCheckImpl.getCheckScript()), new Attribute("ondatasetcomplete", Dict.VERS_MICROSOFT, AttrCheckImpl.getCheckScript()), new Attribute("profile", Dict.VERS_HTML40, AttrCheckImpl.getCheckUrl()), new Attribute("prompt", Dict.VERS_LOOSE, null), new Attribute("readonly", Dict.VERS_HTML40, AttrCheckImpl.getCheckBool()), new Attribute("rel", Dict.VERS_ALL, null), new Attribute("rev", Dict.VERS_ALL, null), new Attribute("rightmargin", Dict.VERS_MICROSOFT, null), new Attribute("rows", Dict.VERS_ALL, null), new Attribute("rowspan", Dict.VERS_ALL, null), new Attribute("rules", Dict.VERS_HTML40, null), new Attribute("scheme", Dict.VERS_HTML40, null), new Attribute("scope", Dict.VERS_HTML40, null), new Attribute("scrolling", Dict.VERS_IFRAMES, null), new Attribute("selected", Dict.VERS_ALL, AttrCheckImpl.getCheckBool()), new Attribute("shape", Dict.VERS_FROM32, null), new Attribute("showgrid", Dict.VERS_PROPRIETARY, AttrCheckImpl.getCheckBool()), new Attribute("showgridx", Dict.VERS_PROPRIETARY, AttrCheckImpl.getCheckBool()), new Attribute("showgridy", Dict.VERS_PROPRIETARY, AttrCheckImpl.getCheckBool()), new Attribute("size", Dict.VERS_LOOSE, null), new Attribute("span", Dict.VERS_HTML40, null), new Attribute("src", (short)(Dict.VERS_ALL | Dict.VERS_FRAMES), AttrCheckImpl.getCheckUrl()), new Attribute("standby", Dict.VERS_HTML40, null), new Attribute("start", Dict.VERS_ALL, null), new Attribute("style", Dict.VERS_HTML40, null), new Attribute("summary", Dict.VERS_HTML40, null), new Attribute("tabindex", Dict.VERS_HTML40, null), new Attribute("target", Dict.VERS_HTML40, null), new Attribute("text", Dict.VERS_LOOSE, null), new Attribute("title", Dict.VERS_HTML40, null), new Attribute("topmargin", Dict.VERS_MICROSOFT, null), new Attribute("type", Dict.VERS_FROM32, null), new Attribute("usemap", Dict.VERS_ALL, AttrCheckImpl.getCheckBool()), new Attribute("valign", Dict.VERS_FROM32, AttrCheckImpl.getCheckValign()), new Attribute("value", Dict.VERS_ALL, null), new Attribute("valuetype", Dict.VERS_HTML40, null), new Attribute("version", Dict.VERS_ALL, null), new Attribute("vlink", Dict.VERS_LOOSE, null), new Attribute("vspace", Dict.VERS_LOOSE, null), new Attribute("width", Dict.VERS_ALL, null), new Attribute("wrap", Dict.VERS_NETSCAPE, null), new Attribute("xml:lang", Dict.VERS_XML, null), new Attribute("xmlns", Dict.VERS_ALL, null) }; }