mismatched ( line column -- * ) - Factor Documentation

mismatched ( line column -- * )
XML parsing errors

Prev: unclosed


Vocabulary
xml .errors

Class description
XML parsing error describing mismatched tags. Contains two slots: open is the name of the opening tag and close is the name of the closing tag. This shows the location of the closing tag

Bad XML document for the error
<a></c>


Definition
IN: xml.errors

ERROR: mismatched line column open close ;


Methods
USING: accessors debugger generic io kernel xml.errors
xml.writer ;

M: mismatched error.
dup M\ mismatched error. (call-next-method)
"Mismatched tags" print "Opening tag: <" write
dup open>> print-name ">" print "Closing tag: </" write
close>> print-name ">" print ;

AltStyle によって変換されたページ (->オリジナル) /