Batch validation minor annoyances
Posted: Fri Feb 24, 2017 9:13 pm
After upgrading from oXygen 17.1 to 18.1, there were a few new validation issues our DITA content was not conforming to, so I started to try and use the batch validation to cleanup our content a bit. Here are a few very minor quarks about the batch validation I just wanted to point out.
Platform: Standalone - Windows 32-bit
Version : <oXygen/> XML Author 18.1, build 2017020917
Java Ver: Java SE 8u102
- I had opened our project xpr file by lowercase URL path. This caused every single reference to result in a validation error of "...incorrect path capitalization.." or "File not found...". While minor, it results in over 160k validation errors that went away when I opened the xpr with correct case path.
- No way of knowing the batch validation progress, it takes my PC over an hour to run through all our files. I couldn't even detect any logic in the file order it was scanning to guesstimate how much longer it would take. It would be nice if it at least counted the files first and then used that count to indicate the progress bar position.
- After waiting over an hour, I went to try and save the ~200k validation results to text and xml file. Sadly, oXygen kept running out of memory when I tried to do that. After fixing the xpr path issue though, and getting the validation issues under control, it worked. Kinda annoying though the first time not having any way to export the results that took an hour to generate.
- No way to automatically filter and exclude some messages from batch scan. We have a plug-in that has a ValidationProblemsFilter listener for the current editor, but there does not appear to be any way to attach that to the batch validation routine. There are a few errors such as the ones complaining about "-dita-use-conref-target" attribute values that are not issues and should not be filtered.
- I added a ValidationProblemsFilter to the map editor to exclude a few messages. It correctly filters the probables, however the problem view panel automatically opens up and is empty when all messages are filtered.
- When renaming a colname in the colspec of a table in author view, all the references to the old colname in the table are not updated. It would be nice if oXygen automatically updated the colname references in the table as well. I could probably incorporate this into our plug-in but seems like something oXygen would do automatically.
Platform: Standalone - Windows 32-bit
Version : <oXygen/> XML Author 18.1, build 2017020917
Java Ver: Java SE 8u102