svgcleaner icon indicating copy to clipboard operation
svgcleaner copied to clipboard

Document didn't have any nodes

Open beeing opened this issue 7 years ago • 5 comments

Hi, I've tried the older svgcleaner 0.6.2 on a pdf which works but on the latest version have the error above.

beeing avatar Nov 27 '17 09:11 beeing

Can you provide an example file?

RazrFalcon avatar Nov 27 '17 09:11 RazrFalcon

Archive.zip I've included both the cleaned (from 0.6.2) and original svg.

beeing avatar Nov 27 '17 09:11 beeing

Explicit namespaces will be supported in the next release.

RazrFalcon avatar Nov 27 '17 09:11 RazrFalcon

Meaning that the nodes error is due to namespaces?

Anyway, thanks for the help. Looking forward to the next release.

beeing avatar Nov 27 '17 09:11 beeing

Yes. Current version of the xml parser doesn't understand that svg:svg is the same as svg. Still, it's a very rare format.

RazrFalcon avatar Nov 27 '17 09:11 RazrFalcon