validate input to import_xchan(), as we don't consistently check it prior to entering this function