W3C home > Mailing lists > Public > www-html@w3.org > May 2005

Comments on the XHTML 2.0 WD

From: David Håsäther <hasather@gmail.com>
Date: Thu, 26 May 2005 17:00:34 +0200
Message-ID: <4295E492.9020905@gmail.com>
To: www-html@w3.org
CC: www-html-editor@w3.org

I've been reading through the XHTML 2.0 WD, and I'm going to post some 
comments on it here.
Sorry if these has been posted before. Also, I might have been overly 
pedantic in some places :-)
I'm sending this to both www-html and www-html-editor.

1. In the introduction, under "1.2. Major Differences with XHTML 1"[1] 
(third list item, second paragraph, starting with "If the resource...") 
it says:

   [...] or because images have been turned off) then the element is
   used instead.

This should not talk about images alone, as it goes for any type of 
resource, and should also say "then the element[s content] is used 
instead" as it says in "XHTML Embedding Attributes Module"[2]

2. In "Module Definition Conventions", shouldn't "5.4. Content Types"[3] 
say "5.4 Content Models" instead?
Also, in the paragraph under that heading, it says:

   [...] the symbol used for text is PCDATA. This is a term, defined
   in the XML 1.0 Recommendation, that refers to processed character
   data.

Although it's not really wrong to call it "processed character data", 
why isn't the usual meaning "parsed character data" used?

3. In the "XHTML List Module"[4], the content model for dl is:

   label?, (( dt | dd)+ | di+)

This means that the definition data can appear before the term, which 
would be illogical. This should be changed to:

   label?, ((dt, dd)+ | di+)

Also, the content model for di is:

   ( dt+, dd*)

This means that no definition data is required. Unless there is a 
specific reason for this, it should be changed to:

   (dt, dd)+

In the same page, under "11.4. The li element"[5] it says:

   When the href attribute is defined, the contents of the list item
   become a selectable link, just as an a element with an href
   attribute would be.

However, I think this is pretty clear already, and also, the spec 
doesn't say this for any other element type.

4. In the definition for xml:base[6] in "XHTML Hypertext Attributes 
Module", the list for inheritance of URI base information should be
an ordered list.
The same goes for the xml:lang attribute in "XHTML I18N Attribute Module"[7]

[1] 
<http://www.w3.org/TR/2004/WD-xhtml2-20040722/introduction.html#s_intro_differences>
[2] 
<http://www.w3.org/TR/2004/WD-xhtml2-20040722/mod-embedding.html#s_embeddingmodule>
[3] 
<http://www.w3.org/TR/2004/WD-xhtml2-20040722/abstraction.html#s_common_types>
[4] <http://www.w3.org/TR/2004/WD-xhtml2-20040722/mod-list.html>
[5] <http://www.w3.org/TR/2004/WD-xhtml2-20040722/mod-list.html#sec_11.4.>
[6] 
<http://www.w3.org/TR/2004/WD-xhtml2-20040722/mod-hyperAttributes.html#adef_hyperAttributes_xml:base>
[7] <http://www.w3.org/TR/2004/WD-xhtml2-20040722/mod-i18n.html>

-- 
David Håsäther
Received on Thursday, 26 May 2005 15:02:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:19:04 UTC