diff options
-rw-r--r-- | src/plugins/xml/XmlParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/xml/XmlParser.cpp b/src/plugins/xml/XmlParser.cpp index 17bc470..5ab0c90 100644 --- a/src/plugins/xml/XmlParser.cpp +++ b/src/plugins/xml/XmlParser.cpp @@ -328,7 +328,7 @@ Rooted<Node> XmlParser::doParse(CharReader &reader, ParserContext &ctx) XML_Error code = XML_GetErrorCode(&p); std::string msg = std::string{XML_ErrorString(code)}; throw LoggableException{"XML: " + msg, - SourceLocation{reader.getSourceId(), offs}}; + SourceLocation{ctx.getSourceId(), offs}}; } // Abort once there are no more bytes in the stream |