[XHTML 2.0] WD-xhtml2-20060726 some comments

Considering:
- « Participez ! »
	Karl Dubost, « Participez ! », Karl & Cow : The Boring Weblog, 2003-01-20,
http://www.la-grange.net/2003/01/20.html#participez
- « Je vous invite donc à lire le document de travail XHTML 2.0 »
	Karl Dubost, « XHTML 2.0 version 31 janvier 2003 - Appel au public », 
Karl & Cow : The Boring Weblog, 2003-04-02, 
http://www.la-grange.net/2003/04/02.html#xhtml2
- « ce document plus qu'un autre aura besoin de votre revue détaillée. Chaque petit 
détail que vous ne comprenez pas dans le document, demandez à ce qu'il soit expliqué. »
Karl Dubost, « XHTML 2.0, le document universel », Karl & Cow : The Boring Weblog, 
2005-03-08, http://www.la-grange.net/2005/03/08.html#xhtml2
- "2006-07-26: The HTML Working Group has released the eighth public Working 
Draft of XHTML™ 2.0." http://www.w3.org/News/2006#item138


here are some comments on 
XHTML™ 2.0
W3C Working Draft 26 July 2006
http://www.w3.org/TR/2006/WD-xhtml2-20060726/



Comment 1

section 8.1 "The address element"
http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-structural.html#edef_structural_address

Why retain address ? It is an element with a limited purpose. 
It is note for an adress, not for the adress of an human, it is only for
"contact information for a document or a major part of a document". 



Comment 2

section 8.6 "The p element"
http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-structural.html#sec_8.6.
"Example

<p>Payment options include:
<ul>
<li>cash</li>
<li>credit card</li>
<li>luncheon vouchers.</li>
</ul>
</p>
"

Section 11.5 http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-list.html#sec_11.5. 
allow use of label in ul, then, could be better make this ? 
<p>
<ul><label>Payment options include:</label>
<li>cash</li>
<li>credit card</li>
<li>luncheon vouchers.</li>
</ul>
</p>



Comment 3

section 12.1 "Core Attribute Collection"
http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-core.html#col_Core

In this section are two attributes, id and xml:id, sharing the same xhtml2:role. 



Comment 4

section 12.1 "XHTML Core Attributes Module"

Is it allowed to do
<div role="example:table-of-content" id="table-of-content" xml:id="toc"> ?



Comment 5

section 12.1 "xml:id"
http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-core.html#adef_core_xml:id

