diff --git a/src/svg/SvgElement.js b/src/svg/SvgElement.js index 85ba7e43..03e266e8 100644 --- a/src/svg/SvgElement.js +++ b/src/svg/SvgElement.js @@ -18,12 +18,14 @@ var SvgElement = new function() { // SVG related namespaces var svg = 'http://www.w3.org/2000/svg', - xmlns = 'http://www.w3.org/2000/xmlns', - xlink = 'http://www.w3.org/1999/xlink', + xmlns = 'http://www.w3.org/2000/xmlns/', + xlink = 'http://www.w3.org/1999/xlink/', // Mapping of attribute names to required namespaces: attributeNamespace = { href: xlink, - xlink: xmlns + xlink: xmlns, + xmlns: xmlns, + 'xmlns:xlink': xmlns }; function create(tag, attributes, formatter) {