<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <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>
    <p>
      <blockquote type="cite"><?xml version="1.0"
        encoding="UTF-8"?><br>
        <?xml-model
href=<a class="moz-txt-link-rfc2396E" href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng">"http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng"</a>
        <br>
           type="application/xml"
        schematypens=<a class="moz-txt-link-rfc2396E" href="http://relaxng.org/ns/structure/1.0">"http://relaxng.org/ns/structure/1.0"</a>?><br>
        <?xml-model
href=<a class="moz-txt-link-rfc2396E" href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng">"http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng"</a>
        type="application/xml"<br>
            schematypens=<a class="moz-txt-link-rfc2396E" href="http://purl.oclc.org/dsdl/schematron">"http://purl.oclc.org/dsdl/schematron"</a>?><br>
        <TEI xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.tei-c.org/ns/1.0">"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>
    <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>
    <p>
      <blockquote type="cite">[ 15:42:54] - start scanning
        <a class="moz-txt-link-freetext" href="file:/.../abc.xml">file:/.../abc.xml</a> with schema:
        <a class="moz-txt-link-freetext" href="file:/../frameworks/tei/xml/tei/custom/schema/relaxng/tei_all.rng">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="moz-txt-link-freetext" href="file:/../abc.xml">file:/../abc.xml</a> with schema:
        <a class="moz-txt-link-freetext" href="file:/../tei/xml/tei/custom/schema/relaxng/tei_all.rng">file:/../tei/xml/tei/custom/schema/relaxng/tei_all.rng</a><br>
        [ 15:42:54] - No problems found<br>
      </blockquote>
    </p>
    <p>Do you get similar messages in the Oxygen Information view? <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>
    <div class="moz-cite-prefix">On 2/27/23 15:34, Lou Burnard wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CWXP265MB4107A9EC88C14F627BAD218A82AF9@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">
        I have a RELAXNG schema which contains embedded schematron rules
        and a document which begins with two xml-model PIs like this:</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">
        <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">
        <?xml-model href="out/odd4crit.rng type="application/xml"
        <div class="ContentPasted0">           
          schematypens=<a class="moz-txt-link-rfc2396E" href="http://relaxng.org/ns/structure/1.0">"http://relaxng.org/ns/structure/1.0"</a>?></div>
        <div class="ContentPasted0"><?xml-model
          href="out/odd4crit.rng" type="application/xml"
        </div>
        <div class="ContentPasted0">           
          schematypens=<a class="moz-txt-link-rfc2396E" href="http://purl.oclc.org/dsdl/schematron">"http://purl.oclc.org/dsdl/schematron"</a>?></div>
        <div class="ContentPasted0"><br>
        </div>
        <div class="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="ContentPasted0"><br>
        </div>
        <div class="ContentPasted0">Is this the intended behaviour? Why?</div>
        <div class="ContentPasted0"><br>
        </div>
        <div class="ContentPasted0 ContentPasted1">I am using
          <oXygen/> XML Editor 24.1, build 2022030807 on Ubuntu
          20.04</div>
        <div class="ContentPasted0 ContentPasted1"><br>
        </div>
        <br>
      </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>