From e85e174028de377cee9f6dfcccbe418d185cc7b4 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Tue, 10 Feb 2015 15:25:50 +0100 Subject: Implemented namespace handling --- src/plugins/plain/PlainFormatStreamReader.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/plugins/plain/PlainFormatStreamReader.hpp') diff --git a/src/plugins/plain/PlainFormatStreamReader.hpp b/src/plugins/plain/PlainFormatStreamReader.hpp index a14ca10..2ee261c 100644 --- a/src/plugins/plain/PlainFormatStreamReader.hpp +++ b/src/plugins/plain/PlainFormatStreamReader.hpp @@ -223,8 +223,11 @@ private: * * @param start is the start byte offset of the identifier (including the * backslash). + * @param allowNSSep should be set to true if the namespace separator is + * allowed in the identifier name. Issues error if the namespace separator + * is placed incorrectly. */ - Variant parseIdentifier(size_t start); + Variant parseIdentifier(size_t start, bool allowNSSep = false); /** * Function used internally to handle the special "\begin" command. -- cgit v1.2.3