From 9402e478ac1c4f1c8ae441a9e13e7e4cd3a0f46d Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Fri, 6 Feb 2015 19:21:50 +0100 Subject: added a todo for andreas. xml tags may contain : --- src/core/parser/ParserStack.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/core/parser/ParserStack.cpp') diff --git a/src/core/parser/ParserStack.cpp b/src/core/parser/ParserStack.cpp index 0ab7a8e..1265851 100644 --- a/src/core/parser/ParserStack.cpp +++ b/src/core/parser/ParserStack.cpp @@ -153,10 +153,11 @@ void ParserStack::start(const std::string &name, Variant::mapType &args, const SourceLocation &location) { ParserState const *targetState = findTargetState(name); - if (!Utils::isIdentifier(name)) { - throw LoggableException(std::string("Invalid identifier \"") + name + - std::string("\"")); - } +// TODO: Andreas, please improve this. +// if (!Utils::isIdentifier(name)) { +// throw LoggableException(std::string("Invalid identifier \"") + name + +// std::string("\"")); +// } if (targetState == nullptr) { targetState = findTargetState("*"); -- cgit v1.2.3