Hi All,
 
I am new to the Xercess-C++ xml parser.
I am validating my xml file using a .xsd file (name of this xsd file is 
refeerred in xml file as:
xsi:noNamespaceSchemaLocation="TestAppSchema.xsd" in the root node)
 
I have set the property "setValidationScheme()" to XercesDOMParser::Val_Auto
and other properties like: 
setDoNamespaces(true);
setDoSchema(true); 
setValidationSchemaFullChecking(true);
setCreateEntityReferenceNodes(true);
setExitOnFirstFatalError( true);
to true.
 
I set the ErrorHandler also using the property:
setErrorHandler()
 
If this xsd file is missing, i do not get any error from the parser.
 
Here, I want to know how to validate the presence of XSD file or how to get an 
error from ErrorHandler indicating that XSd file is missing.
 
Thanks in advance.
 
regards,
Madhu Gowda


      

Reply via email to