Page 1 of 1

Validation error message blank

Posted: Tue Apr 29, 2025 11:43 pm
by rdx2426
Schematron validation in validation scenario acting very weird in Oxygen Web server. This is not a problem in Oxygen Web add-on test server in Oxygen XML editor.

Pre-requisite:
Define framework that contains XSD, two Schematron files and validation scenario with auto-validation for both Schematron files. Open/edit XML file that validates successfully.

On open of XML, if we modify the XML and only violate a warning rule in the first Schematron file listed in the validation scenario, a warning and <assert> message is displayed in the Validation panel.

If we modify the XML and only violate an error rule in the second Schematron file listed in the validation scenario, a placeholder for the error is displayed in the Validation panel but the <assert> message is not display. Refresh UI does not resolve. Same behavior in MS Edge and Firefox.
image.jpeg

If we modify the XML and violate the rules in both Schematron files, a placeholder for both the warning and error are displayed in the Validation panel but the <assert> message for both are not displayed. Refresh UI partially resolves problem - <assert> message for the warning now appears but <assert> message for the error is still not displayed.
refreshimage.jpeg

If we fix and re-violate the rules and take it back to the state where only the warning rule in the first Schematron file is violated, a placeholder for the error (not warning) is displayed in the Validation panel with no <assert> message. Keep in mind, the error is not violated. If we modify the content at the location of the error rule (which is currently valid) and keep it valid, the Validation panel updates and now shows the warning with its <assert> message. The error is no longer listed.

Any ideas on how to resolve this?

Re: Validation error message blank

Posted: Wed Apr 30, 2025 5:52 pm
by cosminef
Hello,

Thank you for reaching out.
Can you help us reproduce the issue? It would be helpful if you could send us the framework you're using, a sample file, and the steps to reproduce those validation errors.
We can continue the discussion via email at: support@oxygenxml.com

Best,
Cosmin