Try harder to remove whitespace from biocViews before checking them for validity.