summaryrefslogtreecommitdiffstats
path: root/src/xml/repr-io.cpp
diff options
context:
space:
mode:
authord <d@d-desktop>2010-09-21 19:04:37 +0000
committerd <d@d-desktop>2010-09-21 19:04:37 +0000
commit80c90de818af07677c492a438384b7e6da3a65ad (patch)
tree2b4915e767fbba7cf3cf5afa18baf6fe88445da9 /src/xml/repr-io.cpp
parentGive priority to devlibs bin directory in PATH when (diff)
downloadinkscape-80c90de818af07677c492a438384b7e6da3a65ad.tar.gz
inkscape-80c90de818af07677c492a438384b7e6da3a65ad.zip
add XML_PARSE_HUGE to handle documents with more than 256 levels of nesting
(bzr r9775)
Diffstat (limited to 'src/xml/repr-io.cpp')
-rw-r--r--src/xml/repr-io.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}