I want the validation to report an error for draft-comment elements whose translation attribute has not been explicitly set to no.
This is my pattern:
Code: Select all
<assert test="@translate='no'">attribute translate must be set to no for draft-comment element</assert>
However, if the translate attribute is not set at all, nothing is reported. I would expect an error or warning in this case.
Is this error or warning not issued because no is the default value according to the DITA specification?
Our translation tool is not aware of these default values.
Thank you for any help