[xhtml2] XHTML 2.0 User Agent Conformance

Hi,
This is a QA Review comment for "XHTML 2.0"
http://www.w3.org/TR/2006/WD-xhtml2-20060726/
2006-07-26
8th WD

About http://www.w3.org/TR/2006/WD-xhtml2-20060726/conformance.html#s_conform_user_agent

 "If a user agent encounters an element it does not 
 recognize, it must continue to process the content 
 of that element. If this "unrecognized" element uses 
 recognized attributes, those attributes must be processed 
 with their usual semantics."

What is a recognized attribute? 
Except specific attributes like xml:id, xml:lang, etc. All attributes have a meaning only under the scope of a specific element, if the element is not recognized, how the attribute can be recognized?

<html xmlns="http://www.w3.org/2002/06/xhtml2/"
 xmlns:html="http://www.w3.org/1999/xhtml"
 xml:lang="en">
  <head>
    <title>Minimal XHTML 2.0 Document</title>
  </head>
  <body>
    <p>some text</p>
 <html:object 
  html:data="..." 
  src="toto.png"
  srctype="image/png">...</html:object>
  </body>
</html>

 "7. When rendering content, user agents that encounter 
 characters or character entity references that are 
 recognized but not renderable should display the document 
 in such a way that it is obvious to the user that normal 
 rendering has not taken place."
 
Obvious  is not a term for interoperability. It is not a testable fact.


 "Note that this specification does not generally 
 specify the behavior of conforming implementations 
 when presented with non-conforming documents. This is 
 either defined by an underlying specification (e.g., 
 [XML]) or left to the implementor."
 
That is bad, plus the fact it is contradictory. A strictly XHTML 2.0 conforming document will not have foreign markup: 

 "A strictly conforming XHTML 2.0 document is a document 
 that requires only the facilities described as mandatory 
 in this specification"
 
but the User agent conformance talks about "unrecognized" elements, which makes a non conforming document.




-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***

Received on Thursday, 17 August 2006 03:28:07 UTC