no-entity ( line -- * ) (original) (raw)

no-entity ( line -- * )
XML parsing errors

Prev: expected ( line column -- * )
Next: pre/post-content ( string pre? -- * )

Vocabulary
xml.errors

Class description
XML parsing error describing the use of an undefined entity. Contains one slot, thing, containing a string representing the entity.

Bad XML document for the error

&foo;

Definition

IN: xml.errors

ERROR: no-entity line column thing ;

Methods

USING: accessors debugger generic io kernel xml.errors ;

M: no-entity error.
dup M\ no-entity error. (call-next-method)
"Entity does not exist: &" write thing>> write ";" print ;