XML Validator
Sometimes all you need to do is confirm that a given XML file matches the schema definition. I've certainly fallen into that use case before. But the problem was that I could never find a tool that just validates files against a given .XSD file. I don't know why, but they don't seem to exist. So I wrote my own.
This is a simple, self-contained little command-line utility that takes a schema and a list of XML files and attempts to validate each file against the schema. If there is any sort of problem with a particular file, it prints an error message (such as a system error or XML validation warning) and proceeds to the next one. Supports wildcard expansion on the command line, e.g., *.xml to validate all XML files in a directory. Can be scripted easily -- returns 0 if all files validated successfully, 1 otherwise.
Usage:
XmlValidator.exe <schema> <file1> [<file2> ...]
Version: 1.0
Language: C# (requires .NET 4.0)
Operating system: Windows, Linux/OS X using Mono 2.8
Source code: GitHub
Download: XML Validator (8 KB)