XmlValidationStep with multiple namespaces

Apr 17, 2012 at 3:52 PM

I want to read an xml file with 4 namespaces (ns0:http://..., ns1:http://..., ns2:http://..., ns3:http://...) with XmlValidationStep.

I have an error because one of the namespace is not known. The project which contains the schema is in the reference.

This is the error message :

BizUnit encountered an error executing a validation step --->  System.Xml.Schema.XmlSchemaException: Le type 'http://...' n'est pas déclaré.

Is it possible to use xml schema with multiple namespaces in XmlValidationStep?


Apr 18, 2012 at 10:14 AM

It works if <XmlSchemaPath> and <XmlSchemaNameSpace> are not present.