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 9447 - Validator changes source code
Summary: Validator changes source code
Status: RESOLVED FIXED
Alias: None
Product: Amaya
Classification: Unclassified
Component: (X)HTML (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: lcarcone
QA Contact: lcarcone
URL: http://www.portaltarot.com/M01-Buscad...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-08 12:54 UTC by altabusc
Modified: 2015-06-20 16:35 UTC (History)
5 users (show)

See Also:


Attachments

Description altabusc 2010-04-08 12:54:13 UTC
Hi,

I have this source code :
  <input type="radio" name="sitesearch" value="portaltarot" checked="checked"/>

But HTML Validator reads :

  <input type="radio" name="sitesearch" value="portaltarot" checked/>

Then it returns these errors :

#  Line 311, Column 97: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified

            <input type="radio" name="sitesearch" value="portaltarot" checked/>

&#9993;

"VI delimiter" is a technical term for the equal sign. This error message means that the name of an attribute and the equal sign cannot be omitted when specifying an attribute. A common cause for this error message is the use of "Attribute Minimization" in document types where it is not allowed, in XHTML for instance.

How to fix: For attributes such as compact, checked or selected, do not write e.g <option selected ... but rather <option selected="selected" ...
# Error Line 311, Column 80: Specification mandate value for attribute checked

            <input type="radio" name="sitesearch" value="portaltarot" checked/>
Comment 1 lcarcone 2010-04-09 09:48:34 UTC
Hello,
I tested a local version of your document, the validation failed on lines 311 and 363 because of the missing attribute value 
"Line 311, Column 97: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified"
If I add use checked="checked" in both lines, your document is XHTML Valid

Thanks
Comment 2 Jackie 2015-06-20 16:34:41 UTC
Please make my changes
Comment 3 Jackie 2015-06-20 16:35:29 UTC
Please make my changes