Consolidate issues into one detector for both XML and class file
scanning