Providing writers with a way to include/exclude additional book-level validation checks
Posted: Mon Jan 17, 2022 10:52 pm
Our writers regularly use Validate and Check for Completeness to perform book-level validation:
This is a one-step comprehensive check for lots of things - XML schema, DITA rules, key definitions, profiling conditions, and so on - very useful!
We also have additional checks that writers might want to optionally include in book-level validation, such as: style checks, structure checks, inclusivity/diversity checks, and so on. These checks can apply to maps and/or topics, and they include both Schematron and Oxygen Terminology Checker files.
As a proof of concept, let's say I have four Schematron files that check for "word1" through "word4", and I want to selectively include them in Validate and Check for Completeness:
I tried using Configure Validation Scenarios at the map level:
but the configured checks were not inherited by .dita topic files during Validate and Check for Completeness. (And Configure Validation Scenarios at the topic level is sticky to individual topics, so that doesn't work either.)
There is an Additional Schematron checks setting in the Validate and Check for Completeless dialog window, but it is not suitable for nontechnical writers, and I cannot figure out how to specify a list of files.
The only way I can find to affect .dita topic file validation in Validate and Check for Completeness is to change the default validation settings in the DITA (topic) framework extension, but it is not practical to have multiple framework copies just for this.
Is there a way in Oxygen's UI for writers to selectively control validation of both map and topic files in book-level Validate and Check for Completeness?
Thanks!
- Chris
This is a one-step comprehensive check for lots of things - XML schema, DITA rules, key definitions, profiling conditions, and so on - very useful!
We also have additional checks that writers might want to optionally include in book-level validation, such as: style checks, structure checks, inclusivity/diversity checks, and so on. These checks can apply to maps and/or topics, and they include both Schematron and Oxygen Terminology Checker files.
As a proof of concept, let's say I have four Schematron files that check for "word1" through "word4", and I want to selectively include them in Validate and Check for Completeness:
I tried using Configure Validation Scenarios at the map level:
but the configured checks were not inherited by .dita topic files during Validate and Check for Completeness. (And Configure Validation Scenarios at the topic level is sticky to individual topics, so that doesn't work either.)
There is an Additional Schematron checks setting in the Validate and Check for Completeless dialog window, but it is not suitable for nontechnical writers, and I cannot figure out how to specify a list of files.
The only way I can find to affect .dita topic file validation in Validate and Check for Completeness is to change the default validation settings in the DITA (topic) framework extension, but it is not practical to have multiple framework copies just for this.
Is there a way in Oxygen's UI for writers to selectively control validation of both map and topic files in book-level Validate and Check for Completeness?
Thanks!
- Chris