|
|||||
XML/SGML error rules: predefined pattern variables | |||||
Prerequisite Concepts | Related Syntax |
Many of the built-in local variables in markup-error
rules are also provided as pattern variables, for compatibility with past releases. Use of these pattern variables is deprecated.
Unlike programmer-defined pattern variables, these pattern variables must always be heralded with the pattern
keyword in contexts where heralding would usually be optional.
The pattern variables are #class
, #message
, #additional-info
, #recovery-info
, #file-name
, and #line-number
.
The is specified
test will always be true for these built-in pattern variables except for #additional-info
and #recovery-info
, which are not present in all messages.
Prerequisite Concepts Aided translation types Heralds XML/SGML error message: retrieving parts of XML/SGML errors: processing |
Related Syntax #additional-info #class #file-name #message #recovery-info is specified pattern sgml-error true, false |
---- |