Code

add XML_PARSE_HUGE to handle documents with more than 256 levels of nesting
authord <d@d-desktop>
Tue, 21 Sep 2010 19:04:37 +0000 (16:04 -0300)
committerd <d@d-desktop>
Tue, 21 Sep 2010 19:04:37 +0000 (16:04 -0300)
src/xml/repr-io.cpp

index fa5e9b6ed3bc8f78aac7061eede1511d61ce3af8..5b26d438ffbb6ffd2e30c12f9075993d15b974b1 100644 (file)
@@ -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);
         }
     }