
Hi Jirka, The list should allow attachments. Anyway, there is a sample file in [oxygen]/samples/schematron/tournament called Tournament.xml. If you add the following associations in that file: <?oxygen SCHSchema="tournament.rng"?> <?oxygen RNGSchema="tournament.rng" type="xml"?> and then perform the validate action then oXygen validates against both Relax NG and Schematron embedded rules. I will add a feature request with the support for schemas with embedded Schematron rules in the default association. Best Regards, George --------------------------------------------------------------------- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Jirka Kosek wrote:
George Cristian Bina wrote:
Yes, it does. We support
* Schematron 1.5 * Schematron 1.5 embedded in Relax NG * Schematron 1.5 embedded in XML Schema
and since version 6.2 you can configure if you want XPath 2.0 or XPath 1.0 for Schematron.
Cool.
There is also an article about Schematron: http://www.oxygenxml.com/doc/HowToSchematron.pdf
Thanks. Unfortunatelly process described in the document didn't work for me. I get no error messages from Schematron rules, although same document and schema produced error messages in other validators like MSV + Schematron plugin. If you are interested I can send you sample document and schema, but I don't know whether policy of this list allows attachements.
My second comment is rather RFE. I would like if oXygen would be able to use Schematron rules that are placed inside schemas associated with default schema association. E.g. if I associate DocBook 5.0 RELAX NG schema with DocBook namespace I would like code completition to use RELAX NG schema solely (this works already nicely) and when I hit "Validate" button then I would like RELAX NG and Schematron validation done once.