XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Tradeoffs of XML encoding by enclosing all content in CDATA blocks

Whilst I am pretty much in agreement with all of the sentiments
expressed here, its interesting that no one has really come up with a
compelling argument for not using CDATA to resolve this encoding
issue. This makes it quite difficult for designers to argue against
this approach as the OP suggests when faced with that challenge.

So as a provocation, I integrate with many back office applications a
number of which were written before I was born and they are still
going strong and supporting core business capabilities. Many are
written in languages that don't natively support XML, run on all
manner of platforms, and are maintained by programmers who have no
skill in XML at its relations or (as they might perceive it) need to
acquire it. Such applications typically *do* just output XML as a
string.

Before we dismiss these applications as useless because they don't
natively support XML and suggest that there keepers are 'lazy', what
does the group suggest is the best approach to maintaining the correct
encoding. Consider also that some of these may be packaged
applications where the organisation may not have access to the source
code and/or may not want to commit to enhancing it. Perhaps this is a
case for a mediation layer ?

Fraser.

2008/9/30 Felix Sasaki <fsasaki@w3.org>:
> Not main arguments, but maybe still of interest:
>
> http://www.w3.org/TR/xml-i18n-bp/#AuthCDATA
>
> Felix
>
> Karr, David さんは書きました:
>>
>> I pointed out to a client that they're seeing failures parsing XML because
>> some of the element content that they're producing contains characters
>> illegal in XML content, like "&" (unencoded). They acknowledged that should
>> be fixed, but they also said they could instead enclose all content with
>> CDATA blocks. That seems bizarre to me, but I'm not sure I can immediately
>> come up with all the cogent arguments against that. Can someone summarize
>> specifically why you should NOT do that?
>>
>
>
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS