|
|||||
Errors: handling prolog errors | |||||
Prerequisite Concepts | Related Syntax |
OmniMark automatically performs error recovery after markup errors are found in the document instance. However, SGML errors in the document prolog cause OmniMark to abandon parsing of that document. This means that if the error occurs in the document prolog of the main document being processed in a down-translation, up-translation, or context-translation, then the program will be terminated. If the error occurs in the document prolog of a document being processed by a do sgml-parse
or do xml-parse
action, then the do sgml-parse
or do xml-parse
action will be terminated, but the program will continue.
The prolog-in-error rule is provided to allow the programmer to gain control before parsing of the current document is terminated.
Prerequisite Concepts XML/SGML errors: processing |
Related Syntax prolog-in-error |
---- |