- From: Michael A. Peters <mpeters@mac.com>
- Date: Sun, 07 Jun 2009 07:50:47 -0700
- To: "www-validator@w3.org" <www-validator@w3.org>
For some of my pages, I'm using a custom system DTD based on 4.01 strict --- 401-strict.dtd 2009-06-07 07:38:47.000000000 -0700 +++ 401-strict-custom.dtd 2009-06-07 07:04:33.000000000 -0700 @@ -30,8 +30,8 @@ <!-- Typical usage: - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" - "http://www.w3.org/TR/html4/strict.dtd"> + <!DOCTYPE HTML SYSTEM + "http://www.clfsrpm.net/dtd/401-strict-custom.dtd"> <html> <head> ... @@ -159,7 +159,8 @@ "id ID #IMPLIED -- document-wide unique id -- class CDATA #IMPLIED -- space-separated list of classes -- style %StyleSheet; #IMPLIED -- associated style info -- - title %Text; #IMPLIED -- advisory title --" + title %Text; #IMPLIED -- advisory title -- + spider (on|off) #IMPLIED -- whether or not a search engine should index node --" > <!ENTITY % i18n @@ -868,3 +869,6 @@ <!ATTLIST HTML %i18n; -- lang, dir -- > + +<!-- === custom additions == --> +<!ATTLIST (form|input) autocomplete (on,off) #IMPLIED> -=- The spider attribute is for a search engine I'm writing, basically concept is <div id="navigation" spider="off"> <p>Nothing in here gets indexed.</p> </div> and of course the autocomplete attribute is for forms where autocomplete is not appropriate. With xhtml I don't have to define a new dtd, I can use the W3C DTD and just add the extra attlist stuff inside the DOCTYPE declaration node, W3C validator validates it as xhtml 1.1 and says I can use the pretty icons that demonstrate compliance. Everything is peachy. However, with html, I have to use the custom SYSTEM DTD and thus am not using a public W3C DTD. Validator still works and says it is valid but doesn't offer use of the pretty icon. Is there a problem using the HTML 4.01 icon with documents that validate using the custom DTD, and if not, is there maybe a generic icon to at least declare the document validates against it's declared DTD ?? Is this right list for that question?
Received on Sunday, 7 June 2009 14:51:29 UTC