this came with an update from Inkscape 1.0.1 to 1.2.2 ( Debian 11 to Debian 12)
Most programs have no problem with this, but I use Inkscape to create temlate SVGs that are further processed. This next step is messing up the whole file because of this. If I just delete the line with 'xmlns="http' in a simple text editor, everything works fine. But the line is reinserted everytime I save a file in Inkscape.
For me this looks like a bug, as it looks like this is a messed up version of the following line. If this was intentional it breaks things that previously worked, so there should be a good reason.
How to reproduce:
(clear settings folder)
open Inkscape
select new file
save as test.svg
--> result is as attached
close Inkscape
open test.svg with editor
delete suspicious line
open with Inkscape
save again (use 'save as' because no changes made)
--> strange line is there again
Please ask, if you need any further information.
PS:
I'd have directly filed a bug in GitLab, but they demand a valid mobile number or creditcard details to create an account. I'll not share this private information just to file a bug.
When I save any file (new or existing) there is a strange line in the xmlns section:
xmlns="http://www.w3.org/2000/svg"
so the context looks like this:
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
this came with an update from Inkscape 1.0.1 to 1.2.2 ( Debian 11 to Debian 12)
Most programs have no problem with this, but I use Inkscape to create temlate SVGs that are further processed. This next step is messing up the whole file because of this. If I just delete the line with 'xmlns="http' in a simple text editor, everything works fine. But the line is reinserted everytime I save a file in Inkscape.
For me this looks like a bug, as it looks like this is a messed up version of the following line. If this was intentional it breaks things that previously worked, so there should be a good reason.
How to reproduce:
Please ask, if you need any further information.
PS:
I'd have directly filed a bug in GitLab, but they demand a valid mobile number or creditcard details to create an account. I'll not share this private information just to file a bug.
I never had to provide that stuff for GitLab. 🤔
Try this link: https://gitlab.com/users/sign_up
Seems all my files back to .91.0 have that declaration. Do you have examples directly from 1.0.1 that do not have the line?