diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-25 23:17:08 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-25 23:17:08 +0100 |
commit | 42c840f83dea61a7c10e5de3f255f5d14ea092e7 (patch) | |
tree | f45ba3021f65905966f07d00f309109890657dc3 /src/plugins | |
parent | 2629c62e415e9c02fe73f61c92d8148b8dad5bf9 (diff) |
Use context source id, not reader source id
Diffstat (limited to 'src/plugins')
-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 |