Validation of Related Links with Profiling Attributes to Topics with Other Profiling Attributes
Posted: Mon Sep 04, 2023 10:41 am
Hi,
At the moment, the following option in the Validate and Check for Completeness dialog really helps identifying the conflicts between parent and child elements with profiling attributes: Identify possible conflicts in profile attribute values in DITA.
Would it be possible to add a similar but more complicated check that allows you to find conflicts between related-links profiling attributes and the profiling attributes of the topics to which the related links refer?
Example:
I have a topic X with product="productA productB" in the topic element.
In another topic Y, I have a related-link to topic X that should have the same product attributes so that when filtering for productA or productB takes place, the related link is put out. However, if you make changes in topic X and add productC and then filter for productC, the related link in topic Y will no longer be available, because there is no validation that helps identifying this issue.
I know that as a workaround, the DITA References View already helps identifying those issues. Unfortunately, it's a time-consuming task to always validate this "manually".
Maybe you've got another idea how to solve this issue. As far as I know, this cannot be solved with Schematron, can it?
Thanks,
Christina
At the moment, the following option in the Validate and Check for Completeness dialog really helps identifying the conflicts between parent and child elements with profiling attributes: Identify possible conflicts in profile attribute values in DITA.
Would it be possible to add a similar but more complicated check that allows you to find conflicts between related-links profiling attributes and the profiling attributes of the topics to which the related links refer?
Example:
I have a topic X with product="productA productB" in the topic element.
In another topic Y, I have a related-link to topic X that should have the same product attributes so that when filtering for productA or productB takes place, the related link is put out. However, if you make changes in topic X and add productC and then filter for productC, the related link in topic Y will no longer be available, because there is no validation that helps identifying this issue.
I know that as a workaround, the DITA References View already helps identifying those issues. Unfortunately, it's a time-consuming task to always validate this "manually".
Maybe you've got another idea how to solve this issue. As far as I know, this cannot be solved with Schematron, can it?
Thanks,
Christina