don't mutate xpath namesapces from documentResolver
Consider using PluginManager
Introduce DomDocumentFactory PluginManager

some of rest still needs rename