<?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>5349</bug_id>
          
          <creation_ts>2008-01-07 09:56:51 +0000</creation_ts>
          <short_desc>XHTML 1.0 Strict validation thinks &lt;u&gt; is not valid</short_desc>
          <delta_ts>2008-01-08 00:58:11 +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>HEAD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>INVALID</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="Stephen Clouse">stephenclouse</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>18227</commentid>
    <comment_count>0</comment_count>
    <who name="Stephen Clouse">stephenclouse</who>
    <bug_when>2008-01-07 09:56:51 +0000</bug_when>
    <thetext>Validating this simple document:

&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;!DOCTYPE html
  PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml11/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
    &lt;title&gt;Validate&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div&gt;This is a &lt;u&gt;test&lt;/u&gt;&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;

results in:

Line 9, Column 21: element &quot;u&quot; undefined.

This is obviously broken.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18228</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-01-07 11:45:26 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Validating this simple document:
&gt; 
&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&gt; &lt;!DOCTYPE html
&gt;   PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;
&gt; &quot;http://www.w3.org/TR/xhtml11/DTD/xhtml1-strict.dtd&quot;&gt;

your doctype declaration is broken. The second part of it (http://www.w3.org/TR/xhtml11/DTD/xhtml1-strict.dtd) does not exist.
See http://www.w3.org/QA/2002/04/valid-dtd-list.html for a list of recommended (and working) doctype declarations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18232</commentid>
    <comment_count>2</comment_count>
    <who name="Stephen Clouse">stephenclouse</who>
    <bug_when>2008-01-07 12:30:27 +0000</bug_when>
    <thetext>The error still occurs after fixing the doctype declaration.

And why doesn&apos;t the broken doctype throw an error at all?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18235</commentid>
    <comment_count>3</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-01-07 13:06:47 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; The error still occurs after fixing the doctype declaration.

Well, which DTD are you using in the end?
u being a presentational element, is not in strict XHTML document types. Use transitional, or, better, use CSS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18236</commentid>
    <comment_count>4</comment_count>
    <who name="Stephen Clouse">stephenclouse</who>
    <bug_when>2008-01-07 22:00:29 +0000</bug_when>
    <thetext>Then someone needs to fix the annotated DTD:

http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict

It shows u as being part of strict.  The actual DTD does not.

Guess that&apos;s all.  Sorry.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18237</commentid>
    <comment_count>5</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-01-08 00:58:11 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Then someone needs to fix the annotated DTD:
&gt; http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict
&gt; It shows u as being part of strict.  The actual DTD does not.

As far as I can tell only the Transitional annotated DTD shows the underline. What is confusing is that all three annotated DTDs are on the same page, so a search may make you jump from one to the other.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>