// Then CDATA
sw = getDTDValidatingWriter(strw, dtdStr, nsAware, repairing);
sw.writeStartElement("root");
try {
sw.writeCData("foo");
fail(modeDesc+" Expected a validation exception when trying to add CDATA into EMPTY content model");
} catch (XMLValidationException vex) { }
sw.close();
// Then ENTITY