You have to make a custom error handler class to deal with errors. http://xerces.apache.org/xerces-c/apiDocs-2/classDOMError.html http://xerces.apache.org/xerces-c/apiDocs-2/classErrorHandler.html - Use this. http://xerces.apache.org/xerces-c/apiDocs-2/classDOMErrorHandler.html - Should be the one to use, but I unfortunately, I have had issues with it.
Take a look at the DOMCount and DOMPrint samples for a guide. ~Joe On 6/10/09 3:24 PM, "Kelly Beard" <kenverybigl...@gmail.com> wrote: Doesn't anyone here do schema validation/parsing with DOM? I am really trying to find *something* helpful on the net but am shooting blanks here. If I modify my authNotify.xml document in anyway that goes against the XSD, the parsing seems to be successful no matter what. ---- Joseph Bane UMaine CS Intern Dr. Matthew Hibbs' Lab The Jackson Laboratory 600 Main Street Bar Harbor, ME 04609 joseph.b...@jax.org