Validate a hint message

Microsoft provides the QueryControl XSD that you use to validate your Hint message before sending it to Microsoft. This saves time and round trips by catching document syntax errors. You should always validate your messages before sending them to Microsoft.

The following example shows using xmllint to validate the message contained in SampleHint.xml.

xmllint.exe --schema hint.xsd SampleHint.xml