contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
rule type   prolog-in-error    
  Related Syntax   Related Concepts  

Syntax

  prolog-in-error condition?
      action*


Purpose

A rule performed at the end of either the SGML declaration or the document prolog, if any SGML errors were encountered up to that point. Essentially, this is immediately prior to the point at which OmniMark gives up the current parse.

When SGML errors occur in the document prolog, OmniMark will terminate after processing the prolog. prolog-in-error rules are designed to allow the program to process as many prolog errors as possible while still being able to do cleanup before terminating.

A prolog-in-error rule is performed when it is in an active group, or in no group (the implied group), and has either no condition or a condition that succeeds. More than one prolog-in-error-rule can be performed in the order in which they appeared in the OmniMark program.

prolog-in-error provides you with the following choices:

    Related Syntax
   halt, halt-everything
   do sgml-parse
 
Related Concepts
   Errors: handling prolog errors
   XML/SGML errors: processing
 
----

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:14 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.