nonexist-ns ( line -- * ) (original) (raw)

nonexist-ns ( line -- * )
XML parsing errors

Prev: extra-attrs ( line -- * )
Next: not-yes/no ( line -- * )

Vocabulary
xml.errors

Class description
XML parsing error describing the case where a namespace doesn't exist but it is used in a tag. Contains one slot, name, which contains the name of the undeclared namespace.

Bad XML document for the error

<a:b>c

Definition

IN: xml.errors

ERROR: nonexist-ns line column name ;

Methods

USING: accessors debugger generic io kernel xml.errors ;

M: nonexist-ns error.
dup M\ nonexist-ns error. (call-next-method)
"Namespace " write name>> write
" has not been declared" print ;