W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2006

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

From: <karl@w3.org>
Date: Thu, 17 Aug 2006 03:28:22 -0000
To: www-html-editor@w3.org
Message-Id: <20060817032828.4CF5A4F5B5@homer.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:55 GMT