Schematron and Oxygen 26
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 3
- Joined: Thu Jul 19, 2018 3:22 pm
Schematron and Oxygen 26
Dear Oxygen community,
I am writing a small ODD containing some very simple Schematron. The file starts as follows:
and some of the rules are as follows:
I had added this and other code last year, and it worked fine; then I left the ODD aside for a few months. Now, after resuming the work, it does not work anymore, and the same for some Schematron I added more recently, about one months ago. I really do not know what happened: the only thing I could think about is that in the meantime I started using Oxygen 26. Oxygen does not seem to see the schematron at all when I try to valide my XML files against the compiled rng schema.
Any ideas?
Thank you in advance for your help and sorry for a certainly trivial question.
Best,
Alex.
I am writing a small ODD containing some very simple Schematron. The file starts as follows:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/odd/p5odds.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/odd/p5odds.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:lang="en" xmlns:tei="http://www.tei-c.org/ns/1.0"
xmlns:sch="http://purl.oclc.org/dsdl/schematron">
Code: Select all
<sch:rule context="tei:provenance[@type='found'][@subtype]">
<sch:assert
test="@subtype = ('discovered','rediscovered','first-seen','first-recorded')"
>With provenance/@type='found', @subtype's values are
'discovered','rediscovered','first-seen','first-recorded'.</sch:assert>
</sch:rule>
Any ideas?
Thank you in advance for your help and sorry for a certainly trivial question.
Best,
Alex.
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Schematron and Oxygen 26
Hi Alex,
Does Oxygen report any particular error when you open the XML document and use the "Validate" toolbar button?
In the Oxygen main menu Help->About dialog there is a "Build ID" field. Can you tell me what value it has on your side?
Our latest minor bug fix release of Oxygen 26.0 (Build ID: 2024012406) has this problem solved for example:
https://www.oxygenxml.com/build_history ... 2024012406
Regards,
Radu
Does Oxygen report any particular error when you open the XML document and use the "Validate" toolbar button?
In the Oxygen main menu Help->About dialog there is a "Build ID" field. Can you tell me what value it has on your side?
Our latest minor bug fix release of Oxygen 26.0 (Build ID: 2024012406) has this problem solved for example:
https://www.oxygenxml.com/build_history ... 2024012406
To update to the latest Oxygen build you can uninstall Oxygen, then re-download it from our web site and re-install. Oxygen's settings are kept in your user home so they will not get lost.Saxon: Fixed an internal Saxon error that happened in particular situations when validating against RelaxNG schemas that contain Schematron rules.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 3
- Joined: Thu Jul 19, 2018 3:22 pm
Re: Schematron and Oxygen 26
Dear Radu,
thank you for your reply.
I don't receive any error message when validating.
The build id is the 2024012406. Actually, I read a recent post on this forum (I think it is the one you are talking about) and yesterday, before sending my request here, I re-installed Oxygen, but the behavior was the same.
It is really as if Oxygen did not detect the Schematron parts of my schema.
Regards,
Alex.
thank you for your reply.
I don't receive any error message when validating.
The build id is the 2024012406. Actually, I read a recent post on this forum (I think it is the one you are talking about) and yesterday, before sending my request here, I re-installed Oxygen, but the behavior was the same.
It is really as if Oxygen did not detect the Schematron parts of my schema.
Regards,
Alex.
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Schematron and Oxygen 26
Hi Alex,
Not sure what the problem is.
In the Oxygen main menu Window->"Show view" you can show the "Information" view. When you validate an XML document this side view shows you what kind of validation it applies on the XML document.
I'm afraid I will need a small TEI xml sample + the modified RNG file in order to investigate further on my side. Maybe you can send us an email (support@oxygenxml.com) with the samples and precise steps to reproduce the problem.
Regards,
Radu
Not sure what the problem is.
In the Oxygen main menu Window->"Show view" you can show the "Information" view. When you validate an XML document this side view shows you what kind of validation it applies on the XML document.
I'm afraid I will need a small TEI xml sample + the modified RNG file in order to investigate further on my side. Maybe you can send us an email (support@oxygenxml.com) with the samples and precise steps to reproduce the problem.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service