1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

valid: Implement xmlCtxtValidateDocument

This allows to use the error handler or resource loader of a parser
context.
This commit is contained in:
Nick Wellnhofer
2024-11-17 13:50:15 +01:00
parent 1e1731a43d
commit 5a51f08517
2 changed files with 94 additions and 28 deletions

View File

@@ -1188,6 +1188,9 @@ XMLPUBFUN xmlDtdPtr
xmlParserInputPtr input,
const xmlChar *ExternalID,
const xmlChar *SystemID);
XMLPUBFUN int
xmlCtxtValidateDocument (xmlParserCtxtPtr ctxt,
xmlDocPtr doc);
XMLPUBFUN int
xmlCtxtValidateDtd (xmlParserCtxtPtr ctxt,
xmlDocPtr doc,