<?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>9913</bug_id>
          
          <creation_ts>2010-06-11 12:43:46 +0000</creation_ts>
          <short_desc>document type does not allow element &quot;input&quot; here - false positive</short_desc>
          <delta_ts>2010-06-11 13:24:43 +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>check</component>
          <version>HEAD</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://www.forsaken-mu.com</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>ghelyar</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</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>36110</commentid>
    <comment_count>0</comment_count>
    <who name="">ghelyar</who>
    <bug_when>2010-06-11 12:43:46 +0000</bug_when>
    <thetext>In an ASP.NET site, the form is automatically generated and an input tag is used to store the viewstate.

It is valid XHTML and has passed validation in the past but recently the validator is claiming that it is invalid.



The suggestion/description says
missing one of &quot;ins&quot;, &quot;del&quot;, &quot;h1&quot;, &quot;h2&quot;, &quot;h3&quot;, &quot;h4&quot;, &quot;h5&quot;, &quot;h6&quot;, &quot;p&quot;, &quot;div&quot;, &quot;address&quot;, &quot;fieldset&quot; start-tag

It gives the error on the &lt;input&gt; line.


However, the following input tag is clearly inside a &quot;div&quot; tag.


...
&lt;body&gt; 
    &lt;form id=&quot;aspnetForm&quot; method=&quot;post&quot; action=&quot;/Default.aspx&quot;&gt; 
&lt;div&gt; 
&lt;input type=&quot;hidden&quot; name=&quot;__VIEWSTATE&quot; id=&quot;__VIEWSTATE&quot; value=&quot;/wE...gK&quot; /&gt; 
&lt;/div&gt;
...



This is likely affecting all asp.net websites on the web, at least.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36111</commentid>
    <comment_count>1</comment_count>
    <who name="">ghelyar</who>
    <bug_when>2010-06-11 12:45:59 +0000</bug_when>
    <thetext>This is on XHTML 1.1 and 1.0 Strict.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36112</commentid>
    <comment_count>2</comment_count>
    <who name="">ghelyar</who>
    <bug_when>2010-06-11 12:57:41 +0000</bug_when>
    <thetext>If I copy the source from Internet Explorer, Firefox or Chrome and validate by direct input, they all pass.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36113</commentid>
    <comment_count>3</comment_count>
    <who name="">ghelyar</who>
    <bug_when>2010-06-11 13:16:19 +0000</bug_when>
    <thetext>This seems to be something to do with asp.net only serving the &lt;div&gt;s to certain User-Agents</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>