Report a parsed external entity declaration.

Only the effective (first) declaration for each entity will be reported.

Parameters:

  • name: name of the entity. If it is a parameter entity, the name will begin with %.
  • public_id: declared public identifier of the entity, or null if none was declared.
  • system_id: declared system identifier of the entity.

SEE: internal_entity_decl

SEE: sax::DTDHandler.unparsed_entity_decl

Property definitions

sax $ DeclHandler :: external_entity_decl
	# Report a parsed external entity declaration.
	#
	# Only the effective (first) declaration for each entity
	# will be reported.
	#
	# Parameters:
	#
	# * `name`: name of the entity. If it is a parameter entity, the name will
	# begin with `%`.
	# * `public_id`: declared public identifier of the entity, or `null` if
	# none was declared.
	# * `system_id`: declared system identifier of the entity.
	#
	# SEE: `internal_entity_decl`
	#
	# SEE: `sax::DTDHandler.unparsed_entity_decl`
	fun external_entity_decl(name: String, value: String) do end
lib/sax/ext/decl_handler.nit:96,2--112,61

saxophonit $ SAXEventLogger :: external_entity_decl
	redef fun external_entity_decl(name, value) do
		log.push(["external_entity_decl", name, value])
		if decl_handler != null then
			decl_handler.external_entity_decl(name, value)
		end
	end
lib/saxophonit/testing.nit:468,2--473,4