[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How important are CDATA sections?


Re:  How important are CDATA sections?
Gustaf Liljegren wrote:
> What is the current opinion about CDATA sections? Keep or scrap?
> 
> I wasn't doing much of SGML, but I can imagine that CDATA was useful in the
> time documents were prepared largely by hand, in text editors with very
> limited SGML support. Moreover, SGML didn't have the predefined entities
> for < and &, so CDATA must have been the only standard alternative.

No, you could use numeric entities. Or define "<" and "&" in the DTD or 
internal subset.

>...
> As XML evolves, I'd be happy to see CDATA disappear. XML doesn't need any
> syntax constructs only for the sake of convenience. That's what we have XML
> editors for.

May Goldfarb save us from those who want to protect us from the syntax 
by making the syntax so unbearable that we need protection!

  Paul Prescod



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.