[xhtml2] XHTML 2.0 Document 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#doccont

The section 3.1.1 says:

 "The document must conform to the constraints expressed 
 in the schemas in Appendix B - XHTML 2.0 RELAX NG 
 Definition, Appendix D - XHTML 2.0 Schema and Appendix F - 
 XHTML 2.0 Document Type Definition."

one of them or all of them at the same time. Make it clear.

 "The local part of the root element of the document must be html."

Given the number of user agents which do sniffing on this element to render it as HTML even when we said it was meant to be text. It might gives trouble, but that would be better to ask implementers of Opera, Mozilla, Safari and IE.

the specifications says there are only three MUST, one MAY and one SHOULD for the prolog of an XHTML 2.0 document

Then a minimal strictly conforming XHTML 2.0 Document is:

 <html xmlns="http://www.w3.org/2002/06/xhtml2/"
  xml:lang="en">
   <head>
     <title>Minimal XHTML 2.0 Document</title>
   </head>
   <body>
     <p>some text</p>
   </body>
 </html>
 
If it's what the specification implies then give this possible example along the others, it will be a lot easier to market and will make the life of authors brighter.




-- 
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:02 UTC