Inkscape.org
Beyond the Basics Bug? irregular 'xmlns=http:[...]'-Tag in files
  1. #1
    uha41 uha41 @uha41
    *

    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:

    • (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.

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    I never had to provide that stuff for GitLab. 🤔

  3. #3
    Tyler Durden Tyler Durden @TylerDurden

    Try this link: https://gitlab.com/users/sign_up

  4. #4
    Tyler Durden Tyler Durden @TylerDurden

    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? 

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Bug? irregular 'xmlns=http:[...]'-Tag in files