Meaningless Drivel is fun!
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "Nested CDATA Sections" Watch "Nested CDATA Sections" New topic

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

Joined: Jan 23, 2002
Posts: 11962
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

I agree. Here's the link:
subject: Nested CDATA Sections
It's not a secret anymore!