class Nokogiri::CSS::XPathVisitor

def html5_element_name_needs_namespace_handling(node)

def html5_element_name_needs_namespace_handling(node)
  # if there is already a namespace (i.e., it is a prefixed QName), use it as normal
  node.value.length == 1 &&
    # if this is the wildcard selector "*", use it as normal
    node.value.first != "*"
end