6 Nov 2011 00:00
using output=json does not show warnings
Allasso Travesser <kevinallasso <at> gmail.com>
2011-11-05 23:00:39 GMT
2011-11-05 23:00:39 GMT
Hello, I am checking pages using the following curl command: curl -sF 'uploaded_file= <at> test.html;type=text/html' -F output=json http://validator.w3.org/check This is the output I get: { "url": "test.html", "messages": [ { "lastLine": 12, "lastColumn": 26, "message": "end tag for element \"em\" which is not open", "messageid": "79", "explanation": " <p class=\"helpwanted\">\n <a \n href=\"feedback.html?uri=;errmsg_id=79#errormsg\"\n\ttitle= \"Suggest improvements on this error message through our feedback channels\" \n >✉</a>\n </p>\n\n <div class=\"ve mid-79\">\n <p>\n The Validator found an end tag for the above element, but that element is\n not currently open. This is often caused by a leftover end tag from an\n element that was removed during editing, or by an implicitly closed\n element (if you have an error related to an element being used where it\n is not allowed, this is almost certainly the case). In the latter case \n this error will disappear as soon as you fix the original(Continue reading)
> GEST Songs of Newfoundland and Labrador
>
RSS Feed