Re: [xml-dev] Re: Tradeoffs of XML encoding by enclosing all content in CDATA blocks

From
Liam Quin <>
To
Marcus Carr <>
Date
2008-09-29T23:42:32Z
ID
<>
Thread
Re: [xml-dev] Re: Tradeoffs of XML encoding by enclosing all content in CDATA blocks
On Tue, Sep 30, 2008 at 09:08:29AM +1000, Marcus Carr wrote:
> I've never liked CDATA sections and rarely use them - I think they're
> generally a lazy answer to a simple question.

If you go to your kitchen and look in the 'fridge door, you'll see
a screwdriver rack and a device for holding screws. It's there to
make life easier for the people building or repairing the fridge.

OK, no, you won't see such a thing...

CDATA sections are primarily there for people writing the XML
specification, to make it easier to include examples, and I think
of them in much the same way as I'd think of a tool rack in my
fridge :-)

Liam

-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/ * http://www.fromoldbooks.org/