Check if inputfile has name attribute prior to check if it is Android DTD