else if (fNamespaces && !fDTDValidator.hasGrammar() ) {
fBindNamespaces = true;
fPerformValidation = fDTDValidator.validate();
// re-configure pipeline by removing DTDValidator
XMLDocumentSource source = fDTDValidator.getDocumentSource();
XMLDocumentHandler handler = fDTDValidator.getDocumentHandler();
source.setDocumentHandler(handler);
if (handler != null)
handler.setDocumentSource(source);
fDTDValidator.setDocumentSource(null);
fDTDValidator.setDocumentHandler(null);
}
} // reconfigurePipeline()