summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/xml/XmlOutput.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/xml/XmlOutput.cpp b/src/plugins/xml/XmlOutput.cpp
index ea1bc30..ace7635 100644
--- a/src/plugins/xml/XmlOutput.cpp
+++ b/src/plugins/xml/XmlOutput.cpp
@@ -60,8 +60,7 @@ void XmlTransformer::writeXml(Handle<Document> doc, std::ostream &out,
// add the import as namespace information to the document node as
// well.
document->getAttributes().emplace(
- std::string("xmlns:") + d->getName(),
- import->getAttributes()["src"]);
+ std::string("xmlns:") + d->getName(), d->getName());
} else {
logger.warning(std::string(
"The location of domain \"" + d->getName() +