Kosaraju Karuna-C9013Z wrote:
Hi,
We have a requirement to verify XML file validation error and
well-formedness error using DOM Apis.
We have used SAX api setFeature to acheive the same. So wanted to know
whether DOMDocument::setStrictErrorChecking
<http://xml.apache.org/xerces-c/apiDocs/classDOMDocument.html#z61_11>
(bool strictErrorChecking)=0 also does the same?
If not, can you let me know the correct API.
There is no way with Xerces-C to validate a DOM instance without
serializing and parsing it.
Dave