[xhtml2] Meta Content model with URIs in the CDATA section

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/mod-meta.html

XHTML 2.0 Specification gives an example which might lead to interoperability problems.

 "<meta property="dc:identifier">
      http://www.rfc-editor.org/rfc/rfc3236.txt
 </meta>"
 
Specifying an URI in a CDATA section might create troubles as the specification doesn't define a normalization of the content. All of these following syntaxes are possible values extracted from the example above. There are more possibilities.

 - " http://www.rfc-editor.org/rfc/rfc3236.txt"
 - "http://www.rfc-editor.org/rfc/rfc3236.txt "
 - "http://www.rfc-editor.org/rfc/rfc3236.txt"
    - " http://www.rfc-editor.org/rfc/rfc3236.txt
        "
This example is not a good practice and should not be showed or at least said that it's a bad practice leading to problems. The note should be warning.




-- 
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:29:09 UTC