}
// and last but not least: same with DTDContentModels...
// perhaps dangerously, we'll assume the DTD_Processor property
// will give this to us; this may not
// be true for some pipelines!
XMLDTDContentModelFilter cmProc = (XMLDTDContentModelFilter)fComponentManager.getProperty(DTD_PROCESSOR_PROPERTY);
if(cmProc.getDTDContentModelSource() != null) {
cmProc.getDTDContentModelSource().setDTDContentModelHandler(fXML11DTDProcessor);
fXML11DTDProcessor.setDTDContentModelSource(cmProc.getDTDContentModelSource());
}
if(cmProc.getDTDContentModelHandler() != null) {
cmProc.getDTDContentModelHandler().setDTDContentModelSource(fXML11DTDProcessor);
fXML11DTDProcessor.setDTDContentModelHandler(cmProc.getDTDContentModelHandler());
}
}
} else {
// must be a 1.0 pipeline, or it'll be a fatal error later on...
fEntityManager.setScannerVersion(Constants.XML_VERSION_1_0);