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