Output for the MXValidator putProperty Example

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - SAX2 Reference

Output

When you build and run the MXValidator putProperty example, the output should appear as follows. This is because the correct and valid name for the element in use at this location in the SAX document created would be <price/>, not <cost/>:

Failure:

Error:
Description: Element 'cost' is unexpected according to content model of parent element 'book'.
Expecting: price.

Error Code: -2147467259