fNamespaceScanner.setDTDValidator(null);
fScanner = fNamespaceScanner;
}
else {
if (fNonNSScanner == null) {
fNonNSScanner = new XMLDocumentScannerImpl();
addComponent((XMLComponent)fNonNSScanner);
}
fProperties.put(DOCUMENT_SCANNER, fNonNSScanner);
fScanner = fNonNSScanner;
}