W3C home > Mailing lists > Public > www-svg@w3.org > December 2005

Re: SVGT 1.2: CDATA blocks for scripts

From: Robin Berjon <robin.berjon@expway.fr>
Date: Thu, 29 Dec 2005 14:27:18 +0100
Message-Id: <87F35633-FC6B-409D-A158-610B9978DD70@expway.fr>
Cc: www-svg@w3c.org
To: Maciej Stachowiak <mjs@apple.com>

On Dec 28, 2005, at 11:49, Maciej Stachowiak wrote:
> The one <script> example encloses the script body on <![CDATA 
> [   ... ]]>, but none of the <handler> examples do. Is this meant  
> to imply a meaningful difference in either content model or  
> recommended best practices for <script> and <handler>? If not, then  
> either the difference should be either removed or the reason for  
> its presence should be explained.

CDATA sections are purely syntactical constructs used to facilitate  
escaping where need be. I don't see how they could possibly imply  
differences in content model or best practices since they cannot be  
differentiated from text at the CM level, and since for the latter it  
really is up to the author to figure out what she likes. Both are  
correct, both are examples of what can be used.

-- 
Robin Berjon
    Senior Research Scientist
    Expway, http://expway.com/
Received on Thursday, 29 December 2005 13:28:08 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:32 GMT