<?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>6597</bug_id>
          
          <creation_ts>2009-02-19 12:10:19 +0000</creation_ts>
          <short_desc>BUG: Target attribute is allowed in XHTML1.1</short_desc>
          <delta_ts>2010-03-02 18:49: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>check</component>
          <version>0.8.4</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.8.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="sander">fam.lam</reporter>
          <assigned_to name="Ville Skyttä">ville.skytta</assigned_to>
          <cc>gonzo1lee</cc>
    
    <cc>ot</cc>
    
    <cc>shane</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>23827</commentid>
    <comment_count>0</comment_count>
    <who name="sander">fam.lam</who>
    <bug_when>2009-02-19 12:10:19 +0000</bug_when>
    <thetext>The validator sais that the target attribute is allowed in xhtml 1.1, but it isn&apos;t!

An example code:
&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 xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;/head&gt;
&lt;body&gt;&lt;div&gt;
     &lt;form action=&quot;...&quot; target=&quot;something&quot;&gt;
&lt;div&gt;&lt;input type=&quot;button&quot; name=&quot;submit&quot;/&gt;&lt;/div&gt;
&lt;/form&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;

This document is validated as &apos;Valid&apos;, but it contains target...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23873</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2009-02-23 15:25:31 +0000</bug_when>
    <thetext>I think the target module, which was previously not included in XHTML 1.1, has been added again. I can&apos;t seem to find a record of that decision - Shane may - but XHTML 1.1 is a moving target (no pun intended) and that seems to be a recent change.

Not a bug in the validator, at least, as far as I know.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23878</commentid>
    <comment_count>2</comment_count>
    <who name="Shane McCarron">shane</who>
    <bug_when>2009-02-23 16:55:54 +0000</bug_when>
    <thetext>The target attribute has definitely NOT been added to XHTML 1.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23879</commentid>
    <comment_count>3</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2009-02-23 17:05:08 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; The target attribute has definitely NOT been added to XHTML 1.1.

Hi Shane,

Any reason then why validating against http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd should pass target=&quot;whatever&quot; attribute as OK? or indeed, the ED version&apos;s DTD.

I tried with this, to make sure the validator&apos;s catalog was not the culprit

&lt;!DOCTYPE html SYSTEM 
&quot;http://www.w3.org/MarkUp/2008/ED-xhtml11-20080213/DTD/xhtml11.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;/head&gt;
&lt;body&gt;&lt;div&gt;
     &lt;form action=&quot;&quot; target=&quot;something&quot;&gt;
&lt;div&gt;&lt;input type=&quot;button&quot; name=&quot;submit&quot;/&gt;&lt;/div&gt;
&lt;/form&gt;&lt;/div&gt;
&lt;p target=&quot;blank&quot;&gt;&lt;a target=&quot;blank&quot; href=&quot;whatever&quot;&gt;foo&lt;/a&gt;&lt;/p&gt;
&lt;/body&gt;&lt;/html&gt;

 and got a single error for the &lt;p&gt;. target in form and a passed just fine. Any idea what&apos;s up?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23881</commentid>
    <comment_count>4</comment_count>
    <who name="Shane McCarron">shane</who>
    <bug_when>2009-02-23 17:29:29 +0000</bug_when>
    <thetext>The current XHTML 1.1 Editor&apos;s Draft is always accessible via http://www.w3.org/MarkUp/Drafts#xhtml11 - this currently goes to http://www.w3.org/MarkUp/2009/ED-xhtml11-20090106/ - and that document does not include @target in the markup language.

As to why the most recent public working draft is two years out of date?  Don&apos;t get me started.  Finally, I would note that the definitive DTDs at http://www.w3.org/MarkUp/DTD are up to date and do not reflect @target as part of xhtml 1.1.

There *is* a Proposed Edited Recommendation version of XHTML 1.1 that is pending publication.  I am not sure what is holding it up at this point.  It has been ready since January.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25810</commentid>
    <comment_count>5</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2009-06-30 04:46:07 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Finally, I would note that the definitive DTDs at
&gt; http://www.w3.org/MarkUp/DTD are up to date and do not reflect @target as part
&gt; of xhtml 1.1.

The flat DTD at http://www.w3.org/MarkUp/DTD/xhtml11-flat.dtd (Last-Modified: Thu, 15 Nov 2007 14:31:04 GMT) does have the target attribute module embedded in it.  Do I understand correctly that this is an error in the flat DTD?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25868</commentid>
    <comment_count>6</comment_count>
    <who name="Shane McCarron">shane</who>
    <bug_when>2009-07-05 20:52:28 +0000</bug_when>
    <thetext>I updated the flat version of the DTD to reflect the change - the target module is NOT part of XHTML 1.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27209</commentid>
    <comment_count>7</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2009-09-15 21:42:29 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; I updated the flat version of the DTD to reflect the change - the target module
&gt; is NOT part of XHTML 1.1.

Thanks.  I looked at the current http://www.w3.org/MarkUp/DTD/xhtml11-flat.dtd and found the last line in it suspicious; it reads

    ]&gt;&lt;html&gt;&lt;head&gt;&lt;title&gt;title&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;p&gt;text&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;

This isn&apos;t intentional, is it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28900</commentid>
    <comment_count>8</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2009-10-23 16:11:18 +0000</bug_when>
    <thetext>I&apos;ve replaced the validator&apos;s copy of the XHTML 1.1 flat DTD in CVS with the one currently available from http://www.w3.org/MarkUp/DTD/xhtml11-flat.dtd (sans the suspicious last line, see commment 7) and target is no longer accepted, see http://qa-dev.w3.org/wmvs/HEAD/
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32771</commentid>
    <comment_count>9</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2010-03-02 18:49:53 +0000</bug_when>
    <thetext>DTD updates are included in 0.8.6.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>