xml_name_type() should report namespace error if name ends with colon

This means that either there is a non-qualified name colon, or no local name. The WPT tests expect
a NAMESPACE_ERR to be thrown, so this blocks #2185 to some degree