PRB: MSXML SAX Validation with "exhaustive-errors" Feature Reports Only One Error for Each XML Tag (315497)
The information in this article applies to:
This article was previously published under Q315497 SYMPTOMS
When you use the Microsoft XML (MSXML) 4.0 Simple API for XML (SAX) parser to validate an Extensible Markup Language (XML) document against an XML Schema Definition (XSD) schema, the SAX parser reports only one error for each element. This occurs even when you set the SAXXMLReader coclass "exhaustive-errors" feature to True. For example, when an element in an XML document contains more than one invalid attribute or attribute value, the MSXML 4.0 SAX parser only reports one error.
RESOLUTION
To resolve this problem, you can remove or correct the first error the MSXML 4.0 SAX Parser reports for an XML element, and then rerun the validation to identify any additional errors.
STATUSThis behavior is by design.
Modification Type: | Major | Last Reviewed: | 3/4/2002 |
---|
Keywords: | kbprb KB315497 |
---|
|