Add "[XMLID]" (linking to http://www.w3.org/TR/2006/WD-xhtml2-20060726/references.html#ref_XMLID ). 



Comment 6

section 17.1 "Edit Collection"
http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-edit.html#adef_edit_edit

This attribute allow only to know the last change in the selected part of the document. 



Comment 7

section 23.1 "The link element"
http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-meta.html#edef_meta_link

suggestion: 
-The values "Index", "Next", and "Prev" are explained in the section on the attribute rel.
+The values "index", "next", and "prev" are explained in the section on the attribute rel.



Comment 8

section 23.2 "The meta element"
http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-meta.html#edef_meta_meta

The meta element is used to give/write data in the head element. 
example: 
<meta property="example.org/date/date-of-birth" about="http://www.w3.org/People/Berners-Lee/" 
datatype="xsd:date" content="XXXX-XX-XX"/>

Why not name it "data" ? 
(crazy of course)


Comment 9
section 23 "XHTML Metainformation Module"

Lets compare the link and meta element. 
* Both are in "XHTML Metainformation Module"
* Both can be used with all the attributes of Metadata Attribute Collection
* Both are used to indicate informations in the head of an XHTML 2 document
* "LINK, a META using an external file"
"It is recommended to use the almost synonymous tag LINK when it deals with META 
for which external files are involved." 
(Alexandre Alapetite, "LINK, a META using an external file", 
http://alexandre.alapetite.net/doc-alex/meta/index.en.html#taglink )

Is it allowed to do
<meta property="example.org/date/date-of-birth" about="http://www.w3.org/People/Berners-Lee/" 
datatype="xsd:date" content="XXXX-XX-XX" rel="example:date-of-birth" 
href="http://example.org/date/date-of-birth/"> ? 

Could be useful to: 
- rename link and meta into link-meta or some other name 
- rename 23.1 in "Use of link-meta in the way of xhtml1:link"
- rename 23.2 en "Use of link-meta in the way of xhtml1:meta"
(suggestion)
(crazy of course)



Comment 10

section 23.5.1 "Resources Within the Containing Document"
http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-meta.html#sec_23.5.1.

Add "xml:lang="ru-latn" in the first xhtml example . 



Comment 11

section 24.1 "Metadata Attribute Collection"
http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-metaAttributes.html#adef_metaAttributes_rel

quote: "rel = QName"

http://www.w3.org/TR/2006/WD-xhtml2-20060726/abstraction.html#dt_QName seem to forbid 
multiple value, such "alternate stylesheet". Am i right ? Is it deliberately ? 



Comment 12

section 24.1 http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-metaAttributes.html#adef_metaAttributes_rel
"prev
    Refers to the previous resource (before the current one) in an ordered collection."

http://www.iana.org/assignments/link-relations.html contain "previous". Why use an abbreviation ? 



Comment 13

section 24.1 http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-metaAttributes.html#adef_metaAttributes_rel
"p3pv1
    Refers to a P3P Policy Reference File. See [P3P]."

A value refering to a specific version of an external specification which has its own xml namespace 
("http://www.w3.org/2002/01/P3Pv1"). I think XHTML 2 should not include p3pv1 value, 
http://www.w3.org/TR/2002/REC-P3P-20020416/#XHTML-link wich is designed for XHTML 1, 
seeing that XHTML 2 allow QNAME in rel attribute from 
http://www.w3.org/TR/2004/WD-xhtml2-20040722/xhtml2-diff.html#adef_metaAttributes_rel . 

<html ... xmlns:p3p1="http://www.w3.org/2002/01/P3Pv1">
<head>
<link rel="p3p1:policy" href="http://www.example.com/p3p" /> 
...
looks better. The W3C P3P Specification Working Group could update P3P 1 
(1.0 http://www.w3.org/TR/2002/REC-P3P-20020416/#ref_syntax and 
1.1 http://www.w3.org/TR/2006/WD-P3P11-20060210/#ref_syntax ) with a "XHTML 2 link" sub section. 



Comment 14

section 25.2 "The param element"
http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-object.html#edef_object_param

If meta is renamed "data", could it be merged with param  ? 
(crazy of course)


Comment 15

appendix A "Changes from XHTML 1.1"
http://www.w3.org/TR/2006/WD-xhtml2-20060726/xhtml2-changes.html#a_changes

Content would be very useful. 



Comment 16

Section 19, 20, 25
What are the difference between the 
handler http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-handler.html#edef_handler_handler
img http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-image.html#edef_image_img
object http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-object.html#edef_object_object
element ? 



Comment 17

section 26 "XHTML Role Attribute Module"

http://lists.w3.org/Archives/Public/www-html-editor/2006JulSep/0055.html


Comment 18

section 12, 24, 26
What are the difference between the attributes class, property, rel, role ? 
http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-core.html#adef_core_class
http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-metaAttributes.html#adef_metaAttributes_property
http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-metaAttributes.html#adef_metaAttributes_rel
http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-roleAttribute.html#adef_roleAttribute_role


Comment 19

section 29 "XHTML Style Sheet Module"
suggestion
Renamme section 29.1.1 "External style sheets" into 29.2 "External style sheets"
Renamme section 29.1.2 "Preferred and alternate style sheets" into 29.2.1 "Preferred and alternate style sheets" 
Renamme section 29.1.3 "Specifying external style sheets" into 29.2.2 "Specifying external style sheets" 



Comment 20

Using QNAME in rel seem useful for user of normalised rel value. 
Example : in http://microformats.org/wiki/rel-tag, the example 
<a href="http://technorati.com/tag/tech" rel="tag">tech</a>
could become
<a href="http://technorati.com/tag/tech" rel="rel-tag:tag">tech</a>
with rel-tag previously defined by xmlns:rel-tag="http://microformats.org/wiki/rel-tag" 

Who has wrote that "namespaces [should be] considered harmful" ? 

(Thanks to http://www.cynicalturtle.net/kame/index.php/2006/07/25/61 .)

Received on Wednesday, 16 August 2006 15:50:57 UTC