I am trying to validate some xml with a schema i have. it works great when the xml is valid, however as soon as the xml is malformed in one way or another it kills my app.
basically i want to handle the failed validation and keep the app running, not have it die.
ive been looking at the api for libxml and have found the function xmlSchemaSetParserErrors and other similar ones, but im unsure if this is the way to go about it.
does anyone have any experience/ideas?
basically i want to handle the failed validation and keep the app running, not have it die.
ive been looking at the api for libxml and have found the function xmlSchemaSetParserErrors and other similar ones, but im unsure if this is the way to go about it.
does anyone have any experience/ideas?