summaryrefslogtreecommitdiff
path: root/src/plugins/xml/XmlParser.hpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-27 16:01:53 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-27 16:01:53 +0100
commiteb6ecdcc85ece4eb84b90f3c9bb920dc1ad2b6d1 (patch)
treecaaaaa969471552a13f5315a3de6e9db15b02a8b /src/plugins/xml/XmlParser.hpp
parent07d326d02415467ba7f5f238a8e72a9e4b7f1549 (diff)
Parsers do no longer return the node they have parsed (as this may be ill-defined -- if a parser only parses a partial document via include, there may be many to no nodes that are returned). Parsers should just use the ParserScope.push funciton. All nodes pushed onto the top-level of the ParserScope are added treated as the nodes the parser has parsed. Adapted all code and all tests accordingly.
Diffstat (limited to 'src/plugins/xml/XmlParser.hpp')
-rw-r--r--src/plugins/xml/XmlParser.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/xml/XmlParser.hpp b/src/plugins/xml/XmlParser.hpp
index 3c0ffb7..c8b6302 100644
--- a/src/plugins/xml/XmlParser.hpp
+++ b/src/plugins/xml/XmlParser.hpp
@@ -46,7 +46,7 @@ protected:
* @param ctx is a reference to the ParserContext instance that should be
* used.
*/
- Rooted<Node> doParse(CharReader &reader, ParserContext &ctx) override;
+ void doParse(CharReader &reader, ParserContext &ctx) override;
};
}