By David Fekke
January 17th, 2011
I have been doing a lot of work with XML validation lately. I have the Visual Studio tool that comes with SQL Server 2005, and it actually has very nice tools for creating xml schemas.
A lot of applications that except applications require that the xml be validated against and xml schema file, or an xsd. ColdFusion MX actually has parameter now in xml parse that will validate your xml.
The function is called validateXMLFile. It will validate xsd and dtd files as well.