Checks and test for target namespace (prefix, case, illegal characters)