unclosed - Factor Documentation (original) (raw)
Prev: | not-yes/no ( line -- * ) |
---|---|
Next: | mismatched ( line column -- * ) |
Class description
XML parsing error used to describe the case where the XML document contains classes which are not closed by the end of the document. Contains one slot, tags, a sequence of names.
Bad XML document for the error
some text
Definition
TUPLE: unclosed line column tags ;
Methods
USING: accessors debugger generic io kernel sequences xml.errors
xml.writer ;
M: unclosed error.
dup M\ unclosed error. (call-next-method)
"Unclosed tags" print "Tags: " print tags>>
[ " <" write print-name ">" print ] each ;