The Parser will invoke this method once for each processing instruction found: note that processing instructions may occur before or after the main document element.
A SAX parser must never report an XML declaration (XML 1.0, section 2.8) or a text declaration (XML 1.0, section 4.3.1) using this method.
Parameters:
# Receive notification of a processing instruction.
#
# The Parser will invoke this method once for each processing
# instruction found: note that processing instructions may occur
# before or after the main document element.
#
# A SAX parser must never report an XML declaration (XML 1.0,
# section 2.8) or a text declaration (XML 1.0, section 4.3.1)
# using this method.
#
# Parameters:
#
# * `target`: processing instruction target.
# * `data`: processing instruction data, or `null` if
# none was supplied. The data does not include any
# whitespace separating it from the target.
fun processing_instruction(target: String, data: nullable String) do end
lib/sax/content_handler.nit:265,2--281,73
redef fun processing_instruction(target, data) do
if content_handler != null then
content_handler.processing_instruction(target, data)
end
end
lib/sax/helpers/xml_filter_impl.nit:312,2--316,4