summaryrefslogtreecommitdiff
path: root/src/plugins/xml
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-24 10:56:16 +0100
committerAndreas Stöckel <andreas@somweyr.de>2015-02-24 10:56:16 +0100
commit6fc0e7dcb4a2bd420f453a7dcd2376bb235e6347 (patch)
tree6c4d36b796d96dca61ad9e6725f182db8ec1be3b /src/plugins/xml
parent8891dea26a1653a003b4171155e155d3aa6689ae (diff)
Fixed problem with XML namespaces being too verbose
Diffstat (limited to 'src/plugins/xml')
-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() +