class Nokogiri::XML::SyntaxError

def warning?

return true if this is a warning
##
def warning?
  level == 1
end