<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Lou,</p>
<p><br>
</p>
<p>So if you clear the entire content of the "Information" view and
then validate the XML file, you get in the Information view only
details about the Schematron validation being applied, right? So
just the two lines of logging that you previously attached right?</p>
<p>Maybe you can email us directly (<a class="moz-txt-link-abbreviated" href="mailto:support@oxygenxml.com">support@oxygenxml.com</a>), send us
some samples to reproduce the problem and we can try to look
further into this.<br>
</p>
<p><br>
</p>
<p>Regards,</p>
<p>Radu</p>
<pre class="moz-signature" cols="72">Radu Coravu
Oxygen XML Editor</pre>
<p></p>
<p><br>
</p>
<div class="moz-cite-prefix">On 2/27/23 16:21, Lou Burnard wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CWXP265MB410795D610BC69D2E07B322A82AF9@CWXP265MB4107.GBRP265.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);" class="elementToProof">
Sadly, I dont think so. I suppressed the validation scenario,.
and just ask for default validation, and again I get reports of
schematron rules only</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);" class="elementToProof ContentPasted0">
[ 14:19:22] - Schematron Error Scanner - start scanning
<a class="moz-txt-link-freetext" href="file:/home/lou/Public/odd4crit/odd4crit_data.xml">file:/home/lou/Public/odd4crit/odd4crit_data.xml</a> with schema:
<a class="moz-txt-link-freetext" href="file:/home/lou/Public/odd4crit/out/odd4crit.rng">file:/home/lou/Public/odd4crit/out/odd4crit.rng</a>
<div class="ContentPasted0">[ 14:19:22] - Found 7 problems</div>
<br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b>
oXygen-user <a class="moz-txt-link-rfc2396E" href="mailto:oxygen-user-bounces@oxygenxml.com"><oxygen-user-bounces@oxygenxml.com></a> on
behalf of Oxygen XML Editor Support (Radu Coravu)
<a class="moz-txt-link-rfc2396E" href="mailto:support@oxygenxml.com"><support@oxygenxml.com></a><br>
<b>Sent:</b> Monday, February 27, 2023 2:15 PM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:oxygen-user@oxygenxml.com">oxygen-user@oxygenxml.com</a>
<a class="moz-txt-link-rfc2396E" href="mailto:oxygen-user@oxygenxml.com"><oxygen-user@oxygenxml.com></a><br>
<b>Subject:</b> Re: [oXygen-user] Validation problem</font>
<div> </div>
</div>
<div>
<p>Hi Lou,</p>
<p><br>
</p>
<p>The problem seems to be the validation scenario named
"odd4crit_data". You do not need a validation scenario if the
XML file references directly the schemas. And probably in your
validation scenario you mentioned only the Schematron
validation as a stage and did not add a validation stage for
the Relax NG based validation. So Oxygen does what your
validation scenario says and skips Relax NG based validation,<br>
</p>
<p><br>
</p>
<p>Regards,</p>
<p>Radu</p>
<pre class="x_moz-signature" cols="72">Radu Coravu
Oxygen XML Editor</pre>
<p><br>
</p>
<div class="x_moz-cite-prefix">On 2/27/23 16:03, Lou Burnard
wrote:<br>
</div>
<blockquote type="cite">
<style type="text/css" style="display:none">p
{margin-top:0;
margin-bottom:0}</style>
<div class="x_elementToProof"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0);
background-color:rgb(255,255,255)">
Hi Radu</div>
<div class="x_elementToProof"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0);
background-color:rgb(255,255,255)">
Thanks for the quick response. <br>
</div>
<div class="x_elementToProof"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0);
background-color:rgb(255,255,255)">
When I apply the default validation scenario I see this</div>
<div class="x_elementToProof"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0);
background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof x_ContentPasted0"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0);
background-color:rgb(255,255,255)">
[ 13:58:35] - <<< Start scanning using validation
scenario
<div class="x_ContentPasted0"> Scenario Name:
odd4crit_data</div>
<div class="x_ContentPasted0"> Scenario Storage Type:
Global Level</div>
<div class="x_ContentPasted0"> Default Scenario: No</div>
<div class="x_ContentPasted0">[ 13:58:35] - <<
Validation Unit (1 of 1):</div>
<div class="x_ContentPasted0"> File to validate URL: <a
class="x_moz-txt-link-freetext"
href="file:/home/lou/Public/odd4crit/odd4crit_data.xml"
moz-do-not-send="true">
file:/home/lou/Public/odd4crit/odd4crit_data.xml</a></div>
<div class="x_ContentPasted0"> Validation Unit Type:
XML Document</div>
<div class="x_ContentPasted0"> Validation Unit Engine:
<Default engine></div>
<div class="x_ContentPasted0">[ 13:58:37] - Schematron Error
Scanner - start scanning
<a class="x_moz-txt-link-freetext"
href="file:/home/lou/Public/odd4crit/odd4crit_data.xml"
moz-do-not-send="true">
file:/home/lou/Public/odd4crit/odd4crit_data.xml</a>
with schema: <a class="x_moz-txt-link-freetext"
href="file:/home/lou/Public/odd4crit/out/odd4crit.rng"
moz-do-not-send="true">
file:/home/lou/Public/odd4crit/out/odd4crit.rng</a></div>
<div class="x_ContentPasted0">[ 13:58:37] - Found 7 problems</div>
<div class="x_ContentPasted0">[ 13:58:37] - >></div>
[ 13:58:37] - End >>></div>
<div class="x_elementToProof x_ContentPasted0"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0);
background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof x_ContentPasted0"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0);
background-color:rgb(255,255,255)">
When I explicitly select the URL of my RNG file, I see this:</div>
<div class="x_elementToProof x_ContentPasted0"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0);
background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof x_ContentPasted0
x_ContentPasted1"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0);
background-color:rgb(255,255,255)">
[ 14:01:10] - start scanning <a
class="x_moz-txt-link-freetext"
href="file:/home/lou/Public/odd4crit/odd4crit_data.xml"
moz-do-not-send="true">
file:/home/lou/Public/odd4crit/odd4crit_data.xml</a> with
schema: <a class="x_moz-txt-link-freetext"
href="file:/home/lou/Public/odd4crit/out/odd4crit.rng"
moz-do-not-send="true">
file:/home/lou/Public/odd4crit/out/odd4crit.rng</a>
<div class="x_ContentPasted1">[ 14:01:10] - Found 2 problems</div>
<div class="x_ContentPasted1">[ 14:01:10] - Schematron Error
Scanner - start scanning
<a class="x_moz-txt-link-freetext"
href="file:/home/lou/Public/odd4crit/odd4crit_data.xml"
moz-do-not-send="true">
file:/home/lou/Public/odd4crit/odd4crit_data.xml</a>
with schema: <a class="x_moz-txt-link-freetext"
href="file:/home/lou/Public/odd4crit/out/odd4crit.rng"
moz-do-not-send="true">
file:/home/lou/Public/odd4crit/out/odd4crit.rng</a></div>
<div class="x_ContentPasted1">[ 14:01:10] - Found 7 problems</div>
</div>
<div class="x_elementToProof x_ContentPasted0
x_ContentPasted1"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0);
background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof x_ContentPasted0
x_ContentPasted1"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0);
background-color:rgb(255,255,255)">
(which is what I would prefer to see!)<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font
style="font-size:11pt" face="Calibri, sans-serif"
color="#000000"><b>From:</b> oXygen-user
<a class="x_moz-txt-link-rfc2396E"
href="mailto:oxygen-user-bounces@oxygenxml.com"
moz-do-not-send="true">
<oxygen-user-bounces@oxygenxml.com></a> on behalf
of Oxygen XML Editor Support (Radu Coravu)
<a class="x_moz-txt-link-rfc2396E"
href="mailto:support@oxygenxml.com"
moz-do-not-send="true"><support@oxygenxml.com></a><br>
<b>Sent:</b> Monday, February 27, 2023 1:46 PM<br>
<b>To:</b> <a class="x_moz-txt-link-abbreviated
moz-txt-link-freetext"
href="mailto:oxygen-user@oxygenxml.com"
moz-do-not-send="true">
oxygen-user@oxygenxml.com</a> <a
class="x_moz-txt-link-rfc2396E"
href="mailto:oxygen-user@oxygenxml.com"
moz-do-not-send="true">
<oxygen-user@oxygenxml.com></a><br>
<b>Subject:</b> Re: [oXygen-user] Validation problem</font>
<div> </div>
</div>
<div>
<p>Hi Lou,</p>
<p><br>
</p>
<p>Strange.</p>
<p><br>
</p>
<p>Let's say I have a stock TEI document "abc.xml" like this
one below which has a similar reference to the TEI schemas
(both as RNG and SCH):</p>
<p><br>
</p>
<blockquote type="cite"><?xml version="1.0"
encoding="UTF-8"?><br>
<?xml-model href=<a class="x_x_moz-txt-link-rfc2396E"
href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng"
moz-do-not-send="true">"http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng"</a>
<br>
type="application/xml" schematypens=<a
class="x_x_moz-txt-link-rfc2396E"
href="http://relaxng.org/ns/structure/1.0"
moz-do-not-send="true">"http://relaxng.org/ns/structure/1.0"</a>?><br>
<?xml-model href=<a class="x_x_moz-txt-link-rfc2396E"
href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng"
moz-do-not-send="true">"http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng"</a>
type="application/xml"<br>
schematypens=<a class="x_x_moz-txt-link-rfc2396E"
href="http://purl.oclc.org/dsdl/schematron"
moz-do-not-send="true">"http://purl.oclc.org/dsdl/schematron"</a>?><br>
<TEI xmlns=<a class="x_x_moz-txt-link-rfc2396E"
href="http://www.tei-c.org/ns/1.0"
moz-do-not-send="true">"http://www.tei-c.org/ns/1.0"</a>><br>
<teiHeader><br>
<br>
</teiHeader><br>
<text><br>
<body><br>
<p>Some text here.</p><br>
</body><br>
</text><br>
</TEI><br>
</blockquote>
<p>I go to the Oxygen main menu "Window->Show view" and
show the "Information" view.</p>
<p>Then validate the XML document, in the Information view I
get some information like this:</p>
<p><br>
</p>
<blockquote type="cite">[ 15:42:54] - start scanning <a
class="x_x_moz-txt-link-freetext"
href="file:/.../abc.xml" moz-do-not-send="true">
file:/.../abc.xml</a> with schema: <a
class="x_x_moz-txt-link-freetext"
href="file:/../frameworks/tei/xml/tei/custom/schema/relaxng/tei_all.rng"
moz-do-not-send="true">
file:/../frameworks/tei/xml/tei/custom/schema/relaxng/tei_all.rng</a><br>
[ 15:42:54] - Found 1 problem<br>
[ 15:42:54] - Schematron Error Scanner - start scanning <a
class="x_x_moz-txt-link-freetext"
href="file:/../abc.xml" moz-do-not-send="true">
file:/../abc.xml</a> with schema: <a
class="x_x_moz-txt-link-freetext"
href="file:/../tei/xml/tei/custom/schema/relaxng/tei_all.rng"
moz-do-not-send="true">
file:/../tei/xml/tei/custom/schema/relaxng/tei_all.rng</a><br>
[ 15:42:54] - No problems found<br>
</blockquote>
<p>Do you get similar messages in the Oxygen Information
view? <br>
</p>
<p><br>
</p>
<p>Regards,</p>
<p>Radu</p>
<pre class="x_x_moz-signature" cols="72">Radu Coravu
Oxygen XML Editor</pre>
<div class="x_x_moz-cite-prefix">On 2/27/23 15:34, Lou
Burnard wrote:<br>
</div>
<blockquote type="cite">
<style type="text/css" style="display:none">p
{margin-top:0;
margin-bottom:0}</style>
<div class="x_x_elementToProof"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0);
background-color:rgb(255,255,255)">
I have a RELAXNG schema which contains embedded
schematron rules and a document which begins with two
xml-model PIs like this:</div>
<div class="x_x_elementToProof"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0);
background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_x_elementToProof x_x_ContentPasted0"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0);
background-color:rgb(255,255,255)">
<?xml-model href="out/odd4crit.rng
type="application/xml"
<div class="x_x_ContentPasted0">
schematypens=<a class="x_x_moz-txt-link-rfc2396E"
href="http://relaxng.org/ns/structure/1.0"
moz-do-not-send="true">"http://relaxng.org/ns/structure/1.0"</a>?></div>
<div class="x_x_ContentPasted0"><?xml-model
href="out/odd4crit.rng" type="application/xml"
</div>
<div class="x_x_ContentPasted0">
schematypens=<a class="x_x_moz-txt-link-rfc2396E"
href="http://purl.oclc.org/dsdl/schematron"
moz-do-not-send="true">"http://purl.oclc.org/dsdl/schematron"</a>?></div>
<div class="x_x_ContentPasted0"><br>
</div>
<div class="x_x_ContentPasted0">When I validate this
document using the default CTRL-SHIFT-V option, or
using a predefined validation scenario, only
Schematron validation errors are reported. When I
validate by selecting "Validate with" and specifying
the schema URL again, errors reported by jing also
appear. <br>
</div>
<div class="x_x_ContentPasted0"><br>
</div>
<div class="x_x_ContentPasted0">Is this the intended
behaviour? Why?</div>
<div class="x_x_ContentPasted0"><br>
</div>
<div class="x_x_ContentPasted0 x_x_ContentPasted1">I am
using <oXygen/> XML Editor 24.1, build
2022030807 on Ubuntu 20.04</div>
<div class="x_x_ContentPasted0 x_x_ContentPasted1"><br>
</div>
<br>
</div>
<br>
<fieldset class="x_x_moz-mime-attachment-header"></fieldset>
<pre class="x_x_moz-quote-pre">_______________________________________________
oXygen-user mailing list
<a class="x_x_moz-txt-link-abbreviated x_moz-txt-link-freetext moz-txt-link-freetext" href="mailto:oXygen-user@oxygenxml.com" moz-do-not-send="true">oXygen-user@oxygenxml.com</a>
<a class="x_x_moz-txt-link-freetext x_moz-txt-link-freetext moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user" moz-do-not-send="true">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
</div>
<br>
<fieldset class="x_moz-mime-attachment-header"></fieldset>
<pre class="x_moz-quote-pre">_______________________________________________
oXygen-user mailing list
<a class="x_moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:oXygen-user@oxygenxml.com" moz-do-not-send="true">oXygen-user@oxygenxml.com</a>
<a class="x_moz-txt-link-freetext moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user" moz-do-not-send="true">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>