[libxml2] xmllint: Stop calling xmlSAXDefaultVersion
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] xmllint: Stop calling xmlSAXDefaultVersion
- Date: Wed, 24 Aug 2022 12:41:37 +0000 (UTC)
commit ce93ee90518811db96d5b24c543fda6c948f0288
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Wed Aug 24 05:24:13 2022 +0200
xmllint: Stop calling xmlSAXDefaultVersion
This should already be handled by setting XML_PARSE_SAX1.
xmllint.c | 7 -------
1 file changed, 7 deletions(-)
---
diff --git a/xmllint.c b/xmllint.c
index 0da4a9d8..fb3f3fbd 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -3478,13 +3478,6 @@ main(int argc, char **argv) {
}
#endif
-#ifdef LIBXML_SAX1_ENABLED
- if (sax1)
- xmlSAXDefaultVersion(1);
- else
- xmlSAXDefaultVersion(2);
-#endif /* LIBXML_SAX1_ENABLED */
-
if (chkregister) {
xmlRegisterNodeDefault(registerNode);
xmlDeregisterNodeDefault(deregisterNode);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]