mismatched ( line column -- * ) (original) (raw)
mismatched ( line column -- * )
XML parsing errors
Prev: | unclosed |
---|---|
Next: | expected ( line column -- * ) |
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
Definition
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 ;