[oXygen-user] Any way to control output of Schematron validation?
Oxygen XML Editor Support (Octavian Nadolu)
Tue Dec 8 02:43:02 CST 2015
This is the default behavior of the Schematron assert/report messages.
If the "allow-foreign" option is set for Schematron validation, then all
elements from the Schematron assert/report message will be copied in the
output using the "xsl:copy-of" instruction. This will generate all the
elements in the output with the namespaces from the context. You can
change "allow-foreign" option from the "XML/XML Parser/Schematron"
If the "allow-foreign" option is not set, then you will not be allowed
to add other elements in the Schematron assert/report message, but I
think that you want those elements in the output.
We do not have an option to generate the assert/report messages as text
values. I added an issue on our issue taker to analyze this problem and
maybe generate the elements from the Schematron message without the
namespace declarations. We will notify you when this will be fixed.
<oXygen/> XML Editor
On 07.12.2015 21:16, Maloney, Christopher (NIH/NLM/NCBI) [C] wrote:
> We are using schematron validation in oXygen, with a custom element in
> our output messages. I'm finding that this causes the output messages to
> be unusable, because they are displayed on only one line, and that line
> is taken up by the custom element, and all of it's various namespace
> declarations. I'm attaching a screenshot -- not sure if it will get
> through the mailman.
> Is there any way to configure oxygen to show the text value of these
> messages? It would be much more useful. As it is, the user has to hover
> the mouse over the message, or r-click and do "show messages", and even
> then, the message is dominated by this element, because of all the
> (unused) namespace declarations on it.
> Chris Maloney
> NIH/NLM/NCBI (Contractor)
> Building 45, 4AN36D-12
> oXygen-user mailing list
More information about the oXygen-user