MODE-2278 Fixed the validation of the prefix of a namespace (according to the spec, must be an NCName)