misplaced-directive ( line -- * ) (original) (raw)
misplaced-directive ( line -- * )
XML parsing errors
| Prev: | attr-w/< ( -- * ) |
|---|
Class description
Describes the error where an internal DTD directive is used outside of a DOCTYPE or DTD file, or where a DOCTYPE occurs somewhere other than before the main tag of an XML document.
Bad XML document for the error
Definition
ERROR: misplaced-directive line column dir ;
Methods
USING: accessors debugger generic io kernel xml.errors
xml.writer ;
M: misplaced-directive error.
dup M\ misplaced-directive error. (call-next-method)
"Misplaced directive:" print dir>> write-xml nl ;