For almost all of your XML you need to assign an XSD in the editor if you also want to run the XML validator. Starting a new XML and assigning a W3C schema to it can be cumbersome if you have to type all of the information and XML text manually. You need to enter the path to the XSD and all… Read more »
Having the results of the XML validator batch log output in XML format is nice but if you want to show the results to someone else you might prefer to use HTML. You can also publish the HTML documents automatically on your server and anyone who has access to the HTML can check the validation status of all XML data. XML… Read more »
I played around with the freeware AutoIt to create some scripts for XML Validator Buddy to automate certain validator tasks. As a first idea I wanted to call the XML validator for all files with *.xml as extension clicking a single button. The following steps are required: I had to fill the find field with “*.xml”. Send ENTER to the… 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 »
Here are some figures to show how fast you can open and inspect huge XML data in XML Validator Buddy. We are using the massachusetts.osm (OpenStreetMap data) XML document which has a size of 2.5 GB and about 39 million lines of text. In XML ValidatorBuddy you can open it in the Large File Viewer window in 34s. You can do a complete… Read more »
In contrast to many other tools XML Validator Buddy supports validation of XML files against W3C schema definitions without an explicit reference in the instance document. This is done using an XML catalog and an association based on the usage of namespaces in the instance document and the definition of a target namespace in the schema. XML Validator Buddy provides… Read more »
Get a detailed error report on XML validation Until today the free XML Validator Buddy shell tool, which uses the Xerces parser internally, only reported if the XML instance is valid or not. This has changed with the latest release 3.2.2 of the XML command line tool. Now it is also possible to get a detailed error report with the… Read more »
This post explains how to run the XML validator to use a specific schema in XML ValidatorBuddy to check XML. If you use the “Validate against a specific Schema…” functionality of XML ValidatorBuddy the editor looks for a schemaLocation or noNamespaceSchemaLocation attribute in the XML instance file. The validator also checks the selected schema if any targetNamespace is defined. If a schemaLocation or noNamespaceSchemaLocation… Read more »