ssml_validation

Sets the mode to evaluate SSML markup in input text.

Value

  • strict (default) validates the input against the SSML 1.0 Recommendation with Nuance extensions. If validation fails, Vocalizer logs error messages and aborts the synthesis operation with an error.
  • warn validates the input and logs errors, but does not abort the synthesis operation.
  • none skips validation.

DEFAULT: strict

How to set

Shown in precedence order (see Configuration precedence):

In the application's session xml in the <speechsynth> section of <sessionparameters>.

API—Set as TTS_PARAM_LID_LANGUAGES in TtsSetParamsEx.

Use

Sometimes used.

The "strict" mode is the most robust setting because it ensures agreement between the application and Vocalizer engine. Otherwise Vocalizer tries to handle bad input, which may lead to TTS output that differs from the application intent.