Click here to Skip to main content
15,867,834 members
Articles / Database Development / SQL Server

XSD 1.1 Support in Liquid XML 2014

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
25 Aug 2015CPOL2 min read 7.6K  
XSD 1.1 support in Liquid XML 2014

Originally posted on: http://kariem.net/archive/2014/03/05/xsd-1.1-support-in-liquid-xml-2014.aspx

I've just got round to looking at Liquid XML 2014. I have been tasked with investigating W3C XML Schema 1.1 standard (XSD 1.1) and as if by magic, Liquid Technologies have provided 1.1 support in their excellent XML Schema Editor. Here is what they say...

XML Schema 1.1 Support

XSD 1.1 Alternative

The Liquid XML Schema model now supports the XSD 1.1 standard. This adds many useful constructs including asserts, openContent and alternatives. These constructs can be modeled and edited graphically, and XML 1.1 compliant instance documents can then be validated against XSD 1.1 schemas.

Choice of XSD Engines

The XML and XSD validation processor has been completely re-written for 2014. It now supports a plugin architecture making it possible to select the validation engine to be used for XML schema and XML document validation. These validation engines also operate asynchronously providing background validation as you type. The 2014 edition supports the .Net 4.0 XSD Engine, and the Xerces XSD Engine.

--------

So they are now providing an option to use the Xerces engine for XSD 1.1 support. You can still choose the .NET engine for XSD 1.0 support, the .NET engine appears a little more strict, but as I discussed out in a previous post, it is unlikely Microsoft will support XSD 1.1 in .NET any time soon.

However, the major improvements are the new XSD 1.1 features within the graphical Design view where you can now graphically add XSD 1.1 specific options. I have only really scratch the surface so far, but the improved interface makes things a lot easier, which I guess is the point.

I also like the new inline XSD properties and annotations, this really simplifies things as you can see everything without having to look at the properties or documentation windows and is especially useful when you print your schema out.

One other thing I really like in the 2014 version is the improved support of type restrictions. You can now graphically see which items have been restricted in a derived type. This is really useful when you are looking at a complex schema and cannot figure out why you can’t add a particular item into your XML document without an error.

In summary, I really like Liquid XML 2014. The new features are very useful rather than just a gimmick as in other software upgrades I have seen recently.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United Kingdom United Kingdom
Software developer and geek with 20 years coding experience mainly C++, C#, XML.
Please visit my developer blog: http://geekswithblogs.net/bconlon/Default.aspx

Comments and Discussions

 
-- There are no messages in this forum --