<?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>844</bug_id>
          
          <creation_ts>2004-08-23 11:13:26 +0000</creation_ts>
          <short_desc>&lt;a /&gt; should not pass as valid.</short_desc>
          <delta_ts>2004-08-23 17:34:39 +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.7.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lance">Lance</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>2148</commentid>
    <comment_count>0</comment_count>
    <who name="Lance">Lance</who>
    <bug_when>2004-08-23 11:13:26 +0000</bug_when>
    <thetext>The HTML Validator is incorrectly accepting:

&lt;a id=&quot;EEKaBug&quot; /&gt;

As a properly formatted and closed &lt;a&gt; tag.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2149</commentid>
    <comment_count>1</comment_count>
    <who name="David Dorward">david</who>
    <bug_when>2004-08-23 11:44:24 +0000</bug_when>
    <thetext>This is valid in XHTML. It does not conform to Appendix C, but that is not covered by validation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2150</commentid>
    <comment_count>2</comment_count>
    <who name="Lance">Lance</who>
    <bug_when>2004-08-23 12:59:33 +0000</bug_when>
    <thetext>Doesn&apos;t this contradict:

http://www.w3.org/TR/2002/REC-xhtml1-20020801/

Section 4.3
...All elements other than those declared in the DTD as EMPTY must have an end 
tag.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2151</commentid>
    <comment_count>3</comment_count>
    <who name="David Dorward">david</who>
    <bug_when>2004-08-23 13:34:39 +0000</bug_when>
    <thetext>That section of the specification is informative, not normative. On the hand
hand, the XML specification states:

     Empty-element tags MAY be used for any element
     which has no content, whether or not it is
     declared using the keyword EMPTY.

http://www.w3.org/TR/2004/REC-xml-20040204/#dt-content</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>