From e68c220586dfd1f14283def578c4c4ef109baed4 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Mon, 26 Jan 2015 00:30:17 +0100 Subject: Moving code for deferred Resolution and validation to "LINK" mode of Parser -> this causes these operations whenever the top-level scope instance is destroyed, which is the last possible point at which deferred resolution can take place. Validation must come after deferred resolution. --- src/plugins/xml/XmlParser.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/plugins/xml/XmlParser.cpp') diff --git a/src/plugins/xml/XmlParser.cpp b/src/plugins/xml/XmlParser.cpp index 5ab0c90..3831b3d 100644 --- a/src/plugins/xml/XmlParser.cpp +++ b/src/plugins/xml/XmlParser.cpp @@ -62,9 +62,6 @@ public: void end() override { - scope().performDeferredResolution(logger()); - // TODO: Automatically call validate in "pop"? - scope().getLeaf()->validate(logger()); scope().pop(); } -- cgit v1.2.3