summaryrefslogtreecommitdiff
path: root/src/KM_xml.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/KM_xml.h')
-rw-r--r--src/KM_xml.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/KM_xml.h b/src/KM_xml.h
index 31f5064..6900dd8 100644
--- a/src/KM_xml.h
+++ b/src/KM_xml.h
@@ -41,6 +41,9 @@ namespace Kumu
{
class XMLElement;
+ // Return true if the given string contains an XML document (or the start of one).
+ bool StringIsXML(const char* document, ui32_t len = 0);
+
//
struct NVPair
{
@@ -93,7 +96,6 @@ namespace Kumu
inline void SetNamespace(const XMLNamespace* ns) { assert(ns); m_Namespace = ns; }
bool ParseString(const std::string& document);
- bool TestString(const char* document, ui32_t len = 0);
// building
void SetName(const char* name);