<?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>8004</bug_id>
          
          <creation_ts>2009-10-22 12:04:38 +0000</creation_ts>
          <short_desc>suggestion code can&apos;t pass validate</short_desc>
          <delta_ts>2009-10-23 12:45:53 +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>Templates</component>
          <version>0.8.5</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>6995</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>0.8.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="rimy">Siramizu</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>ville.skytta</cc>
          
          <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>28812</commentid>
    <comment_count>0</comment_count>
    <who name="rimy">Siramizu</who>
    <bug_when>2009-10-22 12:04:38 +0000</bug_when>
    <thetext>I tried to valid a quite simple document such as
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.1//EN&quot; &quot;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&quot;&gt;
&lt;html&gt;
	&lt;head&gt;
		&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
		&lt;title&gt;Demo&lt;/title&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;h1&gt;Demo&lt;/h1&gt;
	&lt;/body&gt;
&lt;/html&gt;

I got 1 Error and tell me Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml

and a prompt like this:
Many Document Types based on XML need a mandatory xmlns=&quot;&quot; on the root element. For example, the root element for XHTML will look like:
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;

so I use &lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt; insted &lt;html&gt; then I got Attribute &quot;lang&quot; exists, but can not be used for this element.

¡­ns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;

so then what I should write? with lang or without lang?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28892</commentid>
    <comment_count>1</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2009-10-23 12:45:53 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 6995 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>