Validating xml schema net

Validates the XML string/file against the specified XSD string/file.XSD files are "XML Schemas" that describe the structure of a XML document.Warning: Could not find schema information for the element 'Name'.Warning: Could not find schema information for the element 'Address'.No matter what I do, this validation routine returns warnings against both a proper and improper Xml structure. Validation Event Args e) Here's my XSD: target Namespace=" Schema.xsd" element Form Default="qualified" xmlns=" Schema.xsd" xmlns:mstns=" Schema.xsd" xmlns:xs=" I get: Warning: Could not find schema information for the element 'Root'.

The validator will report fatal errors, non-fatal errors and warnings.

Register the method Validation Error with the settings object's Validation Event Handler.

The Validation Error method is called if the document being read is found to be invalid or an error occurs (for example, the document cannot be found).

Warning: Could not find schema information for the element 'City'.

Warning: Could not find schema information for the element 'Country'.

Leave a Reply