supress_unknown_expression_warnings Attribute
- Last Updated: May 13, 2026
- 1 minute read
- Semaphore
- Documentation
Stops generating warnings for expression rules which have a type which is unknown by the particular CS instance
This is a very rarely used attribute which supresses the generation of warnings for any expression rules in the rulebase (strictly speaking for any expression rules processed after this attribute - however attribute is normally used very early in a rulebase so means the same thing).
Example
...
<rulebase language = "english" supress_unknown_expression_warnings="1" >
...
<expression type="XXXX" />
...
</rulebase>
Normally a warning would be generated here during a publish if CS does not recognise “XXXX” as a zone which it can determine. (XXXX may be available as an optional zoner which the particular CS instance has not been configured to use)
In some cases the generation of the warning is a pain and it it better for CS to fail silently (so the expression will never be matched in any document using that CS) which allows the rulebase to be used for different CS instances without warnings.
For example the textminer rules which are installed by default with CS use this attribute to avoid generating warnings for every publish / sandbox request if the CS is not using a language pack