sax :: ErrorHandler :: warning
SAX parsers will use this method to report conditions that are not errors or fatal errors as defined by the XML 1.0 recommendation. The default behaviour is to take no action.
The SAX parser must continue to provide normal parsing events after invoking this method: it should still be possible for the application to process the document through to the end.
Filters may use this method to report other, non-XML warnings as well.
Parameter:
exception
: warning information encapsulated in a SAX parse
exception.
# Receive notification of a warning.
#
# SAX parsers will use this method to report conditions that
# are not errors or fatal errors as defined by the XML 1.0
# recommendation. The default behaviour is to take no action.
#
# The SAX parser must continue to provide normal parsing events
# after invoking this method: it should still be possible for the
# application to process the document through to the end.
#
# Filters may use this method to report other, non-XML warnings
# as well.
#
# Parameter:
#
# * `exception`: warning information encapsulated in a SAX parse
# exception.
fun warning(exception: SAXParseException) do end
lib/sax/error_handler.nit:40,2--57,49
redef fun warning(exception) do
if error_handler != null then
error_handler.warning(exception)
end
end
lib/sax/helpers/xml_filter_impl.nit:328,2--332,4