W3C home > Mailing lists > Public > public-i18n-its@w3.org > July to September 2007

RE: Input to BP 19 http://www.w3.org/International/its/techniques/its-techniques.html#AuthCDATA

From: Yves Savourel <ysavourel@translate.com>
Date: Mon, 10 Sep 2007 10:01:24 -0600
To: <public-i18n-its@w3.org>
Message-ID: <005a01c7f3c3$d64bc290$9605a8c0@BREIZH>

Hi Christian, all,


> I had a look at "Best Practice 19: Avoid CDATA sections when possible".

Sorry, I was still working on this BP this week-end. So you may re-check it.

But mots comments I've seen are still relevant.


> 1. I wonder if we need a BP for schema developers which corresponds to 
> this BP for authors.

I'm not sure. Developers cannot prevent the author to use CDATA.

I think we have several different issue under the "CDATA" umbrella.

1) Using CDATA notation has draw back regardless of what the content is (because then you can't use markup or NCR and that leads to
the different problems we have noted).

2) It happens that CDATA is often use to enclose data that is basically not "normal" text content: scripts, HTML chunck, XML
examples, etc. In this case CDATA is just a side effect. The real problem is that we have non-textual content: basically non-XML
data inside XML.

I think those are different issues and we may need to treat them separately, and possibly have a new BP for the second case.

In this case the BP for CDATA would not assume any specific content and deal only with CDATA drawbacks. And we we would refer to the
other BP for the "non-XML content" BP.

See the latest draft

Cheers,
-yves
Received on Monday, 10 September 2007 16:01:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:43:09 UTC