Customisation of colours, validation markers and validation message

Post here questions and problems related to editing and publishing DITA content.
ioanC
Posts: 3
Joined: Mon Aug 22, 2016 3:14 pm

Customisation of colours, validation markers and validation message

Post by ioanC »

Hello again,

The automatic validation only displays a message in the left hand side corner of the bottom bar (image 1). Is there anything that can be done to make it more obvious? For instance when you manually validate the document you get an icon in front of the line containing the error and the line of code is also highlighted (image 2).

Image
Image 1

Image
Image 2

There is also an inconsistency between the icons that are used as validation markers for warning as an example between the Text and Author views. Is there anything that can be done to change this?

And one last question, if you do perform a manual validation and the document contains warnings but not errors, in the same bottom left hand side corner it will read that "Document is valid" (image 3) which can be a bit confusing for the technical authors. Can that message be customized?

Image
Image 3
Sorry if I'm being pedantic but we are trying to get some answers and ensure that we offer the best experience to our users.

Kindly thanks,
Ioan
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Customisation of colours, validation markers and validation message

Post by Radu »

Hi Ioan,

Here's how a warning is reported with the Oxygen 18.0 Eclipse plugin when the XML file is opened from the project, without any other customization plugins installed:

files/validationWarnings.png

So the warning is presented in 3 places:

1) As a highlight in the editing area.
2) On the left stripe.
3) On the right stripe.

Am I to assume that (2) and (3) do not work in your case? Can I have a screenshot showing this?
Are you using Oxygen with a CMS or with another manually installed Eclipse plugin which may alter its functionality?
Do you open files from the project or from an external location (on disk or from a CMS)?
What Oxygen version do you have installed?

About these questions:
There is also an inconsistency between the icons that are used as validation markers for warning as an example between the Text and Author views. Is there anything that can be done to change this?
Can I have some screenshots? You can also contact us directly via email (support@oxygenxml.com).
And one last question, if you do perform a manual validation and the document contains warnings but not errors, in the same bottom left hand side corner it will read that "Document is valid" (image 3) which can be a bit confusing for the technical authors. Can that message be customized?
The validation status in Oxygen 18.0 states "Document has no errors". Maybe we could consider changing it to something like "Documentation has no errors. Warnings: 7". Or to something like "Document valid with warnings. Number of warnings: 7". Which suggestion would be better for you?

We do have some Java API like:

Code: Select all

ro.sync.exml.workspace.api.WorkspaceUtilities.showStatusMessage(String)
which in relation with a validation problems filter API:

Code: Select all

ro.sync.exml.workspace.api.editor.WSEditor.addValidationProblemsFilter(ValidationProblemsFilter)
could be called after each validation to overwrite the status that we impose from an Eclipse plugin which would depend on ours.

Spor la treaba,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply