increase allowed nesting level to what the client allows (1000)

This commit is contained in:
Gunter Labes 2009-02-01 12:41:47 +00:00
parent 6e07c7deac
commit 1a69da5b57

View file

@ -127,7 +127,7 @@ node::node(document& doc, node* parent)
node::node(document& doc, node* parent, const char** str, int depth)
: doc_(&doc), parent_(parent)
{
if(depth >= 30) {
if(depth >= 1000) {
throw error("elements nested too deep");
}