Checker for occurrence of disallowed namespaces.
The namespaces are checked in the root element of the XML document.