Just ran across this, don't know if anyone else has had this problem, but it wasn't easy to solve (lack of knowledge, more than anything else).
If the XML you're reading in via SAX has CDATA sections, the SAX contenthandler interface strips them out. You must use the IVBSAXLexicalHandler interface, which has events for startCDATA and endCDATA. These allow you to add the CDATA tags back in.
To get the SAX parser to recognize the lexical handler, you must set a property on it before calling the ParseURL method:
Hope this helps.
Chip H.
If the XML you're reading in via SAX has CDATA sections, the SAX contenthandler interface strips them out. You must use the IVBSAXLexicalHandler interface, which has events for startCDATA and endCDATA. These allow you to add the CDATA tags back in.
To get the SAX parser to recognize the lexical handler, you must set a property on it before calling the ParseURL method:
Code:
Call objSAX.putProperty("[URL unfurl="true"]http://xml.org/sax/properties/lexical-handler",[/URL] Me)
Call objSAX.parseURL("file:///" & sXMLFilePath)
Chip H.