Wednesday, January 22, 2014

XML Validation: The Need for Speed

When it comes to XML validation, more is better. By more, of course, I mean more speed, and more data. The faster you can get a list of validation errors - along with the information to help fix them - the better. Over the past few releases, we’ve made this an important priority in XMLSpy, first in Version 2013 with the introduction of Smart Fix XML validation, which actually provides a fix for a validation error that you can apply automatically.

In the latest release, we’ve improved on Smart Fix even further by enabling it in the graphical XML Schema editor, in addition to Text View and Grid View.

 

Smart Fix XML validator

 

Simply review the list of fixes automatically generated by XMLSpy, choose the one required, and click Fix.

You’ll also experience faster-than-ever XML validation speeds in XMLSpy 2014 thanks to integration of the super-fast RaptorXML engine, which also adds validation support for XML Schema 1.1, XSLT 3.0, and XQuery 3.0 (and earlier versions) with the strictest conformance to the corresponding standards.

Last but not least is the ability to display multiple validation errors at once, which has been requested by many customers.

 

Reporting multiple XML validation errors

 

You can now choose any number of errors to be reported during validation. As always, detailed information is returned for each validation error, allowing you to immediately visualize multiple issues and correct them in any order. The multiple tabs of the validation window let you store the list of errors as you re-validate, which can also be useful when fixing multiple issues.

 

If you haven’t upgraded to the latest version of XMLSpy, now’s the time. New customers can try all these features for free for 30-days.

By the way, if you’re running an older version of XMLSpy and want to see what’s been added since you last upgraded, the New Features Index is a great page see it all at a glance.

Tuesday, January 14, 2014

What’s New in XML Schema 1.1?

Since the introduction of XML Schema 1.0, the standard has been widely adopted. Developers have requested several changes over the years, most notably the ability to specify and validate more granular business rules and also to allow flexible schema evolution. There are numerous changes and enhancements in the XML Schema 1.1 Recommendation aimed at addressing these issues.


There’s a comprehensive explanation of the new and enhanced features in XML Schema 1.1 in our free, online XML Schema training course, which you can access at any time and complete at your own pace. If you’re an experienced schema developer and simply want to learn about what’s new and enhanced in XSD 1.1, skip ahead to Chapter 9. This course is a great way to learn about XML Schema 1.1 and quickly adapt your schemas to take advantage of the new features.

clip_image002

In this post, I’ll explain several of the highlights and show you how you can implement the new features using XMLSpy. Complete support for XML Schema 1.1 is provided in XMLSpy 2014, including validation of XSD and XML instance files based on XML Schema 1.1, as well as intelligent XSD 1.1 editing tools in the graphical XML Schema 1.1 editor.