<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>1899</bug_id>
          
          <creation_ts>2005-08-27 12:57:33 +0000</creation_ts>
          <short_desc>Validator passes &lt;input type=&quot;checkbox&quot;&gt; without value attribute as valid</short_desc>
          <delta_ts>2005-08-27 13:01:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>Parser</component>
          <version>0.7.0</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>LATER</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Groot">sgroot</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>5550</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Groot">sgroot</who>
    <bug_when>2005-08-27 12:57:33 +0000</bug_when>
    <thetext>The HTML specification for the value attribute on the input element says:
value = cdata [CA] 
This attribute specifies the initial value of the control. It is optional except
when the type attribute has the value &quot;radio&quot; or &quot;checkbox&quot;. 

However, when presented with &lt;input type=&quot;checkbox&quot; name=&quot;chk1&quot; /&gt; (without a
value attribute) the validator will still pass this as valid, even though it is not.

The validator should generate an error message that the required attribute value
is missing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5551</commentid>
    <comment_count>1</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2005-08-27 13:01:13 +0000</bug_when>
    <thetext>This requirement cannot be expressed in DTDs and the Validator is currently 
limited to DTD Validation; this is a known issue and there are many more things 
the validator should but does not check for.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>