parse QName to match enum. #208