misplaced-directive ( line -- * ) - Factor Documentation

misplaced-directive ( line -- * )
XML parsing errors



Vocabulary
xml .errors

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
<x><!ENTITY foo 'bar'></x>


Definition
IN: xml.errors

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 ;

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