From 6fc0e7dcb4a2bd420f453a7dcd2376bb235e6347 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Tue, 24 Feb 2015 10:56:16 +0100 Subject: Fixed problem with XML namespaces being too verbose --- src/plugins/xml/XmlOutput.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/plugins') 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 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() + -- cgit v1.2.3