[Bug 6597] BUG: Target attribute is allowed in XHTML1.1

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6597





--- Comment #3 from Olivier Thereaux <ot@w3.org>  2009-02-23 17:05:08 ---
(In reply to comment #2)
> 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="whatever"
attribute as OK? or indeed, the ED version's DTD.

I tried with this, to make sure the validator's catalog was not the culprit

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

… and got a single error for the <p>. target in form and a passed just fine.
Any idea what's up?


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 23 February 2009 17:05:18 UTC