Skip to content

Instantly share code, notes, and snippets.

@sideshowbarker
Created November 19, 2010 06:33
Show Gist options
  • Save sideshowbarker/706192 to your computer and use it in GitHub Desktop.
Save sideshowbarker/706192 to your computer and use it in GitHub Desktop.
comparing jing error message for required-but-missing attributes
error message from validator-nu branch:
/Users/mike/FOO.html:4:8: error: Element “object” from namespace
“http://www.w3.org/1999/xhtml” is missing one or more of the following
attributes: [data, type].
error message from jing trunk:
/Users/mike/FOO.html:4:8: error: element "object" missing one or more
required attributes; expected attribute "accesskey", "align", "archive",
"border", "class", "classid", "code", "codebase", "codetype",
"contenteditable", "contextmenu", "data", "datafld", "dataformatas",
"datasrc", "declare", "dir", "draggable", "form", "height", "hidden",
"hspace", "id", "itemid", "itemprop", "itemref", "itemscope", "itemtype",
"lang", "name", "onabort", "onblur", "oncanplay", "oncanplaythrough",
"onchange", "onclick", "oncontextmenu", "ondblclick", "ondrag",
"ondragend", "ondragenter", "ondragleave", "ondragover", "ondragstart",
"ondrop", "ondurationchange", "onemptied", "onended", "onerror", "onfocus",
"onformchange", "onforminput", "oninput", "oninvalid", "onkeydown",
"onkeypress", "onkeyup", "onload", "onloadeddata", "onloadedmetadata",
"onloadstart", "onmousedown", "onmousemove", "onmouseout", "onmouseover",
"onmouseup", "onmousewheel", "onpause", "onplay", "onplaying",
"onprogress", "onratechange", "onreadystatechange", "onscroll", "onseeked",
"onseeking", "onselect", "onshow", "onstalled", "onsubmit", "onsuspend",
"ontimeupdate", "onvolumechange", "onwaiting", "spellcheck", "standby",
"style", "tabindex", "title", "type", "usemap", "vspace", "width",
"xml:base", "xml:id", "xml:lang" or "xml:space"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment