File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Product and Other Certifications and the fly likes Nested CDATA Sections Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "Nested CDATA Sections" Watch "Nested CDATA Sections" New topic
Author

Nested CDATA Sections

Andy Smith
Ranch Hand

Joined: Sep 28, 2003
Posts: 239
Is that possible to have a CDATA Section inside a CDATA Section?


Share Knowledge to gain it.
SCJP 2, SCWCD 2, SCDJWS, IBM 141 (In Progress), IBM 486 (Next)
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
I'm afraid it's not possible.
Why would you need to be able to do that?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Dhiren Joshi
Ranch Hand

Joined: Dec 09, 2003
Posts: 463
Not possible if you do that u are putting illegal argument ]]> inside a CDATA.
See the XML specs

HTH
Dhiren
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Nested CDATA Sections
 
Similar Threads
How to insert brackets into an XML element value?
CDATA
CDATA
Ajax and spanish characters
Formatting in XML