[xmlsec] enable parsing of large text nodes



commit 26eeec7cfbfa1126df8a6fc4ef25ae0b50602ebe
Author: Aleksey Sanin <aleksey aleksey com>
Date:   Tue Sep 6 15:35:41 2011 -0700

    enable parsing of large text nodes

 src/parser.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/parser.c b/src/parser.c
index fdb99c5..71460f3 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -405,6 +405,9 @@ xmlSecParseFile(const char *filename) {
         return(NULL);
     }
 
+    /* enable parsing of XML documents with large text nodes */
+    xmlCtxtUseOptions (ctxt, XML_PARSE_HUGE);
+
     /* todo: set directories from current doc? */
     if ((ctxt->directory == NULL) && (directory == NULL))
         directory = xmlParserGetDirectory(filename);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]