pre/post-content ( string pre? -- * ) - Factor Documentation

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



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
IN: xml.errors

ERROR: pre/post-content string pre? ;


Methods
USING: accessors debugger io kernel prettyprint xml.errors ;

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

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