diff options
Diffstat (limited to 'src/core/parser/stack/DocumentHandler.cpp')
-rw-r--r-- | src/core/parser/stack/DocumentHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/parser/stack/DocumentHandler.cpp b/src/core/parser/stack/DocumentHandler.cpp index e931d8d..26b9b6e 100644 --- a/src/core/parser/stack/DocumentHandler.cpp +++ b/src/core/parser/stack/DocumentHandler.cpp @@ -22,7 +22,7 @@ #include <core/common/Utils.hpp> #include <core/common/VariantReader.hpp> #include <core/model/Document.hpp> -#include <core/model/Domain.hpp> +#include <core/model/Ontology.hpp> #include <core/model/Project.hpp> #include <core/model/Typesystem.hpp> #include <core/parser/utils/TokenizedData.hpp> @@ -234,7 +234,7 @@ bool DocumentChildHandler::startCommand(Variant::mapType &args) throw LoggableException( std::string("An instance of \"") + strct->getName() + "\" is not allowed as child of field \"" + - field->getName() + "\" of descriptor \"" + + field->getNameOrDefaultName() + "\" of descriptor \"" + parent->getDescriptor()->getName() + "\"", location()); } |