This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17492 - html5 input image alt error
Summary: html5 input image alt error
Status: RESOLVED FIXED
Alias: None
Product: HTML Checker
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Michael[tm] Smith
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-14 23:04 UTC by mike
Modified: 2015-08-23 07:07 UTC (History)
2 users (show)

See Also:


Attachments

Description mike 2012-06-14 23:04:36 UTC
tried to validate document and got error message that looks like it's internal to the validator

"Sorry! This document cannot be checked."
External Checker not available

Checking the Document Type of this document requires the help of an external tool which was either not enabled in this validator, or is currently unavailable. Check in the validator's system configuration that HTML5 Validator is enabled and functional.

The error encountered was: :11: parser error : Premature end of data in tag dl line 11 to continue. Sorry. The admin was notified.</message></non-document-error></dd> ^ :11: parser error : Premature end of data in tag elaboration line 11 to continue. Sorry. The admin was notified.</message></non-document-error></dd> ^ :11: parser error : Premature end of data in tag error line 8 to continue. Sorry. The admin was notified.</message></non-document-error></dd> ^ :11: parser error : Premature end of data in tag messages line 2 to continue. Sorry. The admin was notified.</message></non-document-error></dd> ^


To reproduce, simply try validate by direct input:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>broke</title>
</head>
<body>

<form>
<input type="image" src="http://www.blogger.com/img/add/add2blogger_sm_b.gif" />
</form>

</body>
</html>

The missing alt on the input triggers this error, if you put an alt on that it goes through
Comment 1 Michael[tm] Smith 2012-06-15 07:15:01 UTC
woops... Nice catch. The cause of this is in some code I added a few months back. Strange that nobody's reported it yet. Thanks very much for taking the time to file this bug -- I'll  get it fixed as soon as I can.
Comment 2 Michael[tm] Smith 2012-06-15 08:45:54 UTC
Fixed:

https://bitbucket.org/validator/validator/changeset/ce2731c4e8a9