contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
rule type   markup-error    
  Related Syntax   Related Concepts  

Syntax

  markup-error condition?
     log?
     local-declaration*
     action*


Purpose

The markup-error rule is triggered when a parsing error is found by the current parser. Note that the markup-error rule is a replacement for the deprecated sgml-error rule. markup-error performs the same functions and has the same behavior as sgml-error but can be used when processing XML as well as SGML documents. The OmniMark program can do a number of things in a markup-error rule:

If the log keyword is specified at the beginning of the rule body, then the conventional error reporting is done in addition to the actions that follow.

If there is more than one markup-error rule in an OmniMark program, the first markup-error rule which has no condition, or which has a condition that is true, is performed.

If there are no markup-error rules which can be performed, the conventional error reporting is done.

    Related Syntax
   #markup-parser
 
Related Concepts
   Errors: counting markup errors
   XML/SGML error message: retrieving parts of
   XML/SGML errors: processing
 
----

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

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

Copyright © OmniMark Technologies Corporation, 1988-1999.