<?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>1199</bug_id>
          
          <creation_ts>2005-04-03 20:31:50 +0000</creation_ts>
          <short_desc>two inputs in a label is marked as valid</short_desc>
          <delta_ts>2005-04-04 06:19:15 +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.6.7</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://validator.w3.org/check?uri=http%3A%2F%2Fwordpress.org%2Fdonate%2F</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="Brad Fults">bfults</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>3784</commentid>
    <comment_count>0</comment_count>
    <who name="Brad Fults">bfults</who>
    <bug_when>2005-04-03 20:31:50 +0000</bug_when>
    <thetext>Although it is explicitly disallowed by the spec [1], the validator validates a
page [2] that has two INPUT elements inside of a LABEL.

[1] - http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#edef-LABEL
[2] - http://validator.w3.org/check?uri=http%3A%2F%2Fwordpress.org%2Fdonate%2F</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3789</commentid>
    <comment_count>1</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2005-04-04 04:47:40 +0000</bug_when>
    <thetext>You mean &quot;each LABEL element is associated with exactly one form control&quot;? 
Well, this requirement is not spelled out in the DTD then, and since the 
Validator only checks against the DTD at the moment, it does indeed not find 
such errors. There are many more such shortcomings (all of which are known 
issues.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3790</commentid>
    <comment_count>2</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2005-04-04 06:19:15 +0000</bug_when>
    <thetext>This is a specification bug; the REC says: [[[
  To associate a label with another control implicitly, the control element must be within the
  contents of the LABEL element. In this case, the LABEL may only contain one control element.
]]] but this is not reflected in the content model for the &quot;label&quot; element in the DTD.

[[[
  &lt;!-- Each label must not contain more than ONE field --&gt;
  &lt;!ELEMENT LABEL - - (%inline;)* -(LABEL) -- form field label text --&gt;
]]]

I&apos;d suggest you report this discrepancy to the HTML Editor &lt;www-html-editor@w3.org&gt;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>