Page 1 of 1

Track changes generates warnings after feature turned off.

Posted: Thu Jul 20, 2023 5:34 pm
by klattubarada
Howdy,
We tried the Track Changes feature for our DITA and decided it wasn't going to work for us. We use Oxygen 24.1 as our Editor in combination with Astoria. However all of our maps now have various amounts of the warnings that follow:

[Document]:Ignoring end processing instruction for insert change tracking which does not have a start.
[Document]:Ignoring processing instruction for delete change tracking which has empty content.

Clicking on either highlights a location but I don't see anything to fix. I also looked using text mode and nothing is there.

Any thoughts?

Re: Track changes generates warnings after feature turned off.

Posted: Fri Jul 21, 2023 8:23 am
by Radu
Hi,
Oxygen's change tracking functionality uses processing instructions like "<?oxy_insert_start" to mark areas containing track changes.
Probably after you stopped using change tracking, you still have some Oxygen specific processing instructions inside your DITA XML content and they need to be manually removed.
https://www.oxygenxml.com/doc/versions/ ... anges.html
As you are using Astoria, maybe you can open the main DITA Map in the Oxygen DITA Maps Manager view, right click it, choose "Find/Replace in Files", search for "<?oxy_" to find all files still containing Oxygen processing instructions. Then open these files in the "Text" visual editing mode and try to remove the processing instructions from them and commit the files.
Regards,
Radu

Re: Track changes generates warnings after feature turned off.

Posted: Fri Jul 21, 2023 6:01 pm
by klattubarada
Thanks Radu,
I did search for ?Oxy throughout and I found one line in 1 map, deleted it, saved and the errors still persist. There are other maps that also have the errors but an ?oxy search doesn't find anything.
It's a mystery.

Re: Track changes generates warnings after feature turned off.

Posted: Mon Jul 24, 2023 9:27 am
by Radu
Hi,

So you open a DITA Map in the Oxygen main editor in the Author visual editing mode and you receive a warning like this:

[Document]:Ignoring end processing instruction for insert change tracking which does not have a start.

right? If you click on the warning in the problems view Oxygen should place the caret around the location where the problem was found. Maybe there are still "<?oxy" processing instructions inside some submaps and they need to be manually removed.

Regards,
Radu