Here is a summary of the changes in XML ValidatorBuddy 2.6:

Copy validation report in XMLSpy as XML

In the past it was not possible to access the validation report in the XMLSpy plugin for further processing beside scrolling through the error list and selecting the error location. Now the Schematron and Xerces tab are providing a button to copy the validation results as a new XML document in XMLSpy. The XML has the same structure as the log file generated by a batch validation.

Validate instance files with selected Schema

Validation from the Windows File Explorer supports a new command to validate one or multiple XML instance files against a selected schema file. This command overwrites any present xsi:SchemaLocation or xsi:NoNamespaceSchemaLocation. If no schema location attribute is in the XML root element the schema is loaded as NoNamespaceSchemaLocation. This functionality uses the Xerces SAX validator and is therefore also handy on validating huge files without any schema already assigned.

Creation of batch log in UTF-8

The batch log file is now written in UTF-8 encoding. The UTF-16 format without a BOM which was used in the past caused some problems on reading. Several people requested to change this to UTF-8. Of course this is the better choice anyways.

Share/Save/Bookmark

, ,

A long awaited update to Xerces-C has been released a few days ago. It contains bug fixes and also some new features. I don’t know what other people did expect from this update but I was pleased to see that support for XPath seems to be finally available now.

The new DOMXPathEvaluator interface is accessible from every DOMDocument object and allows to evaluate an XPath expression. On browsing through the documentation I only see XPath 1.0 mentioned but I read in an announcement that XPath 2.0 should also be supported. However, I’m sure I will need the XPath functionality in the near future for some XML ValidatorBuddy functionality so I will then have the chance to try it.

Share/Save/Bookmark

, ,