[oXygen-user] Validation problem
Oxygen XML Editor Support (Radu Coravu)
support at oxygenxml.com
Mon Feb 27 07:46:21 CST 2023
Hi Lou,
Strange.
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):
> <?xml version="1.0" encoding="UTF-8"?>
> <?xml-model
> href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng"
>
> type="application/xml"
> schematypens="http://relaxng.org/ns/structure/1.0"?>
> <?xml-model
> href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng"
> type="application/xml"
> schematypens="http://purl.oclc.org/dsdl/schematron"?>
> <TEI xmlns="http://www.tei-c.org/ns/1.0">
> <teiHeader>
>
> </teiHeader>
> <text>
> <body>
> <p>Some text here.</p>
> </body>
> </text>
> </TEI>
I go to the Oxygen main menu "Window->Show view" and show the
"Information" view.
Then validate the XML document, in the Information view I get some
information like this:
> [ 15:42:54] - start scanning file:/.../abc.xml with schema:
> file:/../frameworks/tei/xml/tei/custom/schema/relaxng/tei_all.rng
> [ 15:42:54] - Found 1 problem
> [ 15:42:54] - Schematron Error Scanner - start scanning
> file:/../abc.xml with schema:
> file:/../tei/xml/tei/custom/schema/relaxng/tei_all.rng
> [ 15:42:54] - No problems found
Do you get similar messages in the Oxygen Information view?
Regards,
Radu
Radu Coravu
Oxygen XML Editor
On 2/27/23 15:34, Lou Burnard wrote:
> I have a RELAXNG schema which contains embedded schematron rules and a
> document which begins with two xml-model PIs like this:
>
> <?xml-model href="out/odd4crit.rng type="application/xml"
> schematypens="http://relaxng.org/ns/structure/1.0"?>
> <?xml-model href="out/odd4crit.rng" type="application/xml"
> schematypens="http://purl.oclc.org/dsdl/schematron"?>
>
> 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.
>
> Is this the intended behaviour? Why?
>
> I am using <oXygen/> XML Editor 24.1, build 2022030807 on Ubuntu 20.04
>
>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20230227/a71d965d/attachment.htm>
More information about the oXygen-user
mailing list