A Schematron validator is a powerful tool to run business rules for your XML data and to check conditions that are not supported using W3C schema. Schematron uses a lot of XPath and the validator is based on XSLT to apply all rules to the XML instance. But often it is not easy to debug a Schematron check if it does not work… Read more »
Sometimes people get a Java loading error on using the Schematron validator in XML ValidatorBuddy for the very first time. In addition the editor shows a warning in the Results window if Java can’t be loaded on starting the application. Usually it has one of three reasons if the Java runtime can’t be loaded: There is no Java runtime installed. In this… Read more »
Based on customer feedback I want to post some solutions for two very common Schematron checks. The first rule is an assertion to report if all values of an attribute are unique for all elements (within the same parent). Simply open XML ValidatorBuddy, create a new Schematron schema and add the following rule in the editor: <iso:pattern id=”unique name attributes”>… Read more »
Schematron is a powerful and useful technology to complement the standard W3C Schema and DTD validator in XML ValidatorBuddy. However, it is often complicated to configure an XML editor to apply a Schematron schema to any number of files in an easy to use and simple way. In this post I want to illustrate how easy it can be to apply a Schematron… Read more »