Created
March 16, 2015 09:04
-
-
Save jaimeiniesta/3fb78fb04d645f5b0ef3 to your computer and use it in GitHub Desktop.
JSON CLI Vs Web response on validator.nu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"messages": [ | |
{ | |
"type": "info", | |
"url": "http://validationhell.com", | |
"lastLine": 1, | |
"lastColumn": 109, | |
"firstColumn": 1, | |
"subType": "warning", | |
"message": "Obsolete doctype. Expected “<!DOCTYPE html>”.", | |
"extract": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html", | |
"hiliteStart": 0, | |
"hiliteLength": 109 | |
}, | |
{ | |
"type": "error", | |
"url": "http://validationhell.com", | |
"lastLine": 56, | |
"firstLine": 55, | |
"lastColumn": 64, | |
"firstColumn": 37, | |
"message": "The “align” attribute on the “img” element is obsolete. Use CSS instead.", | |
"extract": " href=\"/\"><img\n src=\"/images/fire.png\" align=\"absmiddle\" width=\"30\" hspace=\"5\"><stron", | |
"hiliteStart": 10, | |
"hiliteLength": 69 | |
}, | |
{ | |
"type": "error", | |
"url": "http://validationhell.com", | |
"lastLine": 56, | |
"firstLine": 55, | |
"lastColumn": 64, | |
"firstColumn": 37, | |
"message": "The “hspace” attribute on the “img” element is obsolete. Use CSS instead.", | |
"extract": " href=\"/\"><img\n src=\"/images/fire.png\" align=\"absmiddle\" width=\"30\" hspace=\"5\"><stron", | |
"hiliteStart": 10, | |
"hiliteLength": 69 | |
}, | |
{ | |
"type": "error", | |
"url": "http://validationhell.com", | |
"lastLine": 56, | |
"firstLine": 55, | |
"lastColumn": 64, | |
"firstColumn": 37, | |
"message": "An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.", | |
"extract": " href=\"/\"><img\n src=\"/images/fire.png\" align=\"absmiddle\" width=\"30\" hspace=\"5\"><stron", | |
"hiliteStart": 10, | |
"hiliteLength": 69 | |
}, | |
{ | |
"type": "error", | |
"url": "http://validationhell.com", | |
"lastLine": 73, | |
"lastColumn": 67, | |
"firstColumn": 64, | |
"message": "Stray end tag “a”.", | |
"extract": "idates</a></a></li>\n", | |
"hiliteStart": 10, | |
"hiliteLength": 4 | |
}, | |
{ | |
"type": "error", | |
"url": "http://validationhell.com", | |
"lastLine": 83, | |
"lastColumn": 66, | |
"firstColumn": 62, | |
"message": "End tag “li” seen, but there were open elements.", | |
"extract": "e Abyss...</li>\n ", | |
"hiliteStart": 10, | |
"hiliteLength": 5 | |
}, | |
{ | |
"type": "error", | |
"url": "http://validationhell.com", | |
"lastLine": 83, | |
"lastColumn": 43, | |
"firstColumn": 19, | |
"message": "Unclosed element “a”.", | |
"extract": " <li><a href=\"/pages/abyss/1\">Enter ", | |
"hiliteStart": 10, | |
"hiliteLength": 25 | |
}, | |
{ | |
"type": "error", | |
"url": "http://validationhell.com", | |
"lastLine": 84, | |
"firstLine": 83, | |
"lastColumn": 12, | |
"firstColumn": 67, | |
"message": "Element “a” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.)", | |
"extract": "ss...</li>\n </ul>\n", | |
"hiliteStart": 10, | |
"hiliteLength": 13 | |
}, | |
{ | |
"type": "error", | |
"url": "http://validationhell.com", | |
"lastLine": 84, | |
"lastColumn": 17, | |
"firstColumn": 13, | |
"message": "End tag “ul” seen, but there were open elements.", | |
"extract": " </ul>\n\n ", | |
"hiliteStart": 10, | |
"hiliteLength": 5 | |
}, | |
{ | |
"type": "error", | |
"url": "http://validationhell.com", | |
"lastLine": 87, | |
"lastColumn": 161, | |
"firstColumn": 15, | |
"message": "Start tag “a” seen but an element of the same type was already open.", | |
"extract": " <a href=\"https://twitter.com/share\" class=\"twitter-share-button\" data-url=\"http://validationhell.com\" data-via=\"SiteValidator\" data-hashtags=\"w3c\">Tweet<", | |
"hiliteStart": 10, | |
"hiliteLength": 147 | |
}, | |
{ | |
"type": "error", | |
"url": "http://validationhell.com", | |
"lastLine": 87, | |
"lastColumn": 161, | |
"firstColumn": 15, | |
"message": "End tag “a” violates nesting rules.", | |
"extract": " <a href=\"https://twitter.com/share\" class=\"twitter-share-button\" data-url=\"http://validationhell.com\" data-via=\"SiteValidator\" data-hashtags=\"w3c\">Tweet<", | |
"hiliteStart": 10, | |
"hiliteLength": 147 | |
}, | |
{ | |
"type": "error", | |
"url": "http://validationhell.com", | |
"lastLine": 87, | |
"lastColumn": 161, | |
"firstColumn": 15, | |
"subType": "fatal", | |
"message": "Cannot recover after last error. Any further errors will be ignored.", | |
"extract": " <a href=\"https://twitter.com/share\" class=\"twitter-share-button\" data-url=\"http://validationhell.com\" data-via=\"SiteValidator\" data-hashtags=\"w3c\">Tweet<", | |
"hiliteStart": 10, | |
"hiliteLength": 147 | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"url": "http://validationhell.com", | |
"messages": [{ | |
"type": "info", | |
"message": "The Content-Type was “text/html”. Using the HTML parser." | |
}, { | |
"type": "info", | |
"message": "Using the schema for HTML with SVG 1.1, MathML 3.0, RDFa 1.1, and ITS 2.0 support." | |
}, { | |
"type": "error", | |
"lastLine": 56, | |
"firstLine": 55, | |
"lastColumn": 64, | |
"firstColumn": 37, | |
"message": "The “align” attribute on the “img” element is obsolete. Use CSS instead.", | |
"extract": " href=\"/\"><img\n src=\"/images/fire.png\" align=\"absmiddle\" width=\"30\" hspace=\"5\"><stron", | |
"hiliteStart": 10, | |
"hiliteLength": 69 | |
}, { | |
"type": "error", | |
"lastLine": 56, | |
"firstLine": 55, | |
"lastColumn": 64, | |
"firstColumn": 37, | |
"message": "The “hspace” attribute on the “img” element is obsolete. Use CSS instead.", | |
"extract": " href=\"/\"><img\n src=\"/images/fire.png\" align=\"absmiddle\" width=\"30\" hspace=\"5\"><stron", | |
"hiliteStart": 10, | |
"hiliteLength": 69 | |
}, { | |
"type": "error", | |
"lastLine": 56, | |
"firstLine": 55, | |
"lastColumn": 64, | |
"firstColumn": 37, | |
"message": "An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.", | |
"extract": " href=\"/\"><img\n src=\"/images/fire.png\" align=\"absmiddle\" width=\"30\" hspace=\"5\"><stron", | |
"hiliteStart": 10, | |
"hiliteLength": 69 | |
}, { | |
"type": "error", | |
"lastLine": 73, | |
"lastColumn": 67, | |
"firstColumn": 64, | |
"message": "Stray end tag “a”.", | |
"extract": "idates</a></a></li>\n", | |
"hiliteStart": 10, | |
"hiliteLength": 4 | |
}, { | |
"type": "error", | |
"lastLine": 83, | |
"lastColumn": 66, | |
"firstColumn": 62, | |
"message": "End tag “li” seen, but there were open elements.", | |
"extract": "e Abyss...</li>\n ", | |
"hiliteStart": 10, | |
"hiliteLength": 5 | |
}, { | |
"type": "error", | |
"lastLine": 83, | |
"lastColumn": 43, | |
"firstColumn": 19, | |
"message": "Unclosed element “a”.", | |
"extract": " <li><a href=\"/pages/abyss/1\">Enter ", | |
"hiliteStart": 10, | |
"hiliteLength": 25 | |
}, { | |
"type": "error", | |
"lastLine": 84, | |
"firstLine": 83, | |
"lastColumn": 12, | |
"firstColumn": 67, | |
"message": "Element “a” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.)", | |
"extract": "ss...</li>\n </ul>\n", | |
"hiliteStart": 10, | |
"hiliteLength": 13 | |
}, { | |
"type": "error", | |
"lastLine": 84, | |
"lastColumn": 17, | |
"firstColumn": 13, | |
"message": "End tag “ul” seen, but there were open elements.", | |
"extract": " </ul>\n\n ", | |
"hiliteStart": 10, | |
"hiliteLength": 5 | |
}, { | |
"type": "error", | |
"lastLine": 87, | |
"lastColumn": 161, | |
"firstColumn": 15, | |
"message": "Start tag “a” seen but an element of the same type was already open.", | |
"extract": " <a href=\"https://twitter.com/share\" class=\"twitter-share-button\" data-url=\"http://validationhell.com\" data-via=\"SiteValidator\" data-hashtags=\"w3c\">Tweet<", | |
"hiliteStart": 10, | |
"hiliteLength": 147 | |
}, { | |
"type": "error", | |
"lastLine": 87, | |
"lastColumn": 161, | |
"firstColumn": 15, | |
"message": "End tag “a” violates nesting rules.", | |
"extract": " <a href=\"https://twitter.com/share\" class=\"twitter-share-button\" data-url=\"http://validationhell.com\" data-via=\"SiteValidator\" data-hashtags=\"w3c\">Tweet<", | |
"hiliteStart": 10, | |
"hiliteLength": 147 | |
}, { | |
"type": "error", | |
"lastLine": 87, | |
"lastColumn": 161, | |
"firstColumn": 15, | |
"subType": "fatal", | |
"message": "Cannot recover after last error. Any further errors will be ignored.", | |
"extract": " <a href=\"https://twitter.com/share\" class=\"twitter-share-button\" data-url=\"http://validationhell.com\" data-via=\"SiteValidator\" data-hashtags=\"w3c\">Tweet<", | |
"hiliteStart": 10, | |
"hiliteLength": 147 | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment