File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 8927

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="" target="_blank" rel="nofollow">Refactoring HTML</a>
I agree. Here's the link:
subject: CDATA
jQuery in Action, 3rd edition