From 39b93d36906aa9c5da6f618075b8e2e512d51995 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 20 Apr 2015 12:11:25 -0400 Subject: [PATCH] Allow XML documents without an XML declaration node --- src/base/application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/application.cpp b/src/base/application.cpp index 937dce119..2d7688e90 100644 --- a/src/base/application.cpp +++ b/src/base/application.cpp @@ -286,7 +286,7 @@ XML_Node* Application::get_XML_from_string(const std::string& text) } std::stringstream s; size_t start = text.find_first_not_of(" \t\r\n"); - if (text.substr(start,5) == "