XML Schema Tools
XML Multi Schema Validator
Sun has released a tool that abstracts validation to its core, and builds different validation syntaxes on top. This allows the same engine to work with DTD, XML Schema, and even Relax/NG. Because of this multiple personality, it's called the Sun Multi Schema Validator, or MSV for short. Since each validator implements some slight variation of the standard, it's often useful to check schemas against more than one validator to catch problems that one might miss.
This article tells you how you can integrate the MSV into Stylus Studio as one of the Custom Validation Engines. It will work for files with a DTD, a single XSD, or both a DTD and a single XSD.
Where Can I Get the Sun Multi Schema Validator?
Click here to get to the main page.
The software comes as a pair of .zip files (at the time of this writing, msv.20030225.zip and relames.20030225.zip about 2½ megabytes each). You only need the second for this to work, but the first contains the documentation that you might want to peruse at a later time. In case you are having difficulties downloading them, here are archived copies of msv*.zip and relnames*.zip.
Installing the Multi Schema Validator
Using the Multi Schema Validator
Open any XML file with an attached schema, and click on the (Validate Document) icon to drop down the list, and then select the Multi Schema Validator entry.
You will see the Output window appear, and show something like this:
Congratulations! You've just added yet another capable new tool to your Stylus Studio toolbox.
PURCHASE STYLUS STUDIO ONLINE TODAY!!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Get More Tips on Extending Stylus Studio Delivered to Your Inbox
Subscribe to the Stylus Scoop newsletter and get next month's tricks of the trade delivered to your inbox for free!.
Learn XQuery in 10 Minutes!
Say goodbye to 10-minute abs, and say Hello to "Learn XQuery in Ten Minutes!", the world's fastest and easiest XQuery primer, now available for free!