[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How important are CDATA sections?
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. When I need to include a bit of XML in an XML document, I cut and paste it to my favorite text editor, do a search and replace, then cut and paste it to the document. I'm sure the process can be made faster with a script, but it doesn't take that long. 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. Gustaf
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|