Erroneous examples in XHTML 2.0

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 UTC