<?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>6605</bug_id>
          
          <creation_ts>2009-02-21 05:46:16 +0000</creation_ts>
          <short_desc>XHTML 1.0 Strict doesn&apos;t accept &lt;input&gt; tag in &lt;form&gt;</short_desc>
          <delta_ts>2009-02-22 18:27:23 +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></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris">chrisyco</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>23849</commentid>
    <comment_count>0</comment_count>
    <who name="Chris">chrisyco</who>
    <bug_when>2009-02-21 05:46:16 +0000</bug_when>
    <thetext>I&apos;ve tried to validate this code:

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;title&gt;Calculator&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;form method=&quot;get&quot; action=&quot;./&quot;&gt;

&lt;input type=&quot;text&quot; value=&quot;&quot; name=&quot;ii&quot; /&gt;

&lt;/form&gt;

&lt;/body&gt;
&lt;/html&gt;

But it doesn&apos;t accept the &lt;input&gt; tag. It says 

Line 10, Column 39: document type does not allow element &quot;input&quot; here; missing one of ...[a long list of tags]... start-tag

It works in XHTML Transitional, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23862</commentid>
    <comment_count>1</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2009-02-22 18:27:23 +0000</bug_when>
    <thetext>As the validator says, &lt;input&gt; is not allowed directly in &lt;form&gt; in XHTML 1.0 Strict.  Wrap it in one of the &quot;[a long list of tags]&quot;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>