- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 07 Mar 2010 11:05:16 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/schema In directory hutz:/tmp/cvs-serv12708/schema Modified Files: assertions.sch Log Message: removed erroneous admonition about a/@target being obsolete (thx=ErnestPrabhakar) Index: assertions.sch =================================================================== RCS file: /sources/public/html5/markup/schema/assertions.sch,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- assertions.sch 25 Feb 2010 14:37:57 -0000 1.7 +++ assertions.sch 7 Mar 2010 11:05:14 -0000 1.8 @@ -424,20 +424,35 @@ <!-- Obsolete Attributes- - - - - - - - - - - - - - - - - - - - - - --> <pattern name="obsolete attributes"> - <rule context='h:a|h:link'> - <report test='@coords and self::h:a'> + <rule context='h:a'> + <report test='@coords'> The “coords” attribute on the “<name/>” element is obsolete. For image maps, use the “area” element instead of the “a” element. </report> - <report test='@shape and self::h:a'> + <report test='@shape'> The “shape” attribute on the “<name/>” element is obsolete. For image maps, use the “area” element instead of the “a” element. </report> - <report test='@urn and self::h:a'> + <report test='@urn'> The “urn” attribute on the “<name/>” element is obsolete. Specify the preferred persistent identifier using the “href” attribute instead. </report> - <report test='@target and self::h:link'> + <report test='@charset'> + The “charset” attribute on the “<name/>” element is obsolete. + Use an HTTP Content-Type header on the linked resource instead. + </report> + <report test='@methods'> + The “methods” attribute on the “<name/>” element is obsolete. + Use the HTTP OPTIONS feature instead. + </report> + <report test='@rev'> + The “rev” attribute on the “<name/>” element is obsolete. + Use the “rel” attribute instead, with a term having the opposite meaning. + </report> + </rule> + + <rule context='h:link'> + <report test='@target'> The “target” attribute on the “<name/>” element is obsolete. You can safely omit it. </report>
Received on Sunday, 7 March 2010 11:05:18 UTC