private String getAttributeName() throws IOException {
        skipAll(SPACE_OR_SLASH);
        if (expect(TAG_END)) {
            return null;
        }
        StringBuilder name = new StringBuilder();
        while (!(peek() == EQUAL && name.length() > 0) && !(peek() == TAG_END || peek() == SLASH) &&
                !skipAll(WHITESPACE)) {
            name.append((char) getLowerCaseChar());
        }
        return name.toString();
    }
Read an attribute from the stream

@return the attribute as a Map.Entry, where the key is the attribute's name and
the value is the attribute's value. If there is no attribute, return null
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-html-module/src/main/java/org/apache/tika/parser/html/charsetdetector/PreScanner.java