wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes CDATA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "CDATA" Watch "CDATA" New topic


Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

Why cant CDATA section be empty?

Elliotte Rusty Harold
Ranch Hand

Joined: Feb 25, 2004
Posts: 91
CDATA sections can be empty, though I'm not sure why you'd need to use an empty CDATA section.

Elliotte Rusty Harold<br />Author of <a href="http://cafe.elharo.com/web/refactoring-html/" target="_blank" rel="nofollow">Refactoring HTML</a>
It is sorta covered in the JavaRanch Style Guide.
subject: CDATA
Similar Threads
How to preserve new lines when parsing
text in XML tag
Nested CDATA Sections
JavaScript as Element value