class Nokogiri::XML::SyntaxError

The XML::SyntaxError is raised on parse errors

This class provides information about XML SyntaxErrors. These exceptions are typically stored on Nokogiri::XML::Document#errors.