2011/8/26 Adonis Papaderos <ado.papas@...1244...>:
On Fri, 2011-08-26 at 14:08 +0200, the Adib wrote:
Hello,
I would recoomend to stick to the standard rather old code behaviour. So an "automatic" conversion of old type to new type on load makes absolute sense.
Automatic conversion, unfortunatelly, will result in a forward compatibility problem.
There's a simple solution: write the new offset XML in such a way that old Inkscape versions will detect them as normal paths. It can be done using e.g. svg:switch, or a magic path type. Old version will lose some editing capabilities, but we only have to maintain a one-way conversion.
We have to do the same with guides and 3D boxes. Old guides store their anchor point in desktop coordinates. We can just change all sodipodi:guideline to inkscape:guideline when loading - old Inkscapes will ignore those elements while new ones will display it correctly.
Regards, Krzysztof