Scan for root element hook. This method is a hook for
subclasses to add code that handles scanning for the root
element. This method will also attempt to remove DTD validator
from the pipeline, if there is no DTD grammar. If DTD validator
is no longer in the pipeline bind namespaces in the scanner.