Only the effective (first) declaration for each entity will be reported. All parameter entities in the value will be expanded, but general entities will not.
Parameters:
name
: name of the entity. If it is a parameter entity, the name will
begin with %
.value
: replacement text of the entity.SEE: external_entity_decl
SEE: sax::DTDHandler.unparsed_entity_decl
# Report an internal entity declaration.
#
# Only the effective (first) declaration for each entity
# will be reported. All parameter entities in the value
# will be expanded, but general entities will not.
#
# Parameters:
#
# * `name`: name of the entity. If it is a parameter entity, the name will
# begin with `%`.
# * `value`: replacement text of the entity.
#
# SEE: `external_entity_decl`
#
# SEE: `sax::DTDHandler.unparsed_entity_decl`
fun internal_entity_decl(name: String, value: String) do end
lib/sax/ext/decl_handler.nit:79,2--94,61
redef fun internal_entity_decl(name, value) do
log.push(["internal_entity_decl", name, value])
if decl_handler != null then
decl_handler.internal_entity_decl(name, value)
end
end
lib/saxophonit/testing.nit:461,2--466,4