Collada file validation with XSD schema


I want to validate a Collada file using MSXML components.
I’m having problems when adding Collada schema :

function ValidateCollada(i)
	//Load XML Schema Documents
	var ColladaXSDDoc = new ActiveXObject("Msxml2.DOMDocument.4.0");
	ColladaXSDDoc.async = false;
	var cache = new ActiveXObject("Msxml2.XMLSchemaCache.4.0");
	var ColladaDoc = new ActiveXObject("Msxml2.DOMDocument.4.0");
	xmlDoc.async = false;
	xmlDoc.schemas = cache;

I’m having a COM error when executing :


I think I’m probably not using the right namespace.
An idea ?


I don’t really have any idea on what’s going on. We don’t use the MSXML components here.

I can tell you though that you are using the correct namespace for the 1.3.1 schema that you loaded.


Where did this schema file name come from?

Thats one of the schemas provided in the doc folder in the DOM.
I provide the current 1.4 schema named COLLADASchema.xsd and the 1.3.1 schema name COLLADASchema1.3.1.xsd for reference since the DOM is build for those two versions.