From: d Date: Tue, 21 Sep 2010 19:04:37 +0000 (-0300) Subject: add XML_PARSE_HUGE to handle documents with more than 256 levels of nesting X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0f2a6f2bf9c2c84eb7c45d06d27bb4d531095efe;p=inkscape.git add XML_PARSE_HUGE to handle documents with more than 256 levels of nesting --- diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp index fa5e9b6ed..5b26d438f 100644 --- a/src/xml/repr-io.cpp +++ b/src/xml/repr-io.cpp @@ -294,7 +294,7 @@ sp_repr_read_file (const gchar * filename, const gchar *default_ns) &src, localFilename, src.getEncoding(), - XML_PARSE_NOENT ); + XML_PARSE_NOENT | XML_PARSE_HUGE); } }