/src/main/java/org/htmlunit/html/xpath/XPathAdapter.java
charArray[i] = java.lang.Character.toLowerCase(ch);
if ( insideBrackets == 0 && state != STATE.SINGLE_QUOTED && state != STATE.DOUBLE_QUOTED ) { charArray[i] = Character.toLowerCase ( ch ) ; }
if (state == STATE.ATTRIB) { state = STATE.DEFAULT; } insideBrackets--; break; default: <extra_id_0> else if (state == STATE.ATTRIB) { charArray[i] = Character.toLowerCase(ch); } if (state == STATE.ATTRIB) { final boolean isValidAttribChar = ('a' <= ch && ch <= 'z')