protected void configurePipeline() {
// create appropriate scanner
// and register it as one of the components.
if (fFeatures.get(NAMESPACES) == Boolean.TRUE) {
if (fNamespaceScanner == null) {
fNamespaceScanner = new XMLNSDocumentScannerImpl();
addComponent((XMLComponent)fNamespaceScanner);
}
fProperties.put(DOCUMENT_SCANNER, fNamespaceScanner);
fNamespaceScanner.setComponents(null, null, fDocumentHandler);
fScanner = fNamespaceScanner;