Parse CDATA section in C++ using SAX

I am trying to parse CDATA section in my xml file using c++ and SAX parser.
Somehow it skipping the CDATA tag completely and I am unable to parse it.
Could you send me the snippet of code or so?
Thanks
LVL 2
pb_indiaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jkrCommented:
Are you using SAX 1.0? SAX2 seems to be able to do that - see http://lists.xml.org/archives/xml-dev/199912/msg00232.html
0
pb_indiaAuthor Commented:
using SAX2
But its still skiping the the element CDATA

I wan tto know if I am setting the flags right
0
OnegaZhangCommented:
there is virtual void       startCDATA ()=0 in LexicalHandler Class of  Xerces-C++ library.
http://xml.apache.org/xerces-c/apiDocs/index.html

welcome to www.fruitfruit.com
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rstaveleyCommented:
I'd expect the data to appear as characters data without the CDATA escape characters. Are you not getting the CDATA content? If not, you might want to check that you've got the escape sequence right. Try looking at the XML document in IE to check its well-formedness.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.