W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2002

Erroneous examples in XHTML 2.0

From: Dominique HazaŽl-Massieux <dom@w3.org>
Date: 06 Aug 2002 15:26:11 +0200
To: www-html-editor@w3.org
Message-Id: <1028640372.856.389.camel@stratustier>

Reading quickly through the spec, I found the following typos:

* The example for the "profile" attribute [1] shows it in the <head>
elements, whereas the specification [2] binds it to the <html> element.

* The example for the "class" attribute [3] is not well formed XML
(<span> element not closed), and the class attribute should be on the
<p> element to match the surrounding text.

* The example for <span> [4] isn't erroneous, but uses <span> where
<dfn> would probably be a better choice.

Hope this helps,

Dom

1. http://www.w3.org/TR/xhtml2/mod-meta.html#sec_15.1.3.
2. http://www.w3.org/TR/xhtml2/mod-structure.html#adef_structure_profile
3.
http://www.w3.org/TR/xhtml2/mod-attribute-collections.html#adef_attribute-collections_class
4. http://www.w3.org/TR/xhtml2/mod-text.html#sec_8.19.
-- 
Dominique HazaŽl-Massieux - http://www.w3.org/People/Dom/
W3C/INRIA
mailto:dom@w3.org
Received on Tuesday, 6 August 2002 09:26:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:42 GMT