- From: Karl Dubost <karl@w3.org>
- Date: Thu, 2 Aug 2007 09:01:48 +0900
- To: QA Dev <public-qa-dev@w3.org>
- Message-Id: <330A4734-297B-4F53-949E-D5A78C2C2F9B@w3.org>
Hi,
I have discovered yesterday that the HTML 4.01 DTD had a surprising
section
http://www.w3.org/TR/html4/sgml/dtd.html#HTML.Reserved
<!-- Reserved Feature Switch -->
<!ENTITY % HTML.Reserved "IGNORE">
<!-- The following attributes are reserved for possible future use -->
<![ %HTML.Reserved; [
<!ENTITY % reserved
"datasrc %URI; #IMPLIED -- a single or tabular Data
Source --
datafld CDATA #IMPLIED -- the property or column
name --
dataformatas (plaintext|html) plaintext -- text or html --"
>
]]>
<!ENTITY % reserved "">
But these features being not part of the specification are not
conformant per se.
The validator reports them as invalid. GOOD!
BUT there are other reserved attributes in the spec which are flagged
as valid
On table element
datapagesize CDATA #IMPLIED -- reserved for possible future
use --
On script element
event CDATA #IMPLIED -- reserved for possible future
use --
for %URI; #IMPLIED -- reserved for possible future
use --
See the test case for validation.
--
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
QA Weblog - http://www.w3.org/QA/
*** Be Strict To Be Cool ***
Attachments
- text/html attachment: html-reserved.html
Received on Thursday, 2 August 2007 00:02:00 UTC