sax :: NamespaceSupport :: reset
It is necessary to invoke this method before reusing the Namespace support object for a new session.
# Reset this Namespace support object for reuse.
#
# It is necessary to invoke this method before reusing the
# Namespace support object for a new session.
fun reset do
contexts.clear
contexts.enlarge(32)
context_position = 0
current_context = new Context
contexts.push(current_context)
current_context.declare_prefix("xml", xmlns)
current_context.declare_prefix("xmlns", nsdecl)
end
lib/sax/helpers/namespace_support.nit:87,2--99,4