bad-name ( line -- * ) (original) (raw)

bad-name ( line -- * )
XML parsing errors

Prev: unclosed-quote ( -- * )
Next: quoteless-attr ( -- * )

Vocabulary
xml.errors

Class description
Describes the error where a name is used, for example in an XML tag or attribute key, which is invalid.

Bad XML document for the error

<%> </%>

Definition

IN: xml.errors

ERROR: bad-name line column name ;

Methods

USING: accessors debugger generic io kernel xml.errors ;

M: bad-name error.
dup M\ bad-name error. (call-next-method)
"Invalid name: " write name>> print ;