diff --git a/src/svg/SvgImport.js b/src/svg/SvgImport.js index 1ba04952..f58c8c02 100644 --- a/src/svg/SvgImport.js +++ b/src/svg/SvgImport.js @@ -445,10 +445,6 @@ new function() { }, {}), { id: function(item, value) { definitions[value] = item; - // Same check used in setName to test if IDs are numeric. Numeric IDs make setName throw an exception. - // Better to duplicate the check than to wrap this in a try block & swallow all other potential exceptions. - if (item.setName && ((+value) + '' !== value)) - item.setName(value); }, 'clip-path': function(item, value) {