OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] How important are CDATA sections?

[ Lists Home | Date Index | Thread Index ]

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






 

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

Copyright 2001 XML.org. This site is hosted by OASIS