Validation error message blank
Posted: Tue Apr 29, 2025 11:43 pm
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.
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.
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?
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.
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.
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?