|
|||||
built-in variable | #recovery-info | ||||
Related Syntax | Related Concepts |
Purpose
A built-in stream shelf that provides information about how the markup parser will recover from the error and continue processing. (This information comes from the markup parser error message.) This stream shelf can be accessed only from the header and body of sgml-error
rules.
#recovery-info
is not always attached. Use the is attached
test to ensure the stream is attached before attempting to use its value (the recovery information).
#recovery-info
also can be used as a pattern variable for compatibility with past releases. However, this use is deprecated. Unlike programmer-defined pattern variables, #recovery-info
must always be heralded with the pattern
keyword, even where heralding is usually optional.
When using #recovery-info
as a pattern variable, use the is specified
test to ensure a value has been assigned to the pattern variable.
Related Syntax pattern sgml-error #class #error-code #file-name #line-number #message is attached #additional-info |
Related Concepts XML/SGML error rules: predefined pattern variables |
---- |