Hi,
I have objects with custom tags like:
peg:range
But sometimes inkscape removes all the "peg:" parts.
When I ctrl+c an object and past it, the same effect happens.
This is annoying as I have to setup tons of objects again.
inkscape removes parts of tags
Re: inkscape removes parts of tags
Hello
I already had the same problem. I made an svg with inkscape and than added a namespace to this. After reopening and saving it with inkscape, the namespace was deleted. After using this namespace for even a single attribute the namespace and the attribute was not deleted anymore.
When I opened the SVG in Inkscape an simultaneously in notepad++ all the changes i made with notepad++ (saved them there) where discarded when i saved the file with inkscape. So Inkscape does not care about changes made by another program and does not prevent other programs to change the file while it is opened. I uses the latest release under windows.
greetings philipp
I already had the same problem. I made an svg with inkscape and than added a namespace to this. After reopening and saving it with inkscape, the namespace was deleted. After using this namespace for even a single attribute the namespace and the attribute was not deleted anymore.
When I opened the SVG in Inkscape an simultaneously in notepad++ all the changes i made with notepad++ (saved them there) where discarded when i saved the file with inkscape. So Inkscape does not care about changes made by another program and does not prevent other programs to change the file while it is opened. I uses the latest release under windows.
greetings philipp
Re: inkscape removes parts of tags
Seems related to this problem of adding/editing the svg xmlns attribute from an extension(?): viewtopic.php?f=22&t=1055
I suppose a temporary fix would be to remove the colon and then use something like xslt to transform back to the correct attribute namespace:name. This might need to be a post-inkscape process, if it doesn't work as an xslt extension (as the link above suggests).
I suppose a temporary fix would be to remove the colon and then use something like xslt to transform back to the correct attribute namespace:name. This might need to be a post-inkscape process, if it doesn't work as an xslt extension (as the link above suggests).
Re: inkscape removes parts of tags
LiquidAsh wrote:Seems related to this problem of adding/editing the svg xmlns attribute from an extension(?): viewtopic.php?f=22&t=1055
I suppose a temporary fix would be to remove the colon and then use something like xslt to transform back to the correct attribute namespace:name. This might need to be a post-inkscape process, if it doesn't work as an xslt extension (as the link above suggests).
Well im using Inkscape as a level editor for my project. I'm just making sure the xml data is parsed correctly. Eventually "designers" have to work with it and I don't feel like shoving technical stuff on them.
I guess I will have to do without the namespaces then...=(