Page 1 of 1
How to validate all topics in the monolithic editing mode in Oxygen 23.1
Posted: Thu Mar 02, 2023 10:36 am
by roopesh79
Hi Team,
Is there any way to validate topics using custom schematron in the monolithic editing mode in oxygen 23.1? Currently ditamap only getting validated in monolithic mode
Thanks in Advance
Roopesh
Re: How to validate all topics in the monolithic editing mode in Oxygen 23.1
Posted: Thu Mar 02, 2023 11:30 am
by Radu
Hi Roopesh,
Just to see if I understand, you are opening the DITA Map with expanded topics in the main editor area, right?
And how do you validate it, by pressing the "Validate" toolbar button or do you also want automatic validation? Having automatic validation which validates each referenced topic with Schematron is not very scalable, if you have lots of DITA topics applying Schematron validation on each of them takes a lot of time.
I would suggest you open the DITA Map in the DITA Maps Manager view and use the "Validate and check for completeness" action from the DITA Maps Manager view's toolbar. It has a setting to add a reference to a custom Schematron schema.
Regards,
Radu
Re: How to validate all topics in the monolithic editing mode in Oxygen 23.1
Posted: Thu Mar 02, 2023 12:11 pm
by roopesh79
Hi Radu,
Thank you for your suggestion.
Currently I am able to validate topic while authoring and map level validation using "validate and check for completeness" button.
I was looking a way to do an automatic validation while editing all the resolved topics in the editing area. Now I understood this is not scalable since we have 100+ topics in most of the ditamap.
Re: How to validate all topics in the monolithic editing mode in Oxygen 23.1
Posted: Thu Mar 02, 2023 12:44 pm
by Radu
Hi Roopesh,
In the Oxygen Preferences->"Editor / Edit Modes / Author" page there is an "Allow referenced code to be edited" checkbox, I assume you have checked that, right?
And then you open the DITA Map with resolved topics in the main editor, right?
From what I remember, when you first open the DITA Map with resolved topics, automatic validation reports errors only from the DITA Map. After you start making changes to referenced topics, for automatic validation Oxygen starts validating only those modified referenced topics as if the validation would be done with the topics opened. But Oxygen does not validate all referenced topics like this (as I said this might take a long time and consume a lot of CPU power), it validates only the referenced topics which have been currently modified by you.
Regards,
Radu