pre/post-content ( string pre? -- * )
XML parsing errors

Prev:no-entity ( line -- * )
Next:unclosed-quote ( -- * )


Vocabulary
xml.errors

Class description
Describes the error where a non-whitespace string is used before or after the main tag in an XML document. Contains two slots: string contains the offending string, and pre? is t if it occurred before the main tag and f if it occurred after.

Bad XML document for the error
hello <main-tag/>


Definition


Methods

M: pre/post-content error.
"The text string:" print dup string>> . "was used " write
pre?>> "before" "after" ? write " the main tag." print ;