I am unable to check for CDATA in XML and read it using XMLEventReader.
The following is the sample:
HEADERS
Set the property, otherwise reader ignores the event type of CDATA.
XMLInputFactory factory = XMLInputFactory.newInstance();
factory.setProperty(Constants.ZEPHYR_PROPERTY_PREFIX + Constants.STAX_REPORT_CDATA_EVENT,Boolean.TRUE);
See com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl, line: 3027