jodd-lagarto/src/main/java/jodd/csselly/selector/AttributeSelector.java
public boolean accept(final Node node) {
		if (!node.hasAttribute(name)) {
			return false;
		}

		if (value == null) {		// just detect if attribute exist
			return true;
		}

		String nodeValue = node.getAttribute(name);

		if (nodeValue == null) {
			return false;
		}
		
		return match.compare(nodeValue, value);
	}
public boolean accept(final Node node) {
		if (!node.hasAttribute(name)) {
			return false;
		}

		if (value == null) {		// just detect if attribute exist
			return true;
		}

		String nodeValue = node.getAttribute(name);

		if (nodeValue == null) {
			return false;
		}
		
		return match.compare(nodeValue, value);
	}
---------------------------------------------------------------- match