Andy Black wrote: > Hussein Shafie wrote: > ... > > * XMLmind XML Editor now supports Schematron, > an ISO standard, which we view as a simple > mean to add business rules to your XML > documents. Example: the authors in your > organization must write articles conforming to > the DocBook grammar. Fine, but how to enforce > this business rule: first section must have a > "Introduction" title and last section must > have a "Conclusion" title? The simple and > elegant answer is called Schematron. > Restricted in Standard Edition. > ... > > It is great to hear that XXE now supports Schematron. > > I looked to try and determine what the restrictions are for the Standard > Edition, but was not able to find anything about it. Could you kindly > tell us, please, what the restrictions are? >
* Please read http://www.xmlmind.com/xmleditor/stdedition.html --- Validation against a Schematron will not work in Standard Edition, unless the root element of the document being edited has a namespace and this namespace is: * http://www.w3.org/2001/XMLSchema, * or http://relaxng.org/ns/structure/1.0, * or http://purl.oclc.org/dsdl/schematron, * or http://www.w3.org/1999/xhtml, * or http://docbook.org/ns/docbook, * or starts with "http://www.xmlmind.com/xmleditor/schema/". In practice, this means that Standard Edition can be used to edit DocBook 5 (based on RELAX NG, and therefore, namespace enabled) documents without any restriction. This includes the Schematron which comes with DocBook 5. --- --- PS: A Schematron is declared in an XXE configuration file by using the cfg:schematron configuration element (see http://www.xmlmind.com/xmleditor/_distrib/doc/configure/schematron.html). The restrictions of Standard Edition regarding Schematron are listed here too.

