Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

XML File validation using XSD in XMLTask SSIS

$
0
0

Hi,

    I am having an XML FIle that i need to validate against the XSD Schema (Schema.XSD)  in SSIS. I am using the XMLTask.  I am not able to validate the XML Schema. I am getting Type not declared error.

This same XML file is getting validated against the XSD Schema (Schema.XSD)  in BizTalk Server.

Schema.XSD contains  Imports statement which Imports HeaderSchema.XSD as well as DetailSchema.XSD.

The error that i get is  "Type 'http://schemas......................./1.0:Header' is not declared.

in the HeaderSchema.XSD   xmlns = "http://schemas......................./1.0"  with 'Header' as the RootNode.

Can u please let me know how to validate this type of schema.

"Type 'http://schemas.metlife.com/Investments/DataTypes/MetInvEnvelope/1.0:MetInvHeader' is not declared


-Prasad


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>