Suppressing conditional errors
Posted: Thu May 28, 2020 8:33 pm
I get the following error during transformation
There's an understandable if annoying reason for the toolkit to throw the error: the variable it's complaining about is conditional and was excluded in this particular transform scenario.
Problem I'm trying to solve is how to suppress this specific error so that I can more easily see other unexpected errors. Because of where this variable exists, these error messages pollute my logs, making it really difficult to find the unexpected.
This has been a long-standing nit in DITA conditional processing: it throws an error about not being able to find an element that was deliberately excluded.
Any workaround for this nit is very welcome.
Code: Select all
[DOTX010E][ERROR]: Unable to find target for conref="#variables/llAirgap".
Problem I'm trying to solve is how to suppress this specific error so that I can more easily see other unexpected errors. Because of where this variable exists, these error messages pollute my logs, making it really difficult to find the unexpected.
This has been a long-standing nit in DITA conditional processing: it throws an error about not being able to find an element that was deliberately excluded.
Any workaround for this nit is very welcome.