Warn on malformed svg file and provide option to try to repair the file
Steps to reproduce:
- Somehow create a malformed svg file (in my case, it was a duplicate of the valid xml)
- Open in Inkscape
- Assume that it is valid xml (since Inkscape opened it)
What happened?
Inkscape opened the file
What should have happened?
Inkscape should have warned about the malformed data (maybe "The file is malformed. Try opening anyway?").
Inkscape Version and Operating System:
- Inkscape Version: Inkscape 0.92.2 5c3e80d, 2017-08-06
- Operating System: Mac OS X
- Operating System version: 10.14.6
$ brew cask info inkscape
inkscape: 0.92.2-1
https://inkscape.org/
/usr/local/Caskroom/inkscape/0.92.2-1,11269 (64B)
From: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/inkscape.rb
==> Name
Inkscape
==> Artifacts
Inkscape.app (App)
/Applications/Inkscape.app/Contents/Resources/bin/inkscape (Binary)
Edited by Jonathan Neuhauser