How to validate all topics in the monolithic editing mode in Oxygen 23.1

Having trouble installing Oxygen? Got a bug to report? Post it all here.
roopesh79
Posts: 27
Joined: Fri Jul 29, 2022 9:55 am

How to validate all topics in the monolithic editing mode in Oxygen 23.1

Post 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
Radu
Posts: 9431
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to validate all topics in the monolithic editing mode in Oxygen 23.1

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
roopesh79
Posts: 27
Joined: Fri Jul 29, 2022 9:55 am

Re: How to validate all topics in the monolithic editing mode in Oxygen 23.1

Post 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.
Radu
Posts: 9431
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to validate all topics in the monolithic editing mode in Oxygen 23.1

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply